From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: org-latex question Date: Mon, 27 Apr 2015 09:35:55 +0530 Message-ID: References: <3A6F6CD4-C7F2-4796-8D16-007AFC0BEC91@agrarianresearch.org> <87bnitde2a.fsf@nicolasgoaziou.fr> <87fv85fzxp.fsf@wmi.amu.edu.pl> <877fth5i2s.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmaJ4-0000RC-4t for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 00:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmaJ1-00070J-01 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 00:06:06 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:33334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmaJ0-0006zu-Qa for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 00:06:02 -0400 Received: by pacwv17 with SMTP id wv17so93571478pac.0 for ; Sun, 26 Apr 2015 21:06:01 -0700 (PDT) In-Reply-To: <877fth5i2s.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou , org-mode mailing list >=20 >> True. This is because org-latex-headline is written this way: >>=20 >> ,---- >> | (if (and numberedp opt-title >> | ;; ^^^ ^^^^^^^^^ why this? Maybe there's a good reason... >> | (not (equal opt-title full-text)) >> | (string-match "\\`\\\\\\(.*?[^*]\\){" section-fmt)) >> | (...) >> | ;; Impossible to add an alternative heading. Fallback to >> | ;; regular sectioning format string. >> | (format section-fmt full-text >> | (concat headline-label pre-blanks contents))) >> `---- >>=20 >> However, it need not be this way: LaTeX itself (or more precisely: = the >> default classes) seem to support the alt-title even for starred >> sectioning commands. >=20 > I removed NUMBEREDP, since I cannot remember the reason for its > presence. >=20 Sorry, it took me some time before I could get back to figure this out.=20= In the document (manuscript of a book) that I am working, ALT_TITLE now = works in most cases. However, ALT_TITLE does not work for headlines in = Appendices, which come after=20 \begin{appendices}=20 Just as a reminder (since these emails are several days old), we are = trying to enable ALT_TITLE in all headlines irrespective of whether they = appear in TOC or not. So there is perhaps still a problem somewhere. Vikas=