Tweak some org-mode export settings
This commit is contained in:
parent
cc6e35f6f4
commit
4ed81e76f7
19
config.org
19
config.org
@ -309,6 +309,12 @@
|
|||||||
(setq org-export-with-toc nil)
|
(setq org-export-with-toc nil)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Also don't want section numbering for similar reasons:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq org-export-with-section-numbers nil)
|
||||||
|
#+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.
|
||||||
@ -318,6 +324,19 @@
|
|||||||
(setq org-html-postamble nil)
|
(setq org-html-postamble nil)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
I like margins and line height:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq org-html-style
|
||||||
|
"<style>
|
||||||
|
body {
|
||||||
|
margin: 3em auto;
|
||||||
|
max-width: 42em;
|
||||||
|
padding: 0 2em;
|
||||||
|
}
|
||||||
|
</style>")
|
||||||
|
#+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:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user