From b9cf1441dd024da4ba2b5a65c55cda80cf55bf48 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 22 May 2022 17:40:01 +0200 Subject: [PATCH] Remove obsolete configuration for ox-latex Not using it anymore. --- init.el | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) diff --git a/init.el b/init.el index ab9c03e..c47243e 100644 --- a/init.el +++ b/init.el @@ -1277,60 +1277,6 @@ (require 'ox-md) (require 'ox-pandoc))) -(use-package ox-latex - :init (setq org-latex-default-class "scrartcl" - org-latex-listings t - org-latex-compiler "lualatex") - :config (progn - (add-to-list 'org-latex-classes - `("scrartcl" - ,(concat "\\documentclass[parskip=half,colorlinks]{scrartcl}\n" - "[DEFAULT-PACKAGES]" - "[PACKAGES]" - " -\\lstset{ - basewidth=0.5em, - keywordstyle=\\textcolor{blue!80!white}, - basicstyle=\\ttfamily, - commentstyle={\\itshape}, - frame=tb, - showspaces=false, - showtabs=false, - showstringspaces=false, -} -" - "[EXTRA]\n") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}") - ("\\paragraph{%s}" . "\\paragraph*{%s}") - ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) - (add-to-list 'org-latex-classes - `("beamer" - ,(concat "\\documentclass[presentation]{beamer}\n" - "[DEFAULT-PACKAGES]" - "[PACKAGES]" - " -\\lstset{ - basewidth=0.5em, - keywordstyle=\\textcolor{blue!80!white}, - basicstyle=\\ttfamily, - commentstyle={\\itshape}, - frame=tb, - showspaces=false, - showtabs=false, - showstringspaces=false, -} -" - "[EXTRA]\n") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) - (add-to-list 'org-latex-packages-alist - '("" "listings")) - (add-to-list 'org-latex-packages-alist - '("" "xcolor")))) - (use-package ox-html :init (setq org-html-postamble nil))