On Thu, May 11, 2000 at 04:20:40PM -0400, Karl Berry wrote:
>     But when this version is used, then during the generation of the table of
>     contents TeX fails
> 
> Other txi-?? files use accents in their definitions, so can you debug
> why the Hungarian one fails?  It doesn't make sense:
> 
>     F{\" u}ggel\'ek
> 
> I don't think you really want a space after \".

Well, yes, the space is not necessary.

The Portuguese and the Spanish are similar, but they do not use the \"
accent.

If I comment the \putrealtextAppendix macro in txi-hu.tex, then with the
example file, "t.tex" :

----------------------------------
\input texinfo
@setfilename gawk.info
@documentlanguage hu

@appendix @code{gawk} Summary

bla-bla-bla

@contents
@bye
----------------------------------

the result in "t.toc" :

----------------------------------
\chapentry{\code {gawk} Summary}{F{{\accent "7F u}}ggel{\accent 19 e}k{}
A{}}{1}
----------------------------------
                                    ^^^^^^^^^^^         ^^^^^^^^^^^^
                                  Problem is here.     But this is OK.  

TeX complains when tries to read back the "t.toc" file, as follows:
----------------------------------
[...]
F{{@accent "7F u}}ggel{@accent 19 e}k A [1] (t.toc 
! Missing number, treated as zero. 
<to be read again>
                   { 
"->{
    @tt @char 34} 
<argument> F{{@accent " 
                       7F u}}ggel{@accent 19 e}k{} A{}@labelspace ...
[...]
-----------------------------------

This tells me, that somehow the '"' character is left in, but should have
been removed by Tex. It should be {@accent 7F u} in the t.toc file.

In \appendixzzz, you had to use similar thing:

\edef\temp{\noexpand\writetocentry{\realbackslash chapentry{\the\toks0}%
                                   ^^^^^^^^^^^^^^^^^^^^^^^^
                              which simply should be: \chapentry
This is in the original texinfo.tex !

So it works for \' accent and some other, but not for the \" accent.
Sorry, my TeX knowledge is just not enough for this. But if you need
something more, let me know.


                                        Peter Ivanyi

Reply via email to