texi2html-bug
[Top][All Lists]
Advanced

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

Re: [Texi2html-bug] Obtaining the node name in element_file_name?


From: Patrice Dumas
Subject: Re: [Texi2html-bug] Obtaining the node name in element_file_name?
Date: Sat, 19 Jul 2008 22:10:52 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Jul 19, 2008 at 09:55:14PM +0200, Reinhold Kainhofer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Patrice,
> 
> Now, in element_file_name I want to look up the node name in my map and 
> retrieve the file name for it. Unfortunately, in the $element hash I couldn't 
> find the full node name for that section, only the mangled nodename stored 
> as 'target'. Is there any way to obtain the original node name for a section?

The node element is in 
$element->{'node_ref'}
if there is a @node associated with this element. Then you have
$element->{'node_ref'}->{'text'}
$element->{'node_ref'}->{'texi'}
$element->{'node_ref'}->{'no_texi'}
$element->{'node_ref'}->{'simple_format'}
depending on what you want.

--
Pat




reply via email to

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