[Qgis-community-team] Problem with japanese doc translation
NUIMURA, Takayuki
nuimura at nagoya-u.jp
Mon Feb 4 17:42:59 PST 2013
Dear Otto
I have heard about the compilation error of Japanese locale by Yoichi.
In Japanese LaTeX community, it is known that, pdftex (pdflatex) cause
error for compilation with Japanese font.
Hence, we Japanese use platex + dvipdfmx command as alternative of pdftex.
And platex command cannot read png image format. A bounding box file
(*.bb) must be generate before compilation.
Although usage of if function for ja locale might not smart way, I
suggest following modification of post_translate.sh:
if [[ $1 = "ja" ]]; then
# Japanese cannot build using pdflatex
find -name "*.png" -exec ebb {} \;
platex QGISUserGuide.tex
platex QGISUserGuide.tex
dvipdfmx QGISUserGuide.dvi
else
# need to build 3x to have proper toc and index
texi2pdf --quiet QGISUserGuide.tex
texi2pdf --quiet QGISUserGuide.tex
texi2pdf --quiet QGISUserGuide.tex
fi
I attached the modified script.
While compilation using the modified script, 2 or 3 times inputenc error
are shown. But compilation will be done successfully after typing Enter key.
On 02/05/2013 06:38 AM, Yoichi Kayama wrote:
> Dear Otto
>
> Thank you for your e-mail.
> I know about that problem.
> I think there are some bad configuration of Latex for Japanese.
> I'm not familiar with Latex.
> Please give me time to solve this problem.
> I want to clarify the problem and ask for help to the Japanese
> community members familiar with LaTex.
>
> Best Regards
>
> Yoichi
>
>
>
>
>
> 2013/2/5 Otto Dassau <dassau at gbd-consult.de>:
>> Dear Kayam,
>>
>> the japanese docs don't build properly since End of January.
>> http://docs.qgis.org/pdf/ Could you please have a look and fix the errors in
>> the translation branch "manual_en_v.1.8"?
>>
>> Regards
>> Otto
>>
--
Takayuki NUIMURA
Graduate School of Environmental Studies, Nagoya University
D2-1(510), Furo-cho, Chikusa-ku, Nagoya 464-8601, Japan
Phone/FAX:+81-52-789-3479
E-mail: nuimura at nagoya-u.jp
Skype: t_nuimura
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post_translate.sh
Type: application/x-shellscript
Size: 2705 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-community-team/attachments/20130205/26709c29/attachment.bin>
More information about the Qgis-community-team
mailing list