[texinfo.tex 2025-01-20.21]

Consider the following example file `tr.texi`.

```
\input texinfo

@documentlanguage tr

@tracingall
@tracingonline0
@contents

@node A
@chapter A
A
@page

@bye
```

If compiled with pdfTeX or LuaTeX this shows 'Icinderkiler' in the PDF
outline.  However, IIUC, the current version of `texinfo.tex` is
expected to support the complete Unicode BMP within PDF outlines.  In
other words, it should show the correct Turkish word for 'contents',
namely 'İçindekiler'.  What am I missing?

Another problem is that compilation with XeTeX fails.  Calling
`PDFTEX=xetex texi2pdf ...` yields the following error.

```
./tr.texi:7: Illegal parameter number in definition of @pdfoutlinetext.
<to be read again> 
                   @crcr 
@oalign ...z@skip @lineskip .25ex@ialign {##@crcr 
                                                  #1@crcr }}
@@,:impl ... @crcr @hidewidth @char 24@hidewidth }
                                                  @fi }
@pdfoutlinetext ->@dotaccent {I}@,c
                                   indekiler
@txiescapepdf ...ring @thisisundefined @xdef #1{#1
                                                  }@else @xdef #1{@pdfescape...

@setpdfoutlinetext ...xiescapepdf @pdfoutlinetext 
                                                  }
...
l.7 @contents
```


    Werner

Reply via email to