From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: BUG: ox-latex export pdf options issue Date: Thu, 29 Jun 2017 14:28:26 +0200 Message-ID: <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]:58823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQYYl-00062l-P8 for emacs-orgmode@gnu.org; Thu, 29 Jun 2017 08:28:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQYYj-00065X-5v for emacs-orgmode@gnu.org; Thu, 29 Jun 2017 08:28:35 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:34346 helo=smtp.mpip-mainz.mpg.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQYYi-00062D-Ui for emacs-orgmode@gnu.org; Thu, 29 Jun 2017 08:28:33 -0400 Received: from pckr186.mpip-mainz.mpg.de (pckr186.mpip-mainz.mpg.de [10.20.70.26]) by smtp.mpip-mainz.mpg.de (Postfix) with ESMTPSA id B0CF7BED for ; Thu, 29 Jun 2017 14:28:26 +0200 (CEST) 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 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: