emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] LaTeX export TOC decorations : how to


From: Nick Dokos
Subject: Re: [O] LaTeX export TOC decorations : how to
Date: Sun, 09 Mar 2014 16:29:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

FAb <address@hidden> writes:

> On 03/09/2014 12:51 PM, Nick Dokos wrote:
>> FAb <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]