emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export TOC decorations : how to
Date: Sun, 09 Mar 2014 16:29:58 -0400	[thread overview]
Message-ID: <87y50jazeh.fsf@gmail.com> (raw)
In-Reply-To: 531CC974.6060806@free.fr

FAb <0xfab@free.fr> writes:

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

      reply	other threads:[~2014-03-09 20:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-08 13:00 LaTeX export TOC decorations : how to FAb
2014-03-08 14:19 ` Tim Burt
2014-03-08 15:24 ` Nick Dokos
2014-03-09 10:58   ` FAb
2014-03-09 11:51     ` Nick Dokos
2014-03-09 20:05       ` FAb
2014-03-09 20:29         ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y50jazeh.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).