From d9551cf2281eb26063d22f1e4bd622a708b961f5 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 28 Oct 2024 16:48:48 +0100 Subject: [PATCH] Remove latex options --- init.el | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/init.el b/init.el index 591811e7..c71a3748 100755 --- a/init.el +++ b/init.el @@ -1652,14 +1652,7 @@ Uses `mk/hyperspec-dir-locations' to find the directory." (org-agenda-custom-commands '(("p" "Projects" ((tags "PROJECT"))))) - (org-latex-packages-alist - '(("" "listings") - ("" "booktabs") - ("AUTO" "polyglossia" t ("xelatex" "lualatex")) - ("" "grffile") - ("" "unicode-math") - ("" "xcolor") - ("expansion,protrusion=true" "microtype"))) + (org-latex-packages-alist nil) ;; Define the process to convert Org to PDF using XeLaTeX (org-latex-pdf-process '("latexmk -lualatex -shell-escape -quiet -f %f")) ;; Set the compiler to XeLaTeX @@ -1667,27 +1660,10 @@ Uses `mk/hyperspec-dir-locations' to find the directory." (org-latex-tables-booktabs t) (org-latex-images-centered t) ;; Enable listings and other table-related features - (org-latex-listings t) + (org-latex-listings nil) (org-latex-src-block-backend 'listings) ;; Customize the appearance of listings (source code blocks) - (org-latex-listings-options - '(("basicstyle" "\\ttfamily\\color[rgb]{0.30, 0.34, 0.42}") ; nord3 - ("showstringspaces" "false") - ("keywordstyle" "\\color[rgb]{0.23, 0.26, 0.32}\\textbf") ; nord1 - ("commentstyle" "\\color[rgb]{0.26, 0.30, 0.37}") ; nord2 - ("stringstyle" "\\color[rgb]{0.18, 0.20, 0.25}") ; nord0 - ("frame" "single") - ("numbers" "left") - ("numbersep" "5pt") - ("numberstyle" "\\ttfamily\\color[rgb]{0.30, 0.34, 0.42}") ; nord3 - ("keepspaces" "true") - ("showspaces" "false") - ("showstringspaces" "false") - ("showtabs" "false") - ("breaklines" "true") - ("breakatwhitespace" "false") - ("tabsize" "2") - ("columns" "fullflexible"))) + (org-latex-listings-options nil) (org-latex-inputenc-alist '((\"utf8\" . \"utf8x\"))) :config (add-to-list 'org-file-apps '("\\.pdf\\'" . emacs)) @@ -1729,7 +1705,6 @@ Uses `mk/hyperspec-dir-locations' to find the directory." (add-to-list 'org-latex-classes '("koma-general" "\\documentclass[a4paper,10pt,captions=tableheading,twoside=false]{scrartcl} -\\linespread{1.25} % ~/.emacs.d/texmf/tex/latex/mycustomstyles/ \\usepackage{komageneral}" ("\\section{%s}" . "\\section*{%s}")