From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: org-export-latex-hyperref-options-format Date: Sat, 22 Mar 2014 08:26:20 -1000 Message-ID: References: <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> <87y5031c7j.fsf@alphaville.bos.redhat.com> <87mwgj18il.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRQd1-0005TE-DD for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 14:26:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRQcv-0005be-7j for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 14:26:43 -0400 Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:38085) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WRQcu-0005aV-W9 for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 14:26:37 -0400 In-Reply-To: <87mwgj18il.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Fri, 21 Mar 2014 18:39:30 -0400") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Aloha Nick, Nick Dokos writes: > tsd@tsdye.com (Thomas S. Dye) writes: > >> Aloha Nick, >> >> Nick Dokos writes: >> >>> #+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 >> >> I did run the export and the hyperref stuff was still in the tex file. >> >> I'm exporting asynchronously--perhaps that's the problem? The old >> #+OPTIONS: texht:nil worked for asynchronous export, though, so I was >> expecting that BIND would do the same. >> > > I tried both with and without async (deleting the tex file before > starting each time - I also used the default latex class, since I don't > have plos-devel): either way the hyperref stuff was gone. It is part of an Org mode template for the open access journal PLOS One. You can find it here, if need be: http://orgmode.org/worg/exporters/plos-one-template-worg.html The template is set up to produce two pdf files, one with hyperref and the other without. I suspect this is the root of the problem I'm having. The old option used to suppress the hyperref stuff in one of the tex files, but kept it available for the other tex file. Somehow, the logic of that has changed and I suspect I'm going to have to find a way to set up hyperref for the document that needs it, rather than shutting it off for the document that doesn't need it. I had a look at ox-latex and the PLOS One template this morning over coffee, but wasn't able to find a smoking gun. Your simple test case works as expected here. All the best, Tom > > Here's the org 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 "" > #+STARTUP: entitiespretty > #+PROPERTY: header-args:sh :eval no-export > > * foo > > bar > > > Org-mode version 8.2.5h (release_8.2.5h-782-g040ec4 @ > /home/nick/elisp/org-mode/lisp/) > > Nick > > > > -- Thomas S. Dye http://www.tsdye.com