From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Option H: and texinfo export Date: Thu, 14 Feb 2013 12:04:08 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307f3b623c597d04d5b23f56 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U62EM-0002yJ-9G for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 12:04:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U62EE-0006xs-N0 for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 12:04:18 -0500 Received: from mail-ve0-f180.google.com ([209.85.128.180]:64240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U62EE-0006xf-Go for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 12:04:10 -0500 Received: by mail-ve0-f180.google.com with SMTP id jx10so2252126veb.39 for ; Thu, 14 Feb 2013 09:04:10 -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 --20cf307f3b623c597d04d5b23f56 Content-Type: text/plain; charset=UTF-8 Hello Tom On 13 February 2013 14:58, Thomas S. Dye wrote: > Aloha all, > > When the H: option is set to a number > 4, the texinfo exporter > generates a detailed node listing with links to nodes that texinfo > doesn't recognize. IIUC, texinfo recognizes nodes for chapter, section, > subsection, and subsubsection, but not for any lower level divisions of > the document. > > Is there a context where H:5..n would make sense in a document exported > to texinfo? If not, should the exporter behave differently in this > instance? > I don't know of any case where there would be a reason to have n>4 for headline export to texinfo. > These are just questions, not requests for changes to the code. I have > H:4 and things seem to be working beautifully :) > I've made a small change regardless, a constant with the max toc-depth for texinfo (4), in case there ever is a time in the future where this depth might have reason to change. I've also set the detailed node listing to limit itself to whichever value is smaller (H: or 4). This should prevent any accidental generation errors due to H being too large. Regards, Jon -- > 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 > > --20cf307f3b623c597d04d5b23f56 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Tom

On 13 February 2013 14:58, Thom= as S. Dye <tsd@tsdye.com> wrote:
Aloha all,

When the H: option is set to a number > 4, the texinfo exporter
generates a detailed node listing with links to nodes that texinfo
doesn't recognize. =C2=A0IIUC, texinfo recognizes nodes for chapter, se= ction,
subsection, and subsubsection, but not for any lower level divisions of
the document.

Is there a context where H:5..n would make sense in a document exported
to texinfo? =C2=A0If not, should the exporter behave differently in this instance?

I don't know of any case where there= would be a reason to have n>4 for
headline export to texinfo.
=C2= =A0
These are just questions, not requests for changes to the code. =C2=A0I hav= e
H:4 and things seem to be working beautifully :)

I= 've made a small change regardless, a constant with the max toc-depthfor texinfo (4), in case there ever is a time in the future where this de= pth
might have reason to change.=C2=A0 I've also set the detailed node list= ing to limit
itself to whichever value is smaller (H: or 4).=C2=A0 This = should prevent any
accidental generation errors due to H being too large= .


Regards,

Jon
--
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=


--20cf307f3b623c597d04d5b23f56--