Skip to content
Snippets Groups Projects
Commit c5e5a2a4 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Fix latex export in org mode and configure compilation buffer

parent 5292e2cd
No related branches found
No related tags found
No related merge requests found
...@@ -450,7 +450,7 @@ org with contributed packages added. ...@@ -450,7 +450,7 @@ org with contributed packages added.
("h" . emacs) ("h" . emacs)
)) ))
;; Define the right latexmk command to export to latex ;; Define the right latexmk command to export to latex
(org-latex-pdf-process (list "latexmk -pdflatex='pdflatex -shell-escape -interaction nonstopmode' -output-directory=%o -pdf %f")) (org-latex-pdf-process (list "latexmk -f -pdf -%latex='%latex -shell-escape' -interaction=nonstopmode -output-directory=%o %b"))
;; Task management configuration ;; Task management configuration
(org-log-done 'time) (org-log-done 'time)
...@@ -825,6 +825,12 @@ starts by configuring [[https://emacs-lsp.github.io/lsp-mode/][LSP]] which allow ...@@ -825,6 +825,12 @@ starts by configuring [[https://emacs-lsp.github.io/lsp-mode/][LSP]] which allow
information from a language server dedicated to the programming information from a language server dedicated to the programming
language currently in use. language currently in use.
First, configure the compilation buffer so that it scrolls to the end or to the first encountered
error if any
#+begin_src emacs-lisp
(setq compilation-scroll-output 'first-error)
#+end_src
** LSP ** LSP
#+begin_src emacs-lisp #+begin_src emacs-lisp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment