From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: BUG: ox-latex export pdf options issue Date: Fri, 30 Jun 2017 17:32:03 +0200 Message-ID: <20170630173203.78addf41@lt70.mpip-mainz.mpg.de> References: <20170629142826.2ed53b0c@pckr186.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQxu5-0001kK-ED for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 11:32:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQxu2-0006W9-BN for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 11:32:17 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:64029) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQxu2-0006Uh-0w for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 11:32:14 -0400 Received: from lt70.mpip-mainz.mpg.de ([95.88.107.157]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0M5xcn-1dgiUl3j57-00xrEs for ; Fri, 30 Jun 2017 17:32:10 +0200 In-Reply-To: <20170629142826.2ed53b0c@pckr186.mpip-mainz.mpg.de> 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 Please disregard this. \hypersetup works as it is. I had a +text+ title which put a \sout{} in the pdftitle. That caused a error message about too many }'s from the pdflatex. This I mistook to mean the closing brace of \hypersetup. Sorry about the fuss. Best regards, Robert On Thu, 29 Jun 2017 14:28:26 +0200 Robert Klein wrote: > Hi, > > The Latex \hypersetup options like to be on their own line and hate > when the closing } intrudes on them. > > Patch which puts the closing brace in its place below. > > Best regards > Robert > > > > > diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el > index ec4b49585f8..474f9b6e9c4 100644 > --- a/lisp/ox-latex.el > +++ b/lisp/ox-latex.el > @@ -596,7 +596,7 @@ the toc:nil option, not to those generated with > #+TOC keyword." > (defcustom org-latex-hyperref-template > "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n > pdfkeywords={%k}, > - pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n" > + pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}\n}\n" > "Template for hyperref package options. > > This format string may contain these elements: >