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

latex-cjk and dh_installtex and generated config files



Dear Danai!

I found another stupid error in dh_installtex which expressed itself in
creating wrong dvips config files. If oyu take a look into
	/usr/share/texmf/dvips/config/
you see
	config.,bkaiu  config.,garuda  config.,gkaiu   config.,wadalab
	config.,bsmiu  config.,gbsnu   config.,norasi
(besides maybe others).

This is due to an typo error (in fact copy and paste error with adaption
of a variable) in dh_installtex. It is already fixed in the svn depot,
but you should know this for build-depending on 0.19 before doing the
next upload.

The diff is really simple:
--- dh_installtex.orig  2006-03-09 06:49:57.000000000 +0100
+++ dh_installtex       2006-03-09 06:49:35.000000000 +0100
@@ -239,7 +239,7 @@
 sub extract_map {
        my ($line,$mapdoconfig) = @_;
        if ($mapdoconfig == 0) { return ""; }
-       if ($_ =~ m/^[[:space:]]*([#[:space:]]*)[[:space:]]*(Mixed)?Map[[:space:]]*(.*\.map)[[:space:]]*(#.*)?$/) {
+       if ($line =~ m/^[[:space:]]*([#[:space:]]*)[[:space:]]*(Mixed)?Map[[:space:]]*(.*\.map)[[:space:]]*(#.*)?$/) {
                my $comment = $1;
                my $map = $3;
                if (($comment eq "") || ($mapdoconfig == 2)) {

Sorry for the inconvenience!

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
FRANT (n.)
Measure. The legal minimum distance between two trains on the District
and Circle line of the London Underground. A frant, which must be not
less than 122 chains (or 8 leagues) long, is not connected in any way
with the adjective 'frantic' which comes to us by a completely
different route (as indeed do the trains).
			--- Douglas Adams, The Meaning of Liff



Reply to: