help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] Non ascii to pdf.


From: Thien-Thi Nguyen
Subject: Re: [help-texinfo] Non ascii to pdf.
Date: Wed, 11 Jan 2012 22:06:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

() address@hidden
() Wed, 11 Jan 2012 20:07:03 +0100

   Alas, my superficial tests in this direction just eat the cyrillic text
   (see attached test.texi). Leaving out the @documentlanguage thingies
   doesn't seem to change things either.

   Writing a conventional LaTeX doc, with babel does work.

   My texi2pdf is "texi2dvi (GNU Texinfo 4.13) 1.135"

   Glad to provide more details.

Could you post the LaTeX equivalent of this test that does work?

BTW, i botched the address@hidden declaration in two ways:
 - it should go AFTER the address@hidden line
   (info "(texinfo) documentencoding");
 - the token ‘utf-8’ is ok for makeinfo, but texi2pdf complains
   unless it is written as ‘UTF-8’.

So, i modified cyrillic-test.texi (as it is saved here) to read:

 @setfilename cyrillic-test.texi
 @documentencoding UTF-8

and did:

 $ texi2pdf cyrillic-test.texi && xpdf cyrillic-test.pdf

and can confirm erroneous output with texi2dvi (GNU Texinfo 4.13) 1.135,
aka "texi2pdf".  Output of that command is, in full:

 This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
 entering extended mode
 (./cyrillic-test.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
 Loading texinfo [version 2008-04-18.10]: pdf, fonts, page headings, tables,
 conditionals, indexing, sectioning, toc, environments, defuns, macros,
 cross references, insertions, localization, formatting,
 and turning on texinfo input format.) (./cyrillic-test.aux) Chapter 1
 (/usr/share/texmf/tex/texinfo/txi-ru.tex)
 l.16: Unicode char @u8:Ч not defined for Texinfo
 l.16: Unicode char @u8:ё not defined for Texinfo
 l.16: Unicode char @u8:р not defined for Texinfo
 l.16: Unicode char @u8:т not defined for Texinfo
 (/usr/share/texmf/tex/texinfo/txi-en.tex) [1{/var/lib/texmf/fonts/map/pdftex/up
 dmap/pdftex.map}] )</usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmb
 x12.pfb></usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb></us
 r/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmtt10.pfb>
 Output written on cyrillic-test.pdf (1 page, 38336 bytes).
 Transcript written on cyrillic-test.log.

I note that U+0427, U+0451, U+0440, U+0442 are absent from cyrillic-test.log
in the "defining Unicode char" list.  It looks like if anything, those should
defined (somehow) in /usr/share/texmf/tex/texinfo/txi-ru.tex, but that's just
an uninformed guess.

So bottom line, i don't have any more clue than you; sorry for the noise!
(I'm hoping the LaTeX equivalent you will post will have some bits in the
header that could be useful in a address@hidden .. address@hidden iftex’ block, 
however.)



reply via email to

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