emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG: ox-latex export pdf options issue
@ 2017-06-29 12:28 Robert Klein
  2017-06-30 15:32 ` Robert Klein
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Klein @ 2017-06-29 12:28 UTC (permalink / raw)
  To: emacs-orgmode

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:

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: BUG: ox-latex export pdf options issue
  2017-06-29 12:28 BUG: ox-latex export pdf options issue Robert Klein
@ 2017-06-30 15:32 ` Robert Klein
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Klein @ 2017-06-30 15:32 UTC (permalink / raw)
  To: emacs-orgmode

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:
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-30 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29 12:28 BUG: ox-latex export pdf options issue Robert Klein
2017-06-30 15:32 ` Robert Klein

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).