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

Re: release notes clarification and the situation for Romanian

(-doc and -www, please CC me)

2009/2/6 Eddy Petrișor <eddy.petrisor@gmail.com>:
>>>  - Should lenny's release notes be compilable on etch?
>> Yes.
> Thanks for the info, but currently we're having trouble compiling
> *cleanly* the pdf version even on lenny.

OK, after looking at the German PDF and seeing the difference, I
managed to workaround the bug in xmlroff by switching to dblatex.

It works well and I haven't seen any issues until now (diacritics are
properly rendered, formatting seems to be kept properly).

I made this on a lenny machine.

I will commit the changes (AFAIK Romanian is deactivated) and try to
see if I can build on etch (if necessary prepare the needed

Still, I am wondering, why wasn't Romanian using dblatex in the first place?

> It seems we have hit an xmlroff bug which prevents us from compiling the
> thing appropriately. The bug seems to be this:
> http://xmlroff.org/ticket/68

>> The build for www.debian.org will be performed on
>> www-master.debian.org, which is (and will be) running etch, with some
>> backported packages.  If you need extra backported packages, please
>> ensure that they're available via www.backports.org and let the
>> debian-admin team know.
> AFAICT, there are still some unsolved issues in lenny, less talk about
> etch (backports).

Now are fixed:

0 eddy@twix ~/usr/src/perso/__traduceri/release-notes/release-notes-trunk-svn
$ make html txt pdf LINGUA=ro architecture=all
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/about.dbk --po ro/about.po --localized ro/about.dbk
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/installing.dbk --po ro/installing.po --localized ro/installing.dbk
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/issues.dbk --po ro/issues.po --localized ro/issues.dbk
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/moreinfo.dbk --po ro/moreinfo.po --localized ro/moreinfo.dbk
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/old-stuff.dbk --po ro/old-stuff.po --localized ro/old-stuff.dbk
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/release-notes.dbk --po ro/release-notes.po --localized
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/upgrading.dbk --po ro/upgrading.po --localized ro/upgrading.dbk
PERLLIB=lib/ po4a-translate --format docbook --keep 0 --master
en/whats-new.dbk --po ro/whats-new.po --localized ro/whats-new.dbk
xsltproc --nonet --novalid --xinclude --stringparam draft.mode yes
--stringparam profile.arch
	      --stringparam profile.condition "fixme;g-i;no-initrd;" \
ro/release-notes.dbk | xsltproc --nonet --novalid --xinclude
--stringparam draft.mode yes
- > ro/release-notes.all.xml
mkdir -p ro/release-notes.all.html/images
cp debian.css ro/release-notes.all.html
cp /usr/share/xml/docbook/stylesheet/nwalsh/images/*.png \
cd ro && xsltproc --nonet --novalid --xinclude --stringparam
draft.mode yes -o release-notes.all.html/ \
	    --stringparam html.ext .ro.html \
Writing ch-about.ro.html for chapter(ch-about)
Writing ch-whats-new.ro.html for chapter(ch-whats-new)
Writing ch-installing.ro.html for chapter(ch-installing)
Writing ch-upgrading.ro.html for chapter(ch-upgrading)
Writing ch-information.ro.html for chapter(ch-information)
Writing ch-moreinfo.ro.html for chapter(ch-moreinfo)
Writing ap-old-stuff.ro.html for appendix(ap-old-stuff)
Writing relnotes-index.ro.html for index(relnotes-index)
Writing relnotes-glossary.ro.html for glossary(relnotes-glossary)
Writing index.ro.html for book
xsltproc --nonet --novalid --xinclude --stringparam draft.mode yes
ro/release-notes.all.xml \
	    | w3m -o display_charset=UTF-8 -cols 70 -dump -no-graph -T
text/html > ro/release-notes.all.txt
[ -f ro/ifxetex.sty ] || cp ifxetex.sty ro/
xsltproc --nonet --novalid --xinclude --stringparam draft.mode yes
ro/release-notes.all.xml | dblatex --style=db2latex
--xsl-user=hyphenation.xsl --param=lingua=ro --param=draft.mode=yes
--output=ro/release-notes.all.pdf -
Build the listings...
XSLT stylesheets DocBook -  LaTeX 2e (0.2.9-3)
No template matches subtitle in section.
Build stdin.pdf
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
processing index /tmp/tmpAvebfa/stdin_tmp.idx...
This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done
(4 attributes redefined, 0 ignored).
Scanning input file /tmp/tmpAvebfa/stdin_tmp.idx....done (201 entries
accepted, 0 rejected).
Sorting entries.....done (1613 comparisons).
Generating output file /tmp/tmpAvebfa/stdin_tmp.ind....done (194 lines
written, 0 warnings).
Output written in /tmp/tmpAvebfa/stdin_tmp.ind.
Transcript written in /tmp/tmpAvebfa/stdin_tmp.ilg.
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
'release-notes.all.pdf' successfully built
0 eddy@twix ~/usr/src/perso/__traduceri/release-notes/release-notes-trunk-svn $

"Imagination is more important than knowledge" A.Einstein

Reply to: