How to convert org to PDF

  |   Source

All you need to do is to install TexLive. The org-mode has some handy function to find the TexLive and do the conversion. So all you need to trigger the conversion in Emacs is pressing C-c C-e p'. </p> <p> At Cygwin and Linux, installing TexLive is a piece of cake by using default package system. </p> <p> At Mac, I use <a href="">the default TexLive source package</a> (install-tl-unx.tar.gz). After installation, you need set up environment varaibles. </p> <p> If you use Bash (default at my OS X 10.7.3), you can paste below code to you ~/.bashrc: </p> <pre class="src src-sh"><span style="color: #af00ff;">if</span> [[ <span style="color: #cd00cd;">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 fi

Comments powered by Disqus