Improve the Org-mode customization documentation

This commit is contained in:
Gerard Vermeulen 2022-11-07 12:20:41 +01:00
parent 8c5d751af1
commit 4311d9a6f9
1 changed files with 11 additions and 10 deletions

View File

@ -1952,12 +1952,14 @@ zeromatrix zmat")))
:CUSTOM_ID: sec:customize-org
:END:
Listing [[lst:customize-org-babel]], [[lst:customize-org]], [[lst:customize-org-link]] does
basic customization of [[https://orgmode.org/][Org-mode]] variables. In addition, listing
[[lst:customize-org-babel]] selects the Python interpreter by means of
src_emacs-lisp{(choose-common-python-interpreter)} defined in listing
[[lst:choose-common-python-interpreter]]. Listing [[lst:customize-org-for-lualatex-export]],
and [[lst:customize-ox-latex-for-lualatex-export]] configure [[https://orgmode.org/][Org-mode]] for export to
Listing [[lst:customize-org-babel]], [[lst:customize-org]], [[lst:customize-org-src]],
[[lst:customize-org-link]] does basic customization of [[https://orgmode.org/][Org-mode]] variables, where
listing [[lst:customize-org-src]] facilitates [[info:org#Editing Source Code][editing Python source code blocks]]. In
addition, listing [[lst:customize-org-babel]] selects the Python interpreter by
means of src_emacs-lisp{(choose-common-python-interpreter)} defined in listing
[[lst:choose-common-python-interpreter]]. Listing
[[lst:customize-org-for-lualatex-export]], and
[[lst:customize-ox-latex-for-lualatex-export]] configure [[https://orgmode.org/][Org-mode]] for export to
LuaLaTeX. Listing [[lst:customize-ob-python]] allows to pretty-print Python session
source block values with [[https://github.com/psf/black#readme][black]] instead of [[https://docs.python.org/3/library/pprint.html][pprint]]. Listing
[[lst:customize-org-link]] configures =org-link= to use relative file path links.
@ -2097,10 +2099,9 @@ else:
("v" . "verse")))))
#+end_src
#+caption[Configure =org-src=]:
#+caption: Configure =org-src=.
#+name: lst:configure-org-src
#+caption[Customize =org-src=]:
#+caption: Customize =org-src=.
#+name: lst:customize-org-src
#+begin_src emacs-lisp
(with-eval-after-load 'org-src
(custom-set-variables