[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [org-e-texinfo] generate menu items
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [org-e-texinfo] generate menu items |
Date: |
Sun, 24 Feb 2013 00:04:17 +0100 |
Hello,
Jonathan Leech-Pepin <address@hidden> 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 <address@hidden> wrote:
>
>> Nicolas Goaziou <address@hidden> writes:
>>
>> > address@hidden (Thomas S. Dye) writes:
>> >
>> >> Nicolas Goaziou <address@hidden> 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
- Re: [O] [org-e-texinfo] generate menu items,
Nicolas Goaziou <=