From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: [texinfo] Appendix? Date: Mon, 25 Feb 2013 10:20:59 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9cdc787981c3604d68e16ef Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9zra-0007qR-0l for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 10:21:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9zrQ-0007O0-68 for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 10:21:09 -0500 Received: from mail-vc0-f178.google.com ([209.85.220.178]:40509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9zrP-0007Nl-Ut for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 10:21:00 -0500 Received: by mail-vc0-f178.google.com with SMTP id m8so1759388vcd.37 for ; Mon, 25 Feb 2013 07:20:59 -0800 (PST) In-Reply-To: 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: "Thomas S. Dye" Cc: Org-mode --14dae9cdc787981c3604d68e16ef Content-Type: text/plain; charset=UTF-8 Hello Tom, On 22 February 2013 18:28, Jonathan Leech-Pepin < jonathan.leechpepin@gmail.com> wrote: Hello Tom On 22 February 2013 17:55, Thomas S. Dye wrote: Aloha Jon, [...] I don't understand. This: * Concept index :PROPERTIES: :TEXINFO_MENU_TITLE: Concept Index :INDEX: cp :END: Gives me a numbered headline and an empty section. If I add this: @@info:@printindex cp@@ then an index is generated. The headline is still numbered. Am I doing something wrong? I don't think so. From the looks of things, index wasn't fixed along with other properties to be uppercase in ox-texinfo.el. I should be able to fix it on Monday (and make sure it now works), along with the spacing of the detailed node listing. Regards, Jon I've now fixed this. Headlines with an :INDEX: property will now export as: #+BEGIN_EXAMPLE @unnumbered (or equivalent unnumbered subheading) <content of headline> @printindex <INDEX> (assuming INDEX is a recognized type, otherwise it will simply be an unnumbered headline. I've additionally added support for appendices. These will export as @appendix <TITLE>. Indexes and appendices are mutually exclusive, indexes are tested for first. Regards, Jon --14dae9cdc787981c3604d68e16ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Tom,<br><br>On 22 February 2013 18:28, Jonathan Leech-Pepin <<a hr= ef=3D"mailto:jonathan.leechpepin@gmail.com">jonathan.leechpepin@gmail.com</= a>> wrote:<br><br>=C2=A0=C2=A0=C2=A0 Hello Tom<br><br>=C2=A0=C2=A0=C2=A0= On 22 February 2013 17:55, Thomas S. Dye <<a href=3D"mailto:tsd@tsdye.c= om">tsd@tsdye.com</a>> wrote:<br> <br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Aloha Jon,<br><br>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [...]<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 I don't understand.=C2=A0 This:<br><br>=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 * Concept index<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 :PROPERTIES:<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :TE= XINFO_MENU_TITLE: Concept Index<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 :INDEX:=C2=A0=C2=A0=C2=A0 cp<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 :END:<br> <br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Gives me a numbered headline= and an empty section.<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 If= I add this:<br><br><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 @@info:@= printindex cp@@<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 then an i= ndex is generated.=C2=A0 The headline is still numbered.<br><br>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Am I doing something wrong?<br> <br>=C2=A0=C2=A0=C2=A0 I don't think so.=C2=A0 From the looks of things= , index wasn't fixed along<br>=C2=A0=C2=A0=C2=A0 with other properties = to be uppercase in ox-texinfo.el.<br>=C2=A0=C2=A0=C2=A0 I should be able to= fix it on Monday (and make sure it now works),<br> =C2=A0=C2=A0=C2=A0 along with the spacing of the detailed node listing.<br>= =C2=A0=C2=A0=C2=A0 Regards, <br>=C2=A0=C2=A0=C2=A0 Jon<br><br><br>I've = now fixed this.<br><br>Headlines with an :INDEX: property will now export a= s:<br><br>#+BEGIN_EXAMPLE<br>@unnumbered <TITLE> (or equivalent unnum= bered subheading)<br> <br><content of headline><br><br>@printindex <INDEX> (assuming = INDEX is a recognized type, otherwise it<br>will simply be an unnumbered he= adline.<br><br>I've additionally added support for appendices.=C2=A0 Th= ese will export as<br> @appendix <TITLE>.<br><br>Indexes and appendices are mutually exclusi= ve, indexes are tested for<br>first.<br><br>Regards,<br><br>Jon<br> --14dae9cdc787981c3604d68e16ef--