Cleanup whitespace
This commit is contained in:
parent
037baee163
commit
1f7121db14
24
config.org
24
config.org
@ -220,32 +220,32 @@
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** HTML
|
*** HTML
|
||||||
=htmlize= is needed for decent HTML exporting, but there is no need
|
=htmlize= is needed for decent HTML exporting, but there is no need
|
||||||
for all that stuff at the bottom.
|
for all that stuff at the bottom.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package htmlize)
|
(use-package htmlize)
|
||||||
(setq org-html-postamble nil)
|
(setq org-html-postamble nil)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** LaTeX
|
*** LaTeX
|
||||||
Use =minted= (LaTeX package) to do syntax highlighting in code blocks:
|
Use =minted= (LaTeX package) to do syntax highlighting in code blocks:
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-to-list 'org-latex-packages-alist '("" "minted"))
|
(add-to-list 'org-latex-packages-alist '("" "minted"))
|
||||||
(setq org-latex-listings 'minted)
|
(setq org-latex-listings 'minted)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
=minted= actually calls =pygments= through the shell, which =pdflatex=
|
=minted= actually calls =pygments= through the shell, which =pdflatex=
|
||||||
doesn't like; you have to tell it not to worry, and that everything is
|
doesn't like; you have to tell it not to worry, and that everything is
|
||||||
going to be OK.
|
going to be OK.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-latex-pdf-process
|
(setq org-latex-pdf-process
|
||||||
'("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
'("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
||||||
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
||||||
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Roam
|
** Roam
|
||||||
A Zettelkasten in org mode? Yes please. It does need =sqlite3=
|
A Zettelkasten in org mode? Yes please. It does need =sqlite3=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user