Bug#821119: [debian-refcard] change build mechanism to improve layout for cs, el and sk

2016-04-27 Thread Holger Wansing
Control: tags -1 + pending


Holger Wansing  wrote:
> While playing around with this, I found that there is probably room
> for improvement for the languages Czech, Greek and Slovak. 
> When building the pdfs with
>   make USE_DBLATEX=2 refcard-XX-a4.pdf
> (this means using dblatex instead of xmlroff) I get a pdf with a correct 
> copyright notice, coloured URLs and better usage of the available space 
> on the sheet (somewhat smaller fonts, and no unused space as it was 

Proofreaders for all these three languages have confirmed, that text
renders fine with dblatex, so I have committed this.



-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/




Bug#821119: [debian-refcard] change build mechanism to improve layout for cs, el and sk

2016-04-17 Thread Holger Wansing
Hi,

"W. Martin Borgert"  wrote:
> On 2016-04-15 20:10, Holger Wansing wrote:
> > When building the pdfs with
> > make USE_DBLATEX=2 refcard-XX-a4.pdf
> > (this means using dblatex instead of xmlroff) I get a pdf with a correct 
> > copyright notice, coloured URLs and better usage of the available space 
> 
> Note, that when I started the refcard, I tried four different
> toolchains: dblatex, docbook2latex(?), fop, and xmlroff. I don't
> remember now, but neither docbook2latex nor fop did work well
> for this usecase. Depending on the language I had acceptable
> results with dblatex or xmlroff. Unfortunately, both dblatex
> and xmlroff are more or less "one person projects". While
> xmlroff had no further development since many years, dblatex is
> alive and kicking, integrating patches from others and getting
> better with every release.
> 
> Maybe it is time to focus on only one tool, dblatex, and fix
> remaining issues with it?

The intend to change cs, el and sk to use dblatex is a step in exactly
that direction then :-)

That would leave only ar, he, hi, ja, zh_CN and zh_TW for xmlroff.
And for that languages I am unable to build promising results with
dblatex, at least with the actual buildchain.

And more aggressive changes on the buildchain are probably out of my
skills. 
However the Hebrew translator has already volunteered on working to 
improve the build for he, so maybe there is a chance for some 
improvement for he, if not for other languages as well.



Holger

-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/




Bug#821119: [debian-refcard] change build mechanism to improve layout for cs, el and sk

2016-04-17 Thread W. Martin Borgert
On 2016-04-15 20:10, Holger Wansing wrote:
> When building the pdfs with
>   make USE_DBLATEX=2 refcard-XX-a4.pdf
> (this means using dblatex instead of xmlroff) I get a pdf with a correct 
> copyright notice, coloured URLs and better usage of the available space 

Note, that when I started the refcard, I tried four different
toolchains: dblatex, docbook2latex(?), fop, and xmlroff. I don't
remember now, but neither docbook2latex nor fop did work well
for this usecase. Depending on the language I had acceptable
results with dblatex or xmlroff. Unfortunately, both dblatex
and xmlroff are more or less "one person projects". While
xmlroff had no further development since many years, dblatex is
alive and kicking, integrating patches from others and getting
better with every release.

Maybe it is time to focus on only one tool, dblatex, and fix
remaining issues with it?



Bug#821119: [debian-refcard] change build mechanism to improve layout for cs, el and sk

2016-04-15 Thread Holger Wansing
Package: debian-refcard
Tags: patch
thanks


I saw that the pdfs for some languages suffer from some problems,
for example the copyright notice does not display all lines being
set up in the po file. 
While playing around with this, I found that there is probably room
for improvement for the languages Czech, Greek and Slovak. 
When building the pdfs with
make USE_DBLATEX=2 refcard-XX-a4.pdf
(this means using dblatex instead of xmlroff) I get a pdf with a correct 
copyright notice, coloured URLs and better usage of the available space 
on the sheet (somewhat smaller fonts, and no unused space as it was 
before for Greek). And Greek gets some free space on the sheet, that was
very critical before, as the Greek language needs much space apparently.
There was absolutely no free space on the sheet before for Greek, the
whole space was needed.


A patch is attached, which changes the Makefile to build the above
languages accordingly.


What is needed next is a proofread of the resulting pdfs by mother-tongue 
speakers for that languages, to ensure the displaying of fonts is still
ok, and the like.
I will try to get some proofreading on the respective l10n lists.



Best regards
Holger


-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/

Index: Makefile
===
--- Makefile	(Revision 11101)
+++ Makefile	(Arbeitskopie)
@@ -50,7 +50,7 @@
 ifeq ($(USE_DBLATEX),2)
 	XMLROFF_LANGS=
 else
-	XMLROFF_LANGS=ar cs el he hi ja ml sk zh_CN zh_TW
+	XMLROFF_LANGS=ar he hi ja ml zh_CN zh_TW
 endif
 else
 XMLROFF_LANGS=$(A4_LANGS)