[Qgis-community-team] manual in pdf
Richard Duivenvoorde
richard at duif.net
Sun Oct 13 08:12:34 PDT 2013
On 13-10-13 11:29, Alexander Bruy wrote:
>> I uploaded the ja and ru generated on my laptop ere:
>> http://docs.qgis.org/testing/pdf/QGIS-testing-UserGuide-ru.pdf
>
> I've checked this pdf for Russian. Unfortunatelly, it looks very bad,
> images are too small, all Russian text used monospace font and
> as I can see distance between letters and words is the same.
Yep, I saw that, but I was hoping it had something todo with certain
character sets not available on my laptop...
> I tried to build PDF for version 1.8 on my laptop (Slackware64 14.0,
> texlive-20120701, sphinx installed in virtualenv as recommended in
> README) and it looks much better. But I can't build PDF from
> master branch, as
>
> make pdf LANG=ru
I tried it here on the 1.8 branch too, but that one is not working either.
> failed with message
> find: paths must precede expression: platex
> Usage: find [-H] [-L] [-P] [-Olevel] [-D
Ok, that problem I had on the QGIS server also. Apparently I have
another shell or find on my laptop. Instead of
find -name "*.png" -exec ebb -x {} \; \
You need:
find -name "*.png" -exec ebb -x {} +; \
(this creates bbx files for every png in that dir).
Please try again.
You can also just run the commands yourself (after the sphinx-build -b
latex step):
cd output/latex/ru
find -name "*.png" -exec ebb -x {} +
platex -interaction=batchmode QGISUserGuide.tex
platex -interaction=batchmode QGISUserGuide.tex
platex -interaction=batchmode QGISUserGuide.tex
NOTE: this is the way the japanese docs are working, I tried that one
because both ja and ru were not working on laptop OR server.
You can also try the 'normal' pdf workflow:
cd output/latex/ru
texi2pdf --quiet QGISUserGuide.tex
texi2pdf --quiet QGISUserGuide.tex
texi2pdf --quiet QGISUserGuide.tex
If you are able to run one of above ways, there is something you have on
you laptop which I do not have ...
But mainproblem is to be able to run it every night on our server...
Anyway.
Thanks,
Richard Duivenvoorde
More information about the Qgis-community-team
mailing list