Compare commits
2 Commits
c408bdb50d
...
58d9e9a2ca
Author | SHA1 | Date | |
---|---|---|---|
58d9e9a2ca | |||
8602371251 |
15
README.org
15
README.org
@ -2621,7 +2621,7 @@ region becomes the block BODY. Otherwise, insert an empty block."
|
||||
(end-of-line)))))
|
||||
|
||||
(with-eval-after-load 'org
|
||||
(keymap-set org-mode-map "C-c C-;" #'org-insert-source-block))
|
||||
(keymap-set org-mode-map "C-c C-;" #'org-insert-source-block))
|
||||
#+end_src
|
||||
|
||||
#+caption[Setup =org-src=]:
|
||||
@ -4341,7 +4341,7 @@ exporting from Org-mode to LaTeX.
|
||||
(when (require 'ox-latex nil 'noerror)
|
||||
;; https://emacs.stackexchange.com/questions/47347/
|
||||
;; customizing-org-latex-title-command-to-edit-title-page
|
||||
(make-variable-buffer-local 'org-latex-classes)
|
||||
(make-local-variable 'org-latex-classes)
|
||||
(cl-pushnew '("article-local"
|
||||
"\\documentclass[11pt]{article}
|
||||
[NO-DEFAULT-PACKAGES]
|
||||
@ -4354,19 +4354,14 @@ exporting from Org-mode to LaTeX.
|
||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
|
||||
org-latex-classes :key #'car :test #'equal)
|
||||
|
||||
(make-variable-buffer-local 'org-latex-title-command)
|
||||
(setq org-latex-title-command (concat title-page))
|
||||
|
||||
(make-variable-buffer-local 'org-latex-toc-command)
|
||||
(setq org-latex-toc-command "
|
||||
(setq-local org-latex-title-command (concat title-page))
|
||||
(setq-local org-latex-toc-command "
|
||||
\\tableofcontents\\label{toc}
|
||||
\\listoflistings
|
||||
\\listoftables
|
||||
\\newpage
|
||||
")
|
||||
|
||||
(make-variable-buffer-local 'org-latex-subtitle-format)
|
||||
(setq org-latex-subtitle-format ""))
|
||||
(setq-local org-latex-subtitle-format ""))
|
||||
#+end_src
|
||||
|
||||
#+caption[Show a title-page example for =org-latex-title-command=]:
|
||||
|
Loading…
Reference in New Issue
Block a user