From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [org-e-texinfo] generate menu items Date: Sun, 24 Feb 2013 00:04:17 +0100 Message-ID: <87y5eehbta.fsf@gmail.com> References: <87vcd4m5cm.fsf@gmail.com> <87ip94lytq.fsf@gmail.com> <877gpjn9l5.fsf@gmail.com> <87sj87xozu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9O8y-0006WH-55 for emacs-orgmode@gnu.org; Sat, 23 Feb 2013 18:04:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9O8u-0006w5-5T for emacs-orgmode@gnu.org; Sat, 23 Feb 2013 18:04:36 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:60873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9O8t-0006vz-UH for emacs-orgmode@gnu.org; Sat, 23 Feb 2013 18:04:32 -0500 Received: by mail-wi0-f174.google.com with SMTP id hi8so2177239wib.7 for ; Sat, 23 Feb 2013 15:04:31 -0800 (PST) In-Reply-To: (Jonathan Leech-Pepin's message of "Wed, 21 Nov 2012 11:31:33 -0500") 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: Jonathan Leech-Pepin Cc: Org-mode , "Thomas S. Dye" Hello, Jonathan Leech-Pepin writes: > Hello Tom, Nicolas, > > I've just pushed a change that should provide the desired results. > > The optional title for the menu entries (as well as associated node > headings) can be set using the :TEXINFO_MENU_TITLE: property. > > On 18 November 2012 11:22, Thomas S. Dye wrote: > >> Nicolas Goaziou writes: >> >> > tsd@tsdye.com (Thomas S. Dye) writes: >> > >> >> Nicolas Goaziou writes: >> > >> >>> That's a bit of work, because, so far, node-property values are not >> >>> parsed. So it would require to define a new class of node-properties: >> >>> those with a parsed value. But then, how to decide which properties >> have >> >>> their value parsed are parsed and which have not? >> > >> >> Thanks for the information and explanation. Back-end-specific >> >> properties should work nicely in this case. >> >> >> >> I'll wait to see what Jonathan thinks about the original query. >> > >> > Assuming :EXPORT_TITLE:, :EXPORT_AUTHOR:, :EXPORT_DATE: and this >> > one, :EXPORT_TOC_ENTRY: (?), will be the only ones being parsed, I can >> > give it a try. >> > >> > > If you do include these node properties I can then adjust the texinfo > exporter to use the generic TOC/Optional title property rather than a > backend specific one. I eventually added :OPTIONAL_TITLE: property. Get its parsed value with `org-export-get-optional-title' function. I patched ox-ascii, ox-latex and ox-html so they use it when building a TOC. I think only ox-odt and ox-texinfo are missing. Jonathan, could you have a look at it? Thank you. Regards, -- Nicolas Goaziou