Add functions for ASAL exporting
This commit is contained in:
parent
d569665412
commit
a222e03bc5
3 changed files with 61 additions and 4 deletions
25
config.org
25
config.org
|
@ -491,13 +491,32 @@ Export non-breaking spaces properly; from, believe it or not, [[https://orgmode.
|
|||
(when (org-export-derived-backend-p backend 'html)
|
||||
(replace-regexp-in-string " " " " text)))
|
||||
(add-to-list 'org-export-filter-plain-text-functions
|
||||
'my-html-filter-nobreaks))
|
||||
'my-html-filter-nobreaks)
|
||||
(defun my-latex-filter-nobreaks (text backend info)
|
||||
(when (org-export-derived-backend-p backend 'latex)
|
||||
(replace-regexp-in-string " " "~" text)))
|
||||
(add-to-list 'org-export-filter-plain-text-functions
|
||||
'my-latex-filter-nobreaks))
|
||||
#+END_SRC
|
||||
|
||||
Track when I complete todos.
|
||||
Add the =memoir= class for LaTeX export.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-log-done 'time)
|
||||
(unless (version< emacs-version "27")
|
||||
(add-to-list 'org-latex-classes
|
||||
'("memoir"
|
||||
"\\documentclass{memoir}
|
||||
[NO-DEFAULT-PACKAGES]"
|
||||
("\\chapter{%s}" . "\\chapter*{%s}")
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
|
||||
#+END_SRC
|
||||
|
||||
Track when I complete todos.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-log-done 'time)
|
||||
#+END_SRC
|
||||
|
||||
*** Packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue