add org article help

This commit is contained in:
2022-05-16 19:20:47 +02:00
parent 47df597a99
commit 3e1f8743bd
2 changed files with 20 additions and 21 deletions

View File

@@ -649,8 +649,6 @@ Currently only one i.e. A.x is possible."
;;; LISTINGS lstlistingname for the caption of listings and lstlistlistingname for the table of listings ;;; LISTINGS lstlistingname for the caption of listings and lstlistlistingname for the table of listings
:lstlistingname-en "\\renewcommand{\\lstlistlistingname}{List of Listings}" :lstlistingname-en "\\renewcommand{\\lstlistlistingname}{List of Listings}"
:lstlistingname-de "\\renewcommand{\\lstlistingname}{Programmausdruck}\\renewcommand{\\lstlistlistingname}{Programmausdrucke}" :lstlistingname-de "\\renewcommand{\\lstlistingname}{Programmausdruck}\\renewcommand{\\lstlistlistingname}{Programmausdrucke}"
:siunitx-en ""
:siunitx-de "\\sisetup{locale = DE}"
) )
"Replacements. "Replacements.
:documentclass-xx used in :documentclass-xx used in
@@ -711,7 +709,6 @@ Replaces <<...>> with values defined in
%<<lstlistingname>> %<<lstlistingname>>
\\def\\nameappendix{Appendix} \\def\\nameappendix{Appendix}
%<<csquotes>> %<<csquotes>>
%<<siunitx>>
" "Preamble options. " "Preamble options.
Inserted after `my-org-article-latex-default-packages-alist'. Inserted after `my-org-article-latex-default-packages-alist'.
Text like <<...>>> will be replaced according to Text like <<...>>> will be replaced according to
@@ -1430,7 +1427,9 @@ Uses also `my-org-article-latex-template-value' with
snippet? snippet?
(mapconcat #'org-element-normalize-string (mapconcat #'org-element-normalize-string
(list (s-replace-all (list (s-replace-all
(list (if (plist-get info :draft) (list
;; if draft is set in keyword options then replace otherwise remove placeholder
(if (plist-get info :article-draft)
(cons "%<<draft>>" (cons "%<<draft>>"
(my-org-article-latex-template-value :draft)) (my-org-article-latex-template-value :draft))
(cons "%<<draft>>" "")) (cons "%<<draft>>" ""))

View File