emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX export question
@ 2013-08-20 15:50 Scott Randby
  2013-08-20 16:02 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Randby @ 2013-08-20 15:50 UTC (permalink / raw)
  To: emacs-orgmode

Whenever I export an org file to LaTeX, the LaTeX file always gives me
these lines in the preamble right before \begin{document} (name these
lines Block 1):

\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={}}

I'd like Block 1 to not appear when I export because I give values to
its options in my org file as follows:

#+LATEX_HEADER: \hypersetup{pdfauthor={Scott}, pdftitle={Title},
 pdfsubject={Subject}, pdfkeywords={Key}, pdfproducer={Emacs Org},
 pdfcreator={Creator}}

The above header is exported properly, but it appears before Block 1 in
the preamble of the LaTeX file which means its values are overridden by
the values of Block 1. Hence no keywords, subject, or creator in the
resulting PDF unless I edit the LaTeX file and delete Block 1.

How do I stop the appearance of Block 1 when I export an org file to
LaTeX? I'd rather not be forced to edit the LaTeX file before I make a
PDF.

Scott Randby

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

* Re: LaTeX export question
  2013-08-20 15:50 LaTeX export question Scott Randby
@ 2013-08-20 16:02 ` Thomas S. Dye
  2013-08-20 16:20   ` Scott Randby
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2013-08-20 16:02 UTC (permalink / raw)
  To: Scott Randby; +Cc: emacs-orgmode

Aloha Scott,

Scott Randby <srandby@gmail.com> writes:

> Whenever I export an org file to LaTeX, the LaTeX file always gives me
> these lines in the preamble right before \begin{document} (name these
> lines Block 1):
>
> \hypersetup{
>   pdfkeywords={},
>   pdfsubject={},
>   pdfcreator={}}
>
> I'd like Block 1 to not appear when I export because I give values to
> its options in my org file as follows:

  (setq org-latex-with-hyperref nil)

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: LaTeX export question
  2013-08-20 16:02 ` Thomas S. Dye
@ 2013-08-20 16:20   ` Scott Randby
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Randby @ 2013-08-20 16:20 UTC (permalink / raw)
  To: emacs-orgmode

On 08/20/2013 12:02 PM, Thomas S. Dye wrote:
> Aloha Scott,
> 
> Scott Randby <srandby@gmail.com> writes:
> 
>> Whenever I export an org file to LaTeX, the LaTeX file always gives me
>> these lines in the preamble right before \begin{document} (name these
>> lines Block 1):
>>
>> \hypersetup{
>>   pdfkeywords={},
>>   pdfsubject={},
>>   pdfcreator={}}
>>
>> I'd like Block 1 to not appear when I export because I give values to
>> its options in my org file as follows:
> 
>   (setq org-latex-with-hyperref nil)
> 
> hth,
> Tom
> 

Thanks.

Scott

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

end of thread, other threads:[~2013-08-20 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-20 15:50 LaTeX export question Scott Randby
2013-08-20 16:02 ` Thomas S. Dye
2013-08-20 16:20   ` Scott Randby

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