Compare commits

...

4 Commits

1 changed files with 25 additions and 4 deletions

View File

@ -701,6 +701,14 @@ verse and quote blocks are fontified using the `org-verse' and
(add-hook 'prog-mode-hook #'set-buffer-fixed-pitch-face)
#+end_src
#+caption[Setup ~visual-line-mode~]:
#+caption: Setup ~visual-line-mode~.
#+name: lst:setup-visual-line-mode
#+begin_src emacs-lisp -n :results silent
(when (fboundp 'visual-wrap-prefix-mode)
(add-hook 'visual-line-mode-hook 'visual-wrap-prefix-mode))
#+end_src
* [[info:emacs#Windows][Window management (info)]]
:PROPERTIES:
:CUSTOM_ID: sec:window-management
@ -2783,8 +2791,7 @@ def __org_babel_python_format_value(result, result_file, result_params):
org-latex-pdf-process (list (concat "latexmk -f -pdf -%latex"
" -interaction=nonstopmode"
" -shell-escape -outdir=%o %f"))
org-latex-prefer-user-labels t
org-latex-subtitle-separate t))
org-latex-prefer-user-labels t))
#+end_src
#+caption[Setup =org-latex-classes= for backwards compatibility]:
@ -3501,6 +3508,20 @@ environments and non-floating breakable LaTeX environments by means of
(smart-latex-engrave-org-source-blocks)))
#+end_src
#+caption[Set ~org-latex-src-block-backend~]:
#+caption: Set ~org-latex-src-block-backend~.
#+name: lst:set-org-latex-src-block-backend
#+begin_src emacs-lisp -n :results silent
(defun set-org-latex-src-block-backend ()
"Set the LaTeX export backend which generates source code listings."
(interactive)
(when (require 'ox-latex nil 'noerror)
(let ((choice (completing-read
"Backend: " '(verbatim listings minted engraved) nil t)))
(setopt org-latex-src-block-backend (intern-soft choice)))
(org-babel-execute-named-block nil)))
#+end_src
*** [[https://oer.gitlab.io/org-re-reveal/Readme.html][Org-re-reveal]] :noexport:
:PROPERTIES:
:CUSTOM_ID: sec:org-re-reveal
@ -4229,13 +4250,13 @@ in [[info:org#Export Settings][#+INCLUDE: <FILE>]] files.
(defun org-babel-execute:latex-extra-header (body _params)
"Execute a block of LaTeX extra header lines with org-babel.
This function is called by `org-babel-execute-src-block' and
Calling `org-babel-execute-src-block' calls this function and
prefixes all lines with \"#+latex_extra_header: \"."
(prefix-all-lines "#+latex_extra_header: " body))
(defun org-babel-execute:latex-header (body _params)
"Execute a block of LaTeX header lines with org-babel.
This function is called by `org-babel-execute-src-block' and
Calling `org-babel-execute-src-block' calls this function and
prefixes all lines with \"#+latex_header: \"."
(prefix-all-lines "#+latex_header: " body))