Switch back to minted for listings

This commit is contained in:
Charlotte Van Petegem 2024-01-16 14:51:35 +01:00
parent c7daf11c77
commit f3f4e2a6f4
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 23 additions and 37 deletions

View file

@ -14,23 +14,7 @@
("\\section{%s}" . "\\addsec{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
org-latex-src-block-backend 'listings
org-latex-listings-options '(("backgroundcolor" "\\color{white}")
("commentstyle" "\\color{green}")
("keywordstyle" "\\color{magenta}")
("numberstyle" "\\color{gray}")
("stringstyle" "\\color{purple}")
("basicstyle" "\\ttfamily")
("breakatwhitespace" "false")
("breaklines" "true")
("captionpos" "b")
("keepspaces" "true")
("numbers" "left")
("numbersep" "5pt")
("showspaces" "false")
("showstringspaces" "false")
("showtabs" "false")
("tabsize" "2"))
org-latex-src-block-backend 'minted
org-latex-prefer-user-labels t
org-latex-toc-command "\\frontmatter\n\\addchap{Table of Contents}\n\\label{chap:toc}\n\\listoftoc*{toc}\n\n")