From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-export-latex-hyperref-options-format Date: Fri, 21 Mar 2014 17:19:44 -0400 Message-ID: <87y5031c7j.fsf@alphaville.bos.redhat.com> References: <878ut72qyo.fsf@gmail.com> <87zjlm13st.fsf@gmail.com> <8672745997102408713@unknownmsgid> <87vbw91pac.fsf@gmail.com> <87ha7s1il4.fsf@gmail.com> <874n3r1o73.fsf@gmail.com> <87eh2vm66g.fsf@bzg.ath.cx> <87bnx0f0ca.fsf@bzg.ath.cx> <878us3bt62.fsf@gmail.com> <87fvmbbt04.fsf@bzg.ath.cx> <87d2hfa2k3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR6rD-0000qa-Tr for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 17:20:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR6r7-0004mw-IM for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 17:20:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:57531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR6r7-0004mn-CJ for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 17:19:57 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WR6r5-0001oD-Oh for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 22:19:55 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2014 22:19:55 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2014 22:19:55 +0100 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 tsd@tsdye.com (Thomas S. Dye) writes: > Nicolas Goaziou writes: > >>> If not, can someone offer advice on the best way to set >>> org-latex-hyperref-template to achieve the same file-local effect? >> >> Assuming `org-export-allow-bind-keywords' is non-nil, does >> >> #+BIND: org-latex-hyperref-template "" >> >> work? > > I can't get this to work. > > Here is the top of my Org mode file: > > #+TITLE: Structure and Growth of the Leeward Kohala Field System: An Analysis with Directed Graphs > #+DATE: > #+LANGUAGE: en > #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t ':t ^:{} > #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:nil pri:nil tags:not-in-toc > #+BIND: org-latex-hyperref-template "" > #+LATEX_CLASS: plos-devel > #+STARTUP: entitiespretty > #+PROPERTY: header-args:sh :eval no-export > > The variable org-export-allow-bind-keywords is t. > > When I open this file and ask for information about > org-latex-hyperref-template, I get this: > > org-latex-hyperref-template is a variable defined in `ox-latex.el'. > Its value is > "\\hypersetup{\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}}\n" > > Org-mode version 8.2.5h (release_8.2.5h-757-gc444e4 @ > /Users/dk/.emacs.d/src/org-mode/lisp/) > #+BIND is supposed to bind the variable *during export*. The test is to run the export and see if the hyperref stuff is gone from the tex file. Nick