How to convert org to PDF

  |   Source

Install TexLive. The org-mode has some handy function to locate the TexLive. Press C-c C-e p to convert.

At Cygwin and Linux, installing TexLive could be installed by their package system.

At macOS, I use the TexLive source package (install-tl-unx.tar.gz). After installation, environment varaibles need be set.

Bash shell requires setup in ~/.bashrc,

if [[ `uname -s` == *Darwin* ]]; then
   #tex live on OS X
   export PATH=/usr/local/texlive/2011/bin/universal-darwin:$PATH
   export MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPAH
   export INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH
Comments powered by Disqus