From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX export TOC decorations : how to Date: Sun, 09 Mar 2014 16:29:58 -0400 Message-ID: <87y50jazeh.fsf@gmail.com> References: <531B1460.70206@free.fr> <87ha78d883.fsf@gmail.com> <531C4964.9070106@free.fr> <87d2hvd1za.fsf@gmail.com> <531CC974.6060806@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMkMV-0006Gv-5s for emacs-orgmode@gnu.org; Sun, 09 Mar 2014 16:30:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMkMN-0000ga-R6 for emacs-orgmode@gnu.org; Sun, 09 Mar 2014 16:30:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:51631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMkMN-0000gP-Ke for emacs-orgmode@gnu.org; Sun, 09 Mar 2014 16:30:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WMkMM-0004Yb-MU for emacs-orgmode@gnu.org; Sun, 09 Mar 2014 21:30:10 +0100 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Mar 2014 21:30:10 +0100 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Mar 2014 21:30:10 +0100 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: emacs-orgmode@gnu.org 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-" prefix (e.g org-latex-xxx, org-html-xxx etc) -- Nick