texi2html-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texi2html-bug] Some more questions about texi2html


From: Patrice Dumas
Subject: Re: [Texi2html-bug] Some more questions about texi2html
Date: Thu, 20 Mar 2008 19:50:48 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

On Thu, Mar 20, 2008 at 06:26:10PM +0100, Reinhold Kainhofer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > You can retrieve the section associated with a node with
> > $node->{'section_ref'}. 
> 
> Thanks, works fine.
> 
> BTW, is there any way to obtain the top node in any of the printing methods? 

No, it is not exported. You can use main::element_top, at your own risk
;-).

> In particular, if for some reason no customized TOC for the current page has 
> been generated (because it is e.g. the top page or the about or index page), 
> then I'd still like to generate a toc, but for this I need the top node (or 
> equivalently any other section node, from which I can go up to the top node).

You always have the current element which is $Texi2HTML::THIS_ELEMENT.

--
Pat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]