FAb <0x...@free.fr> writes: > On 03/09/2014 12:51 PM, Nick Dokos wrote: >> FAb <0x...@free.fr> writes: >> >>> On 03/08/2014 04:24 PM, Nick Dokos wrote: >>> When I use that "\hypersetup" in #+LATEX_HEADER the job is perfectly done. >>> >>> But I don't find the "org-latex-hyperref-template" and if I delcare it >>> in my .emacs, nothing changes. >>> Are you sure about this name ? >> That's the name in org 8.0 or later. If you are using a 7.x version of >> org, many names are indeed different. My advice would be to upgrade to a >> more recent org: these name changes are a continuing source of problems, >> so the sooner everybody upgrades, the sooner we can put these problems >> behind us. > Uh... I'm already in 8.2.5h-elpa... > An update later : 8.2.5h-30-gdd810b-elpa (M-x org-version) > but no trace for "org-latex-hyperref-template"... Neither C-h v > nor "grep -R" > > I need to investigate further. >
You are probably picking up bits and pieces of the org-mode that came bundled with your emacs. Look up "mixed installation" in the ML archives. Note also that the new latex exporter is in a file called ox-latex.el. If you are doing something like (require 'org-latex) or (load-library "org-latex") you are loading the old exporter. >> >>> Closest variables : >>> org-export-latex-hyperref-format >>> org-export-latex-hyperref-options-format >>> org-latex-with-hyperref > Still there. > These are all old exporter names. The new names use a "org-<BACKEND>" prefix (e.g org-latex-xxx, org-html-xxx etc) -- Nick