From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Table of contents for just one section? Date: Tue, 13 Jan 2015 16:36:12 +0100 Message-ID: <87zj9mitg3.fsf@nicolasgoaziou.fr> 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> <87twzuki6a.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3Ux-0005kR-4y for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 10:35:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB3Us-0006rr-Nb for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 10:35:15 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3Us-0006rH-Hn for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 10:35:10 -0500 In-Reply-To: <87twzuki6a.fsf@gmx.us> (rasmus@gmx.us's message of "Tue, 13 Jan 2015 12:56:45 +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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: >> 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. Of course, but I'm just pointing out that silently postponing the problem is worse than admitting there is one and let the user sort it out, with guidance. We should really stay away from the LaTeX packages mess. > From a user POW it's easy to load > stuff at the end of the preamble e.g. using scrfile (\AfterPackage{}{}) or > etoolbox (\AtEndPreamble{}). For an intermediate LaTeX user, this is easy. It is also for an intermediate Org user (e.g., who knows how to modify `org-latex-classes'). For beginners in both topics, there is the footnote in org.texi. > 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]. You're right. But I don't see why we should try to get around this common issue specifically for this problem, even though it exists for every defcustom. There is :version keyword for this matter. > Anyway, I edited the org.texi as we won't agreement. Thank you. I don't want to separate "hyperref" from `org-latex-default-packages-alist' and treat it differently. Regards,