texi2html-bug
[Top][All Lists]
Advanced

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

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


From: Reinhold Kainhofer
Subject: [Texi2html-bug] Obtaining the node name in element_file_name?
Date: Sat, 19 Jul 2008 21:55:14 +0200
User-agent: KMail/1.9.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Patrice,
Once again, some question has crept up in our transition to texi2html in 
lilypond: As you know, I'm implementing translated section names, where the 
file name for that section is derived from the original (untranslated) node 
and I'm implementing unnumbered subsections in the same file as the parent 
sections. For both cases, I'm pre-processing the texi file to generate a 
nodename<=>filename map, which can then also be used for xrefs from other 
manuals.

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?

As an example take the attached texinfo file, where I'd need "Anchor of the 
chapter" in element_file_name, while I'm currently only able to 
obtain "Anchor-of-the-chapter" from the 'target' value of the $element 
hash...

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIgkamTqjEwhXvPN0RAvMHAJ9tMKxYm1+3IoWUydDfyfujWTsYlgCfaEbK
1dtfF/AoWFsX4ljg009GtWA=
=lBdH
-----END PGP SIGNATURE-----

Attachment: texi2html_section_test1.texi
Description: Text document


reply via email to

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