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

Re: Problem building RN's PDF in some languages



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

Le 02/05/2013 17:54, Miguel Figueiredo a écrit :
> 
> elmig@toshiba:~/debian/ddp/manuals/trunk/release-notes$ make pdf LINGUA=pt architecture=all 
> export TEXINPUTS="$(pwd)/pt:"; \
> 	xsltproc --nonet --novalid --xinclude --stringparam draft.mode maybe /home/elmig/debian/ddp/manuals/trunk/release-notes/dblatex.xsl pt/release-notes.all.xml | dblatex --backend=xetex --style=db2latex --xslt-opts=--nonet --no-external --xsl-user=hyphenation.xsl --param=draft.mode=maybe --param=format=a4 --param=glossterm.auto.link=1 --param=lingua=pt --param=monoseq.hyphenation=nohyphen --output=pt/release-notes.all.pdf -

For what it’s worth, a possible trick is to turn on debug options here,
and run the last command with the “-d -V” switches of dblatex:

	xsltproc --nonet […] | dblatex -d -V --backend=xetex […]

Then, since the temporarily files are kept, one can follow the first
error messages:

> Build stdin.pdf
> xelatex failed
> stdin.tex:2069: Argument of \language@active@arg" has an extra }.
> stdin.tex:2069: leading text: ...ode executar a configuração imediata"}

Then open stdin.tex at the line 2069 and try to figure out the problem
(that was a pair of quotes in a subtitle, now replaced by the
appropriate <quote> tags).

Not so scary, is it?

Cheers

David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRhHQ1AAoJELgqIXr9/gny5CQP/A2BKbjjD4A0OndFdAHkaxC+
Fe1V+mn64hdwWQWLjCwJFrmSbJT6vncZfbcq8UgRyaaQR4PfUOR4oY78uEfdhbW3
5wcepNkVRV/hWOUhOPA7Asr6JwtAhvhZ+yu+EvN/ZkSWxxfJNLCDLB21V2/h/vSC
901tbmjFkITKeau+A2wpHqB370DnCDPBrgWm3HT1FlivJPi4AiTTClR7Ji+Yawnd
LhKxmzgYjGb1AWiD3yFbKQz9EXL2WIe4cyoYnTeVRQTxPoLB5ENUdryE2n8UtJ51
FDRWRucv9OAraqQU99cIG4TWhe6WfYJdA6NkCEmQKGeKmktd9h6yqJ/eZJNWJOsa
cp3mdMHAGbU3KFB/BRa85fsmeBWK71Tin5SUVQLJT8an2VAiQN1k1IAD6ptYZ2Ef
ClMNsuXa6lLQgUqmYreV7JjL/ukgDhi8rlV0CslUvlT/yRuvxT+2IYAHmjxN5aB5
Mj8mZKNg9lV1L3mpOT9ziXW50zdB28JKkA7KaZOcU52xUgnvgVzo5r4YSd9QaaMw
mNd+cOTg/Co/8RyIycmMxYkInPU+Sw4BhAHzxzOucnW5E4YXfoY3HKxQbrlz7AkM
SWmt8/9D+DE6fK1xliDGs2cIYoMWCt6R5d9bWnAfMibkV0yhnKToiweVxTS+cFWv
eeeO0P8n9AcvFR0kIbrL
=1fy9
-----END PGP SIGNATURE-----


Reply to: