From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: LaTeX export question Date: Tue, 20 Aug 2013 11:50:16 -0400 Message-ID: <52139038.1070300@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBoCT-0003YI-9T for emacs-orgmode@gnu.org; Tue, 20 Aug 2013 11:50:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBoCK-0003L9-IA for emacs-orgmode@gnu.org; Tue, 20 Aug 2013 11:50:29 -0400 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:45997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBoCK-0003Ke-Dq for emacs-orgmode@gnu.org; Tue, 20 Aug 2013 11:50:20 -0400 Received: by mail-ob0-f171.google.com with SMTP id tb18so883740obb.16 for ; Tue, 20 Aug 2013 08:50:19 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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