Switch back to listings for code snippets
This commit is contained in:
parent
50c38e2e77
commit
09030736c5
5 changed files with 38 additions and 12 deletions
|
@ -5,11 +5,26 @@
|
|||
("\\section{%s}" . "\\addsec{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
|
||||
(org-latex-src-block-backend . minted)
|
||||
(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-prefer-user-labels . t)
|
||||
(org-html-prefer-user-labels . t)
|
||||
(org-latex-toc-command . "\\frontmatter\n\\addchap{Table of Contents}\n\\label{chap:toc}\n\\listoftoc*{toc}\n\n")
|
||||
(org-latex-pdf-process . ("latexmk -f -pdf -%latex -interaction=nonstopmode -shell-escape -output-directory=%o %f"))
|
||||
(fill-column . 200)))
|
||||
(org-mode . ((eval . (progn (visual-line-mode)
|
||||
(org-toggle-link-display)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue