emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Randby <srandby@gmail.com>
To: emacs-orgmode@gnu.org
Subject: LaTeX export question
Date: Tue, 20 Aug 2013 11:50:16 -0400	[thread overview]
Message-ID: <52139038.1070300@gmail.com> (raw)

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

             reply	other threads:[~2013-08-20 15:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 15:50 Scott Randby [this message]
2013-08-20 16:02 ` LaTeX export question Thomas S. Dye
2013-08-20 16:20   ` Scott Randby

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=52139038.1070300@gmail.com \
    --to=srandby@gmail.com \
    --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).