From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [org-e-texinfo] generate menu items Date: Sat, 17 Nov 2012 11:48:36 -1000 Message-ID: References: <87vcd4m5cm.fsf@gmail.com> <87ip94lytq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZqGA-0004zN-Fb for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 16:49:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZqG7-0004c1-Ae for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 16:49:06 -0500 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:42518) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TZqG7-0004br-1Y for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 16:49:03 -0500 In-Reply-To: <87ip94lytq.fsf@gmail.com> (Nicolas Goaziou's message of "Sat, 17 Nov 2012 22:11:13 +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: Nicolas Goaziou Cc: Org-mode Nicolas Goaziou writes: > tsd@tsdye.com (Thomas S. Dye) writes: > >> Agreed. Perhaps a new property, OPTIONAL_TITLE? The texinfo back-end >> could use this in menus and the latex back-end could pass it to the >> sectioning command, e.g., \chapter[optional]{title} (if this isn't >> already possible). > > Back-ends can indeed use specific properties (Beamer back-end does it > with "BEAMER_ENV" and so on). Though, I suggest to prefix the property > name with the name of the backend: "TEXINFO_OPTIONAL_TITLE" (perhaps > a bit verbose). > > Then, one can access to it from the headline translator with: > > (org-element-property :texinfo-optional-title headline) > > Anyway, Jonathan Leech-Pepin will decide what to do about that. I looked in org-e-latex.el but didn't find a way to set the optional argument to a sectioning command. Is there currently a way to set this argument? All the best, Tom -- Thomas S. Dye http://www.tsdye.com