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

2013-02-25 Thread Thomas S. Dye
Hi Jon, Jonathan Leech-Pepin writes: > Hello, > > On 23 February 2013 18:04, Nicolas Goaziou 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 s

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

2013-02-25 Thread Nicolas Goaziou
Hello, Jonathan Leech-Pepin 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 function will return the pars

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

2013-02-25 Thread Jonathan Leech-Pepin
Hello On 25 February 2013 11:09, Nicolas Goaziou wrote: > Hello, > > Jonathan Leech-Pepin 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_TIT

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

2013-02-25 Thread Jonathan Leech-Pepin
Hello, On 23 February 2013 18:04, Nicolas Goaziou 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 think only ox-o

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

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

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 and

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 wrote: > Nicolas Goaziou writes: >

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

2012-11-18 Thread Thomas S. Dye
Nicolas Goaziou writes: > t...@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

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

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

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

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

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

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

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

2012-11-17 Thread Thomas S. Dye
Nicolas Goaziou 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 >> already poss

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 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 abl

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 t

[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-it