From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [org-e-texinfo] generate menu items Date: Sat, 17 Nov 2012 09:56:35 -1000 Message-ID: References: <87vcd4m5cm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZoVi-0007VS-5x for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 14:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZoVf-0008Pe-4K for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 14:57:02 -0500 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:38641) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TZoVe-0008PI-Qh for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 14:56:59 -0500 In-Reply-To: <87vcd4m5cm.fsf@gmail.com> (Nicolas Goaziou's message of "Sat, 17 Nov 2012 19:50:17 +0100") 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: Nicolas Goaziou Cc: Org-mode Nicolas Goaziou writes: > Hello, > > tsd@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. >> >> Perhaps org-e-texinfo--generate-menu-items could check the EXPORT_TITLE >> property? Something like this might make sense: >> >> * Document structure >> :PROPERTIES: >> :DESCRIPTION: A tree works like your brain >> :EXPORT_TITLE: Document Structure >> :END: > > EXPORT_TITLE property is meant to provide a title for a subtree export. > This is a wrong way to use it like that. 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). > On the other hand, wouldn't it > be possible to simply `capitalize' menu entries? I don't think so. We want either sentence case (Properties and columns) or title case (Properties and Columns), not capitalized (Properties And Columns). All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com