Bonsoir,

Romain a déjà fait référence à quelques questions de ma part sur le build de hgbook-fr. Je voulais essayer de contribuer à la traduction du livre sur hg.

Suite à ses conseils, j'ai commencé par faire un build de la version anglaise. Après plusieurs péripéties, ça a fini par passer. Je suis sous Ubuntu 9.04; j'ai trouvé pas mal d'aide ici: http://mercurial.selenic.com/wiki/BuildingMercurialBook

Donc, j'ai pu générer le html et le pdf de la version anglaise.

Maintenant... je m'attaque à la version française, et là ça plante. Si j'essaye:


$ make LINGUA=fr all
for f in html html-single pdf; do \
     make LINGUA=fr $f; \
   done
make[1]: Entering directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'
make[1]: *** No rule to make target `po/fr.po', needed by `build/fr/source/hgbook.xml'. Stop.
make[1]: Leaving directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'
make[1]: Entering directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'
make[1]: *** No rule to make target `po/fr.po', needed by `build/fr/source/hgbook.xml'. Stop.
make[1]: Leaving directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'
make[1]: Entering directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'
make[1]: *** No rule to make target `po/fr.po', needed by `build/fr/source/hgbook.xml'. Stop.
make[1]: Leaving directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'
make: *** [all] Error 2


Et si j'essaye

$ make LINGUA=en all

for f in html html-single pdf; do \
     make LINGUA=en $f; \
   done
make[1]: Entering directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'
mkdir -p build/en/source/figs
cp en/figs/*.png build/en/source/figs
cp stylesheets/hgbook.css build/en/source
(cd en; xmllint --nonet --noent --xinclude --postvalid --output ../build/en/source/hgbook.xml.tmp 00book.xml)
ch02-tour-basic.xml:415: parser error : error parsing attribute name
 username = Firstname Lastname <email.addr...@domain.net>
                                             ^
ch02-tour-basic.xml:415: parser error : attributes construct error
 username = Firstname Lastname <email.addr...@domain.net>
                                             ^
ch02-tour-basic.xml:415: parser error : Couldn't find end of Start Tag email.address line 415
 username = Firstname Lastname <email.addr...@domain.net>
                                             ^
ch02-tour-basic.xml:467: parser error : error parsing attribute name
 user:        Censored Person <censored.per...@example.org>
                                              ^
ch02-tour-basic.xml:467: parser error : attributes construct error
 user:        Censored Person <censored.per...@example.org>
                                              ^
ch02-tour-basic.xml:467: parser error : Couldn't find end of Start Tag censored.person line 467
 user:        Censored Person <censored.per...@example.org>
                                              ^
ch02-tour-basic.xml:625: parser error : chunk is not well balanced

^
00book.xml:77: parser error : Failure to process entity ch02
 &ch02;
       ^
00book.xml:77: parser error : Entity 'ch02' not defined
 &ch02;
       ^
make[1]: *** [build/en/source/hgbook.xml] Error 1
make[1]: Leaving directory `/home/jean-marie/Documents/dev/hgbook-fr_work2'



Je n'y connais quasiment rien à docbook, xsl n co. Si quelqu'un à une idée, ça serait super. Merci,

   Jean-Marie.


--
To unsubscribe, send mail to hgfr-unsubscr...@flibuste.net.

Répondre à