From 94f04d59d394cd044ccb1f9969390bce8ccb9b65 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Tue, 18 May 2021 20:29:36 +0200 Subject: [PATCH] add for org latex article export german header for list of listings --- README.md | 7 +++++++ README.org | 7 +++++++ lisp/my/my-org-article.el | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5e521976..8f487ff8 100644 --- a/README.md +++ b/README.md @@ -382,16 +382,23 @@ Template for an article :CLEARPAGE: t :END: #+LATEX: \begin{spacing}{1.25}\begingroup\renewcommand*{\addvspace}[1]{} + #+LATEX: \clearpage # #+LATEX: \tableofcontents #+TOC: headlines + #+LATEX: \clearpage #+LATEX: \listoffigures + # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Abbildungsverzeichnis}\listoffigures # #+TOC: figures is not implemented yet in the HTML backend. And not working with LaTeX, see listing # #+TOC: figures + # #+LATEX: \listoftables + # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Tabellenverzeichnis} #+TOC: tables + # for latex listing is figures + # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Programmausdrucke} #+TOC: listings #+LATEX: \endgroup\end{spacing} diff --git a/README.org b/README.org index 1f808de2..40f6b595 100644 --- a/README.org +++ b/README.org @@ -127,16 +127,23 @@ a bunch of online resources. :CLEARPAGE: t :END: ,#+LATEX: \begin{spacing}{1.25}\begingroup\renewcommand*{\addvspace}[1]{} + ,#+LATEX: \clearpage # #+LATEX: \tableofcontents ,#+TOC: headlines + ,#+LATEX: \clearpage ,#+LATEX: \listoffigures + # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Abbildungsverzeichnis}\listoffigures # #+TOC: figures is not implemented yet in the HTML backend. And not working with LaTeX, see listing # #+TOC: figures + # #+LATEX: \listoftables + # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Tabellenverzeichnis} ,#+TOC: tables + # for latex listing is figures + # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Programmausdrucke} ,#+TOC: listings ,#+LATEX: \endgroup\end{spacing} diff --git a/lisp/my/my-org-article.el b/lisp/my/my-org-article.el index 400e08e2..60dae862 100644 --- a/lisp/my/my-org-article.el +++ b/lisp/my/my-org-article.el @@ -554,9 +554,9 @@ points to references.bib") ;; APPENDIX :mtcselectlanguage-en "" :mtcselectlanguage-de "\\mtcselectlanguage{german}" - ;; LISTINGS + ;; LISTINGS lstlistingname for the caption of listings and lstlistlistingname for the table of listings :lstlistingname-en "" - :lstlistingname-de "\\renewcommand{\\lstlistingname}{Programmausdruck}" + :lstlistingname-de "\\renewcommand{\\lstlistingname}{Programmausdruck}\\renewcommand{\\lstlistlistingname}{Programmausdrucke}" ) " :documentclass-xx used in `my-org-article-latex-default-class-options'