From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: LaTeX Export Date: Wed, 9 Aug 2017 22:01:27 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfcn0-0002xp-Jk for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 22:01:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfcmz-0005Kn-8o for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 22:01:34 -0400 Received: from mail-it0-x229.google.com ([2607:f8b0:4001:c0b::229]:35975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfcmz-0005K3-43 for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 22:01:33 -0400 Received: by mail-it0-x229.google.com with SMTP id 77so6574669itj.1 for ; Wed, 09 Aug 2017 19:01:31 -0700 (PDT) Received: from ?IPv6:2605:a000:121e:108:e673:5f28:df8f:f285? ([2605:a000:121e:108:e673:5f28:df8f:f285]) by smtp.gmail.com with ESMTPSA id g16sm909818ita.43.2017.08.09.19.01.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Aug 2017 19:01:29 -0700 (PDT) Content-Language: en-US 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" To: emacs-orgmode@gnu.org I have a file with a large number of top-level headlines. Each subtree corresponding to a top-level headline is exported to its own PDF file. The subtrees all use the same LaTeX headers except for \hypersetup. Right now, I have to uncomment the \hypersetup manually whenever I export a subtree. I would like to have the export engine automatically recognize which \hypersetup to use instead. I tried this in the properties associated with a subtree: :export_latex_header: \hypersetup{pdfauthor={foo},pdftitle={foo},pdfsubject={foo},pdfkeywords={foo},pdfproducer={foo},pdfcreator={foo}} Unfortunately, all the other LaTeX headers are unrecognized when I do this. I could put all of the LaTeX headers in the properties of each subtree, but that would make it difficult to make universal changes to the overall style. Is there some way to do what I want? Something like this? :export_add_latex_header: \hypersetup{pdfauthor={foo},pdftitle={foo},pdfsubject={foo},pdfkeywords={foo},pdfproducer={foo},pdfcreator={foo}} Scott Randby -- Scott Randby srandby@gmail.com http://srandby.org/ PGP key ID: 0xF2D38A63 Key server: http://pool.sks-keyservers.net/ Key fingerprint: 5418 123E DCD3 7DA0 1770 0BDE 301E E657 F2D3 8A63