[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texi2html-bug] Interop bug with vindex called in macro and reading in a
From: |
Reinhold Kainhofer |
Subject: |
[Texi2html-bug] Interop bug with vindex called in macro and reading in a file in $Texi2HTML::Config::external_href |
Date: |
Wed, 6 Aug 2008 14:39:27 +0200 |
User-agent: |
KMail/1.9.9 |
Hi Patrice,
Recently I'm running into another problem with texi2html, which seems to be
some kind of strange interaction between reading in a file in the
$Texi2HTML::Config::external_href function and index commands and refs called
within a macro. Attached is a minimal sample .texi file together with an init
file and some other file to be read in in external_href.
Place all three files into the same directory and process the file with:
texi2html --init-file=texi2html_index_woes.init texi2html_index_woes.texi
The resulting errors are:
** Waiting for index cmd @vindex, got @cindex (l. 18)
** Waiting for index cmd @vindex, got @cindex (l. 19)
** Waiting for index cmd @cindex, got @vindex (l. 22 in ruser)
** Waiting for index cmd @cindex, got @vindex (l. 23 in ruser)
** Waiting for index cmd @vindex, got @cindex (l. 25)
BUG: 5 index entries pending
As soon as I remove the "while (<XREFFILE>) {..}" block from the init file,
everything works again. Similarly, if I remove some of the @ruser macro
calls, I get considerably less warnings for the index calls after that...
Am I doing something wrong (makeinfo processes the file just fine, texi2html
also works if I don't use any init file, so I suppose the texi file is okay)?
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/
texi2html_index_woes.map
Description: Text document
texi2html_index_woes.texi
Description: Text document
- [Texi2html-bug] Interop bug with vindex called in macro and reading in a file in $Texi2HTML::Config::external_href,
Reinhold Kainhofer <=