From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Control links in LaTeX export Date: Mon, 27 Jan 2014 09:48:12 -0500 Message-ID: <87txcpcwgj.fsf@andrew.cmu.edu> References: <86zjmhmr6v.wl%keno.ss57@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7nU8-0000Nv-6o for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:48:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7nU0-0006Rh-TY for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:48:24 -0500 Received: from smtp.andrew.cmu.edu ([128.2.105.202]:56306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7nU0-0006RW-Oy for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:48:16 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken Okada Cc: emacs-orgmode@gnu.org 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