From: Robert Klein <roklein@roklein.de>
To: emacs-orgmode@gnu.org
Subject: Re: BUG: ox-latex export pdf options issue
Date: Fri, 30 Jun 2017 17:32:03 +0200 [thread overview]
Message-ID: <20170630173203.78addf41@lt70.mpip-mainz.mpg.de> (raw)
In-Reply-To: <20170629142826.2ed53b0c@pckr186.mpip-mainz.mpg.de>
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 <Robert.Klein@mpip-mainz.mpg.de> 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:
>
prev parent reply other threads:[~2017-06-30 15:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 12:28 BUG: ox-latex export pdf options issue Robert Klein
2017-06-30 15:32 ` Robert Klein [this message]
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=20170630173203.78addf41@lt70.mpip-mainz.mpg.de \
--to=roklein@roklein.de \
--cc=emacs-orgmode@gnu.org \
/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).