Hello,

Jonathan Leech-Pepin <jonathan.leechpe...@gmail.com> 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 <t...@tsdye.com> wrote:
>
>> Nicolas Goaziou <n.goaz...@gmail.com> writes:
>>
>> > t...@tsdye.com (Thomas S. Dye) writes:
>> >
>> >> Nicolas Goaziou <n.goaz...@gmail.com> 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

Reply via email to