From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Ken Okada <keno.ss57@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Control links in LaTeX export
Date: Mon, 27 Jan 2014 09:48:12 -0500 [thread overview]
Message-ID: <87txcpcwgj.fsf@andrew.cmu.edu> (raw)
In-Reply-To: 86zjmhmr6v.wl%keno.ss57@gmail.com
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
next prev parent reply other threads:[~2014-01-27 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 14:31 Control links in LaTeX export Ken Okada
2014-01-27 14:48 ` John Kitchin [this message]
2014-01-27 16:42 ` Ken Okada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87txcpcwgj.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=keno.ss57@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).