t...@tsdye.com (Thomas S. Dye) writes: > Nicolas Goaziou <n.goaz...@gmail.com> 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