Localize org-mode customization; use expert org-export-dispatch UI

This commit is contained in:
Gerard Vermeulen 2022-05-03 08:13:39 +02:00
parent 47fb192179
commit 95fd1a23ea

View File

@ -1491,12 +1491,14 @@ LaTeX =BiBTeX= dialect for backwards compatibility. Listing
:CUSTOM_ID: sec:customize-org :CUSTOM_ID: sec:customize-org
:END: :END:
The code in listing [[lst:customize-org-babel]], [[lst:customize-org]], and The code in listing [[lst:customize-org-babel]], [[lst:customize-org]],
[[lst:customize-org-export]] does basic customization of [[https://orgmode.org/][Org-mode]] variables. [[lst:customize-org-link]], [[lst:customize-org-export]], and
Listing [[lst:customize-org-latex-classes]] defines [[info:org#LaTeX specific export settings][org-latex-classes (info)]] for [[lst:customize-org-latex-export]] does basic customization of [[https://orgmode.org/][Org-mode]] variables.
backward compatibility. See table [[tab:org-latex-class-tag-placeholder]] and type Listing [[lst:customize-org-link]] configures =org-link= to use relative file path
{{{kbd(C-h v org-latex-classes)}}} for an explanation of the code in listing links. Listing [[lst:customize-org-latex-classes]] defines [[info:org#LaTeX specific export settings][org-latex-classes (info)]]
[[lst:customize-org-latex-classes]]. for backward compatibility. See table [[tab:org-latex-class-tag-placeholder]] and
type {{{kbd(C-h v org-latex-classes)}}} for an explanation of the code in
listing [[lst:customize-org-latex-classes]].
#+attr_latex: :booktabs yes :float table #+attr_latex: :booktabs yes :float table
#+caption[The relation tag-placeholder in listing [[lst:customize-org-latex-classes]]]: #+caption[The relation tag-placeholder in listing [[lst:customize-org-latex-classes]]]:
@ -1613,9 +1615,27 @@ backward compatibility. See table [[tab:org-latex-class-tag-placeholder]] and ty
(define-key org-mode-map (kbd "C-c m") 'org-menu)))) (define-key org-mode-map (kbd "C-c m") 'org-menu))))
#+end_src #+end_src
#+caption[Customize =org-link=]:
#+caption: Customize =org-link=.
#+name: lst:customize-org-link
#+begin_src emacs-lisp
(with-eval-after-load 'ol
(custom-set-variables
'(org-link-file-path-type 'relative)))
#+end_src
#+caption[Customize =org-export=]: #+caption[Customize =org-export=]:
#+caption: Customize =org-export=. #+caption: Customize =org-export=.
#+name: lst:customize-org-export #+name: lst:customize-org-export
#+begin_src emacs-lisp
(with-eval-after-load 'ox
(custom-set-variables
'(org-export-dispatch-use-expert-ui t)))
#+end_src
#+caption[Customize =org-latex-export=]:
#+caption: Customize =org-latex-export=.
#+name: lst:customize-org-latex-export
#+begin_src emacs-lisp #+begin_src emacs-lisp
(with-eval-after-load 'ox-latex (with-eval-after-load 'ox-latex
(custom-set-variables (custom-set-variables
@ -1773,18 +1793,6 @@ valid directories and files. In an [[https://orgmode.org/][Org-mode]] buffer th
:CUSTOM_ID: sec:making-org-hyperlink-types :CUSTOM_ID: sec:making-org-hyperlink-types
:END: :END:
Listing [[lst:customize-org-link]] configures =org-link= to use relative file path
links.
#+caption[Customize =org-link=]:
#+caption: Customize =org-link=.
#+name: lst:customize-org-link
#+begin_src emacs-lisp
(with-eval-after-load 'ol
(custom-set-variables
'(org-link-file-path-type 'relative)))
#+end_src
Listing [[lst:org-ref-like-org-link-types]] defines =org-link= types for backwards Listing [[lst:org-ref-like-org-link-types]] defines =org-link= types for backwards
compatibility with [[https://github.com/jkitchin/org-ref][org-ref]]. Listing [[lst:define-org-pdfview-link-type]] uses ideas compatibility with [[https://github.com/jkitchin/org-ref][org-ref]]. Listing [[lst:define-org-pdfview-link-type]] uses ideas
from the definition of =docview-org-link= and =doi-org-link= types to define an from the definition of =docview-org-link= and =doi-org-link= types to define an