help with ubuntu 10.04 make pdf CJK characters
This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
help with ubuntu 10.04 make pdf CJK characters | Marco Ciampa | 17 Nov 16:24 |
help with ubuntu 10.04 make pdf CJK characters | Ulf-D. Ehlert | 19 Nov 11:55 |
help with ubuntu 10.04 make pdf CJK characters
I will describe here a problem that I have with ubuntu 10.04. I am not shure that this is really a ubuntu problem. I am posting here just for the sake of clarifing my mind a bit.
So...doing:
marco@lap2-ciampix:~/git-gnome/gimp-help-2$ make pdf-it
[SRC] src/preface/authors.xml
*** Making PDF (it) ...
/usr/share/dblatex/lib/dbtexmf/dblatex/grubber/util.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Build the book set list...
xsltproc --xinclude --xincludestyle -o /tmp/tmp75G3db/doclist.txt doclist.xsl /home/marco/git-gnome/gimp-help-2/xml/it/gimp.xml
Build the listings...
xsltproc --xinclude --xincludestyle -o /tmp/tmp75G3db/listings.xml --param current.dir '/home/marco/git-gnome/gimp-help-2/xml/it' /usr/share/dblatex/xsl/common/mklistings.xsl /home/marco/git-gnome/gimp-help-2/xml/it/gimp.xml
xsltproc --xinclude --xincludestyle -o gimp.rtex --param current.dir '/home/marco/git-gnome/gimp-help-2/xml/it' --param listings.xml '/tmp/tmp75G3db/listings.xml' custom.xsl /home/marco/git-gnome/gimp-help-2/xml/it/gimp.xml
XSLT stylesheets DocBook - LaTeX 2e (0.2.12-4)
===================================================
literal not supported in programlisting or screen
literal not supported in programlisting or screen
Processing Bibliography
Output Mode: all
Processing Bibliography - Bibliodiv
Processing Bibliography - Bibliodiv
Missing character 최
Missing character 지
Missing character 희
Missing character 島
Missing character 本
Missing character 良
Missing character 太
Missing character 蔡
Missing character 芊
Missing character 杨
Missing character 红
Build gimp.pdf
built-in module pdftex registered
no support found for ifxetex
no support found for fontspec
no support found for xltxtra
no support found for fontenc
no support found for inputenc
no support found for fancybox
built-in module makeidx registered
no support found for babel
no support found for cmap
no support found for docbook
no support found for unicode
built-in module bibtopic registered
building additional files...
checking if compiling is necessary...
the output file doesn't exist
pdflatex -interaction=batchmode gimp.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
running post-compilation scripts...
processing index /tmp/tmp75G3db/gimp.idx...
makeindex -o /tmp/tmp75G3db/gimp.ind -t /tmp/tmp75G3db/gimp.ilg -s /usr/share/dblatex/latex/scripts/doc.ist /tmp/tmp75G3db/gimp.idx
This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support).
Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done (4 attributes redefined, 0 ignored).
Scanning input file /tmp/tmp75G3db/gimp.idx.....done (1329 entries accepted, 0 rejected).
Sorting entries..............done (15008 comparisons).
Generating output file /tmp/tmp75G3db/gimp.ind.....done (1485 lines written, 0 warnings).
Output written in /tmp/tmp75G3db/gimp.ind.
Transcript written in /tmp/tmp75G3db/gimp.ilg.
gimp.aux MD5 checksum changed
gimp.toc MD5 checksum changed
pdflatex -interaction=batchmode gimp.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
running post-compilation scripts...
[index] the index /tmp/tmp75G3db/gimp.idx has changed
processing index /tmp/tmp75G3db/gimp.idx...
makeindex -o /tmp/tmp75G3db/gimp.ind -t /tmp/tmp75G3db/gimp.ilg -s /usr/share/dblatex/latex/scripts/doc.ist /tmp/tmp75G3db/gimp.idx
This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support).
Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done (4 attributes redefined, 0 ignored).
Scanning input file /tmp/tmp75G3db/gimp.idx.....done (1329 entries accepted, 0 rejected).
Sorting entries..............done (15008 comparisons).
Generating output file /tmp/tmp75G3db/gimp.ind.....done (1485 lines written, 0 warnings).
Output written in /tmp/tmp75G3db/gimp.ind.
Transcript written in /tmp/tmp75G3db/gimp.ilg.
gimp.aux MD5 checksum changed
gimp.toc MD5 checksum changed
pdflatex -interaction=batchmode gimp.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
running post-compilation scripts...
[index] the index /tmp/tmp75G3db/gimp.idx did not change
no new compilation is needed
running last-compilation scripts...
'gimp.pdf' successfully built
the errors:
Missing character 최 ....
are due to this:
marco@lap2-ciampix:~/git-gnome/gimp-help-2/src$ grep -R "최" * preface/authors.xml: Choi Ji-Hui(최지희) (Korean) marco@lap2-ciampix:~/git-gnome/gimp-help-2/src$ grep -R "本" * preface/authors.xml: SimaMoto,RyōTa (島本良太) (Japanese) marco@lap2-ciampix:~/git-gnome/gimp-help-2/src$ grep -R "蔡" * preface/authors.xml: Cai Qian (蔡芊) (Chinese)
that apparently I am not able to compile correctly inside my italian pdf.
Where is the problem? In Ubuntu or in the makefile or wherelse?
Any hint?
help with ubuntu 10.04 make pdf CJK characters
Marco Ciampa (Wednesday, 17. November 2010)
I will describe here a problem that I have with ubuntu 10.04. I am not shure that this is really a ubuntu problem.
I'm sure it's not an Ubuntu problem.
marco@lap2-ciampix:~/git-gnome/gimp-help-2$ make pdf-it [SRC] src/preface/authors.xml
*** Making PDF (it) ...
[...]
'gimp.pdf' successfully built
the errors:
Missing character 최 ....
are due to this:
marco@lap2-ciampix:~/git-gnome/gimp-help-2/src$ grep -R "최" * preface/authors.xml: Choi Ji-Hui(최지희) (Korean)
marco@lap2-ciampix:~/git-gnome/gimp-help-2/src$ grep -R "本" * preface/authors.xml: SimaMoto,RyōTa (島本良太) (Japanese)
marco@lap2-ciampix:~/git-gnome/gimp-help-2/src$ grep -R "蔡" * preface/authors.xml: Cai Qian (蔡芊) (Chinese)that apparently I am not able to compile correctly inside my italian pdf.
Where is the problem? In Ubuntu or in the makefile or wherelse?
Makefile problem only if we fail to pass the correct parameters to dblatex. But I think it's a dblatex or LaTeX problem. (I don't know much more than how to type "dblatex" on the command line, though...)
Any hint?
What if you remove or comment out any non-Italien translator/contributor names in xml/it/preface/authors.xml? Or (maybe even better) just remove the original names if they contain Asian characters?
We/you can also consider commenting out the original Asian names in the main file 'stylesheets/authors.xml' (with a comment that these names are temporarily removed until we know how to properly create a PDF...). I think nobody will be offended if we do this.
Bye, Ulf
Die guten Christen sind am gefährlichsten - man verwechselt sie mit dem Christentum. -- Karlheinz Deschner