Re: [O] [org-e-texinfo] generate menu items

2013-02-25 Thread Jonathan Leech-Pepin
Hello, On 23 February 2013 18:04, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, [...] 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

Re: [O] [org-e-texinfo] generate menu items

2013-02-25 Thread Jonathan Leech-Pepin
Hello On 25 February 2013 11:09, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes: I've replaced the use of :TEXINFO_MENU_TITLE: with :OPTIONAL_TITLE:. Thank you for looking into it. Though, please use

Re: [O] [org-e-texinfo] generate menu items

2013-02-25 Thread Nicolas Goaziou
Hello, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes: I've replaced the use of :TEXINFO_MENU_TITLE: with :OPTIONAL_TITLE:. Thank you for looking into it. Though, please use `org-export-get-optional-title' function instead. OPTIONAL_TITLE property only contains the raw string. The

Re: [O] [org-e-texinfo] generate menu items

2013-02-25 Thread Thomas S. Dye
Hi Jon, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes: Hello, On 23 February 2013 18:04, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, [...] I eventually added :OPTIONAL_TITLE: property. Get its parsed value with `org-export-get-optional-title' function. I patched

Re: [O] [org-e-texinfo] generate menu items

2013-02-23 Thread Nicolas Goaziou
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

Re: [O] [org-e-texinfo] generate menu items

2012-11-23 Thread Thomas S. Dye
Aloha Jon, Thanks very much for these changes, which appear to work nicely with the draft Org manual. What do you think about the various macro commands defined in org.texi? How to put them in the Org file and then get them into the texinfo output? The org.texi file has them between @finalout

Re: [O] [org-e-texinfo] generate menu items

2012-11-21 Thread Jonathan Leech-Pepin
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

Re: [O] [org-e-texinfo] generate menu items

2012-11-18 Thread Nicolas Goaziou
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

Re: [O] [org-e-texinfo] generate menu items

2012-11-18 Thread Thomas S. Dye
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

[O] [org-e-texinfo] generate menu items

2012-11-17 Thread Thomas S. Dye
Aloha all, An Org manual convention uses title case for the main menu and sentence case for chapter heads, e.g., the chapter Document structure shows up in the main menu as Document Structure. I haven't been able to get the texinfo exporter to do this. Perhaps org-e-texinfo--generate-menu-items

Re: [O] [org-e-texinfo] generate menu items

2012-11-17 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: An Org manual convention uses title case for the main menu and sentence case for chapter heads, e.g., the chapter Document structure shows up in the main menu as Document Structure. I haven't been able to get the texinfo exporter to do this.

Re: [O] [org-e-texinfo] generate menu items

2012-11-17 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, t...@tsdye.com (Thomas S. Dye) writes: An Org manual convention uses title case for the main menu and sentence case for chapter heads, e.g., the chapter Document structure shows up in the main menu as Document Structure. I haven't been

Re: [O] [org-e-texinfo] generate menu items

2012-11-17 Thread Nicolas Goaziou
t...@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

Re: [O] [org-e-texinfo] generate menu items

2012-11-17 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes: t...@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

Re: [O] [org-e-texinfo] generate menu items

2012-11-17 Thread Nicolas Goaziou
t...@tsdye.com (Thomas S. Dye) writes: Nicolas Goaziou n.goaz...@gmail.com writes: t...@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.,

Re: [O] [org-e-texinfo] generate menu items

2012-11-17 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes: t...@tsdye.com (Thomas S. Dye) writes: Nicolas Goaziou n.goaz...@gmail.com writes: t...@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