[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Control links in LaTeX export
From: |
John Kitchin |
Subject: |
Re: [O] Control links in LaTeX export |
Date: |
Mon, 27 Jan 2014 09:48:12 -0500 |
I often use code like this to temporarily set variables for export:
#+BEGIN_SRC emacs-lisp :results output
(let ((org-latex-listings 'minted)
(org-latex-custom-lang-environments
'((python "pythoncode")))
(org-latex-minted-options
'(("frame" "lines")
("fontsize" "\\scriptsize")
("linenos" "")))
(org-latex-title-command "") ; avoids getting \maketitle right after
\begin{document}
(org-latex-default-figure-position "H") ; needed here because there are
so many floats
(async nil)
(subtreep nil)
(visible-only nil)
(body-only nil))
(org-latex-export-to-latex async subtreep visible-only body-only
'(:with-author nil
:with-date nil
:with-title nil
:with-toc nil)))
#+END_SRC
This is specific to org 8+, but you could do similar things for org7. I
can't help on the more flexible formatting.
John