diff --git a/configuration.org b/configuration.org index b78f5a127560d7d3a904a0aa383d5f6954932854..0fd8d32bcc2836861485475871e2995152ad80c3 100644 --- a/configuration.org +++ b/configuration.org @@ -439,6 +439,31 @@ Add shortcuts to quickly add code blocks using =C-,= '("el" . "src emacs-lisp")) #+end_src +** Latex export + +Use =latexmk= to export to Latex + +#+begin_src emacs-lisp :exports code +(setq org-latex-pdf-process (list "latexmk -pdflatex='pdflatex -shell-escape -interaction nonstopmode' -pdf %f")) +#+end_src + + +Use =org-ref= for citation + +#+begin_src emacs-lisp +(use-package org-ref) +(use-package org-ref-prettify) +#+end_src + + +And use the same shortcut for =org-reftex-citation= than for =reftex-citation= + +#+begin_src emacs-lisp +(define-key org-mode-map (kbd "C-c [") 'org-reftex-citation) +#+end_src + +#+RESULTS: +: org-reftex-citation ** Visuals