[Qgis-community-team] manual in pdf

NUIMURA, Takayuki nuimura at nagoya-u.jp
Sat Oct 12 02:09:55 PDT 2013


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


Generated japanese pdf is here:
https://dl.dropboxusercontent.com/u/870568/foss4g/QGIS--UserGuide-ja.pdf






On 10/12/2013 02:10 AM, Richard Duivenvoorde wrote:
> On 08-10-13 13:40, Richard Duivenvoorde wrote:
>> On 08-10-13 12:57, Matteo Ghetta wrote:
>>> Hi all,
>>> I cannot find a link in the Documentation web-pages where to download
>>> the manual in pdf.
>>> Am I missing something?
>>
>> Matteo,
>>
>> nope. You are not missing anything.
>> this weekend I changed the way the doc pages are generated, and I did
>> not have time yet to fix the pdf build.
>> Besides that, there is/was indeed not yet a link to the (to be build)
>> pdf docs
>
> Ok, we have pdf's back.
>
> See:
> http://qgis.org/en/docs/index.html
> and
> http://docs.qgis.org/2.0/pdf/
> http://docs.qgis.org/1.8/pdf/
> http://docs.qgis.org/testing/pdf/
>
> I could not find a way to create dynamic links for them, so I just put
> them in a pdf dir like in the old site.
>
> PROBLEM: currently russian an japanese pdf generation fails. I hope
> someone from the community with deeper latex/pdf knowledge can dive into
> this.
>
> Regards,
>
> Richard Duivenvoorde
> _______________________________________________
> Qgis-community-team mailing list for organizing community resources such as documentation, translation etc..
> Qgis-community-team at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-community-team
>


-- 
Takayuki NUIMURA
Graduate School of Environmental Studies, Nagoya University
F3-1(200), Furo-cho, Chikusa-ku, Nagoya 464-8601, Japan
Phone/FAX:+81-52-789-3477

E-mail: nuimura at nagoya-u.jp
Skype: t_nuimura


More information about the Qgis-community-team mailing list