latex export fails to render properly without additional config
hydrobeam opened this issue · comments
Description of Issue
When trying to render a plain org file without any latex config, the export process doesn't succeed and looks like this:
This is the original org file:
- Hello
- This is content
- This is more content
- This is, believe it or not, more content
\(\lambda + \lambda = \lambda\)
But, after pulling in `xcolor like so:
#+latex_header: \usepackage{xcolor}
the output looks a lot cleaner, but there's still some unexpected text (theme is ef-spring
)
The first error in Org PDF Latex Output
is:
! Undefined control sequence.
l.57 \addtokomafont
{title}{\color{documentTitle}}
So, I might be missing a koma-related class, but running :
grep "\.cls" `kpsewhich --var-value TEXMFDIST`/ls-R > $HOME/allcls.txt
showed I had them all. So I started looking through teco's config for something koma related, and pasted the following: https://pastebin.com/NYuFY3Tr into my config, copied from: https://github.com/tecosaur/emacs-config/blob/master/config.org#class-templates