Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7ea9ff5e authored by FELŠÖCI Marek's avatar FELŠÖCI Marek
Browse files

Update latex-publish.el and babel.el

parent 960507da
No related branches found
No related tags found
No related merge requests found
Pipeline #748564 canceled
;; Do not prompt for code block evaluation.
(setq org-confirm-babel-evaluate nil)
(defun org-babel-execute-file (plist filename pub-dir) (defun org-babel-execute-file (plist filename pub-dir)
;; A custom publishing function for executing all Babel source code blocks in ;; A custom publishing function for executing all Babel source code blocks in
;; the Org file `filename'. Note that the function does not actually publish ;; the Org file `filename'. Note that the function does not actually publish
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
(list "latexmk --shell-escape -f -pdf -%latex -interaction=nonstopmode (list "latexmk --shell-escape -f -pdf -%latex -interaction=nonstopmode
-output-directory=%o %f")) -output-directory=%o %f"))
;; Preserve user-defined labels during the export to PDF via LaTeX.
(setq org-latex-prefer-user-labels t)
;; Custom publishing function for LaTeX files. This is useful when we need to ;; Custom publishing function for LaTeX files. This is useful when we need to
;; publish a manually written LaTeX file to PDF (e. g. a poster). ;; publish a manually written LaTeX file to PDF (e. g. a poster).
(defun latex-publish-to-pdf (plist filename pub-dir) (defun latex-publish-to-pdf (plist filename pub-dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment