From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Table of contents for just one section? Date: Tue, 13 Jan 2015 12:56:45 +0100 Message-ID: <87twzuki6a.fsf@gmx.us> References: <87wq7uzwmm.fsf@nicolasgoaziou.fr> <871tpvmekr.fsf@nicolasgoaziou.fr> <87mw8joylh.fsf@gmx.us> <8761f7dlxd.fsf@nicolasgoaziou.fr> <87egtuq3ih.fsf@gmx.us> <87y4p9dm2r.fsf@nicolasgoaziou.fr> <87387h9c5g.fsf@gmx.us> <87ppake6mr.fsf@nicolasgoaziou.fr> <87sifgi8fe.fsf@gmx.us> <877fwregpu.fsf@nicolasgoaziou.fr> <87vbkbiica.fsf@pank.eu> <87387fdo31.fsf@nicolasgoaziou.fr> <87oaq36kwh.fsf@gmx.us> <87y4p7c64y.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB05d-0008Ty-3Y for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 06:56:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB05Z-0006pf-Tx for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 06:56:53 -0500 Received: from mout.gmx.net ([212.227.17.22]:55346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB05Z-0006pT-KF for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 06:56:49 -0500 Received: from x200s ([109.201.154.176]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lxdfb-1XiwIm1Uy3-017A1T for ; Tue, 13 Jan 2015 12:56:47 +0100 In-Reply-To: <87y4p7c64y.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 13 Jan 2015 11:43:57 +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 Nicolas Goaziou writes: > Rasmus writes: > >> I was putting this to further support another solution, namely moving >> hyperref to a single defcustom, allowing hyperref to be inserted after a= ll >> other header-lines. > > As you pointed out already, moving hyperref after all other header lines > introduces problems with another set of packages. Therefore, we could > end up with package combinations that this variable couldn't handle. Of which we do not rely at the moment. From a user POW it's easy to load stuff at the end of the preamble e.g. using scrfile (\AfterPackage{}{}) or etoolbox (\AtEndPreamble{}). >> That's what it does... But without the need of having a direct copy of >> org-latex-default-packages-alist in your init.el. I'm not suggesting to >> put the snippet there without any prose. > > `org-latex-default-packages-alist' can be customized, and customization > allows to easily add "titletoc" before "hyperref". No need to rely on > this confusing snippet. Which again will copy the current value into your init, potentially ignoring future updates of the variable (say if we add or remove packages at a later point). [Correct me if I'm wrong]. Anyway, I edited the org.texi as we won't agreement. =E2=80=94Rasmus --=20 Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken p=C3=A5 kn=C3= =A4!