--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: dblatex: produces invalid title, section titles, headers for Russian with db2latex style
- From: Lev Lamberov <l.lamberov@gmail.com>
- Date: Thu, 04 Jun 2015 23:43:10 +0500
- Message-id: <20150604184310.3205.58425.reportbug@rosencrantz>
Package: dblatex
Version: 0.3.5-2
Severity: normal
Dear Maintainer,
I've found out that building of PDF with Russian translation of Release Notes produces PDF file with some text problems. That is, almost all the text is correct except title, section titles, headers. All these problematic parts of the text contain not Russian characters, but some meaningless stuff. Seems that some fonts, declarations or something else is missing. I've tried to build on local machine and got the same result. Another strange thing is that PDF file with Russian translation of Release Notes for wheezy is correct, i've tried to figure out the difference in declarations between .po files from wheezy and trunk branches, but seems that everything is the same.
I tried to build wheezy branch of release-note on jessie machine and got the same problem. Seems that some change in building tools in jessie introduced it. Moreover, the result of executing
xsltproc --nonet --novalid --xinclude --stringparam draft.mode maybe /home/ktdr/freedom/release-notes/wheezy/dblatex.xsl ru/release-notes.amd64.xml
is still OK. The problem occurs after, say,
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=ru --param=monoseq.hyphenation=nohyphen --output=ru/release-notes.amd64.pdf -
That is, only in resulting PDF.
Further, I tried to play with dblatex options and discovered that changing --style=db2latex to --style=simple or --style=native resolves the problem. That is, title, sections titles, headers are correct with that style. Seems that's a bug in dblatex.
Cheers!
Lev Lamberov
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dblatex depends on:
ii docbook-xml 4.5-7.2
ii python 2.7.9-1
ii python-apt 0.9.4
ii texlive 2014.20141024-2
ii texlive-bibtex-extra 2014.20141024-1
ii texlive-extra-utils 2014.20141024-1
ii texlive-latex-extra 2014.20141024-1
ii texlive-math-extra 2014.20141024-1
ii xsltproc 1.1.28-2+b2
Versions of packages dblatex recommends:
ii libxml2-utils 2.9.1+dfsg1-5
Versions of packages dblatex suggests:
ii docbook 4.5-5.1
ii ghostscript 9.06~dfsg-2
ii imagemagick 8:6.8.9.9-5
ii latex-cjk-all 4.8.3+git20140831-1
ii lmodern 2.004.4-5
ii okular [pdf-viewer] 4:4.14.2-2
pn opensp <none>
ii texlive-lang-all 2014.20141024-1
ii texlive-lang-cyrillic 2014.20141024-1
ii texlive-xetex 2014.20141024-2
ii transfig 1:3.2.5.e-4
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi all,
> Package: texlive-xetex - can not be closed!
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787759
> The first of this bugs is against the texlive software itself, which
> is still unsolved ATM, so it cannot be closed.
THis is actually a bug in the font selection - or the gs fonts,
and is by now fixed in unstable with new binaries and removed
symlinks for the URW fonts not to mess up fontconfig.
I have just now checked out trunk of release notes, and built the
Russian version on sid, and all looks fine.
I thus close this bug.
All the best
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
--- End Message ---