[tex-live] Re: language.dat handling in Debian

Frank Küster frank at debian.org
Mon Jul 18 16:29:43 CEST 2005


Norbert Preining <preining at logic.at> wrote:

> Again, I have created tex-common_0.3.3 which includes already
> update-language etc, and configuration of it.
>
> Please take a look at the package, maybe you have some useful comments.
> http://www.logic.at/people/preining/tl/

Looks good generally.  I have rewritten the manpage and dropped the
unreleased versions from the changelog (and fixed a typo from Thomas,
already notified him), a diff is attached.  And we should add a section
to the TeX Policy document - do you have time to write it?

Regards, Frank

-------------- next part --------------
diff --exclude=CVS -Nur tex-common-0.3.3/conf/language.d/00tex.cnf tex-common/conf/language.d/00tex.cnf
--- tex-common-0.3.3/conf/language.d/00tex.cnf	2005-07-16 16:21:17.000000000 +0200
+++ tex-common/conf/language.d/00tex.cnf	2005-07-18 16:18:27.686546525 +0200
@@ -24,7 +24,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% The hyphenation pattern files are in the dirctory:
+% The hyphenation pattern files are in the directory:
 %       texmf/tex/generic/hyphen
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
diff --exclude=CVS -Nur tex-common-0.3.3/debian/changelog tex-common/debian/changelog
--- tex-common-0.3.3/debian/changelog	2005-07-18 13:52:56.000000000 +0200
+++ tex-common/debian/changelog	2005-07-18 16:24:27.765880742 +0200
@@ -1,21 +1,12 @@
-tex-common (0.3.3) unstable; urgency=low
+tex-common (0.3.4) unstable; urgency=low
 
-  * change TEXMFONTMAPS and ENCFONTS according to the suggestions by Hans
-    Hagen. 
+  * Bug fix: "tex-common: generalize TEXFONTMAPS and ENCFONTS", thanks to
+    Norbert Preining and Hans Hagen (Closes: #318872).
+  * language.dat is now a generated file in VARTEXMF, and the actual
+    conffiles are in /etc/texmf/language.d.  This allows packages to add
+    hyphenation patterns - many thanks again to Norbert.
 
- -- Norbert Preining <preining at logic.at>  Mon, 18 Jul 2005 13:52:07 +0200
-
-tex-common (0.3.2) unstable; urgency=low
-
-  * language.dat is in /var/lib/texmf/..., fix the script 
-
- -- Norbert Preining <preining at logic.at>  Sat, 16 Jul 2005 19:44:08 +0200
-
-tex-common (0.3.1) unstable; urgency=low
-
-  * added support for language.d configuration of /etc/texmf/language.dat
-
- -- Norbert Preining <preining at logic.at>  Sat, 16 Jul 2005 16:43:17 +0200
+ -- Frank K?ster <frank at debian.org>  Mon, 18 Jul 2005 16:24:17 +0200
 
 tex-common (0.3) unstable; urgency=low
 
diff --exclude=CVS -Nur tex-common-0.3.3/debian/copyright tex-common/debian/copyright
--- tex-common-0.3.3/debian/copyright	2005-06-28 18:32:32.000000000 +0200
+++ tex-common/debian/copyright	2005-07-18 16:17:21.685823179 +0200
@@ -70,6 +70,9 @@
 		  Florent Rougon (2005) <f.rougon at free.fr>
   update-updmap.1: Atsuhito Kohda (2002,2003) <kohda at debian.org>
 		  Florent Rougon (2004,2005) <f.rougon at free.fr>
+  update-language: Norbert Preinig (2005) <preining at logic.at> based 
+ 		  on update-fmtutil
+  update-language.8: Frank K?ster (2005) <frank at debian.org>
 
 - conf/texmf.d/
 
diff --exclude=CVS -Nur tex-common-0.3.3/scripts/update-language.8 tex-common/scripts/update-language.8
--- tex-common-0.3.3/scripts/update-language.8	2005-07-16 16:41:48.000000000 +0200
+++ tex-common/scripts/update-language.8	2005-07-18 16:23:58.612057832 +0200
@@ -1,29 +1,36 @@
 .TH UPDATE-TEXMF 8
-.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
-.\" other parms are allowed: see man(7), man(1)
 .SH NAME
-update-language \- shell script to generate /etc/texmf/language.dat
+update-language \- shell script to generate language.dat
 .SH SYNOPSIS
 .B update-language
 .I "[options]"
 .br
 .SH DESCRIPTION
-This manual page documents briefly the
 .BR update-language
-command.
-This manual page was written for the Debian GNU/Linux distribution
-because the original script was designed for Debian packaging system.
+is a shell script to generate 
+.B /var/lib/texmf/tex/generic/config/language.dat
+.
 .PP
-.B update-language
-is a shell script to generate /etc/texmf/language.dat from files in 
-/etc/texmf/language.d/*.cnf
-.PP
-The tetex-bin provides 05tetex.cnf and we assume
-that other TeX related packages should use the name only with the lower cases.
-The two digit numeral determines the order in which update-language read a file.
+Users or package authors who want to use additional language patterns
+in LaTeX (and other formats that use this file) can put files with extension 
+.B .cnf
+into
+.B /etc/texmf/language.d/
+and invoke this script.  The two digit numeral determines the order in
+which update-language will put the entries into
+.B language.dat.
+Note that only the first entry is treated differently, otherwise the
+order does not matter.
 .PP
-A user who wants to customize /etc/texmf/language.dat should add, 
-for example, 22mymacro.cnf in /etc/texmf/language.d/ and run 'update-language'.
+A user who wants to customize 
+.B language.dat
+should create a file, for example, 
+.B 90mypatterns.cnf,
+in 
+.B /etc/texmf/language.d/ 
+and run
+.B update-language
+.
 .SH OPTIONS
 .TP
 .B \-v, --verbose
@@ -34,9 +41,11 @@
 --verbose. 
 .SH SEE ALSO
 .PP
-Further information can be found in
-/usr/share/doc/tetex-bin/README.Debian.gz
+Further information can be found in the Debian TeX Policy, 
+.B /usr/share/doc/tex-common/Debian-TeX-Policy.txt.gz
 .PP
 .SH AUTHOR
-This manual page was written by Atsuhito Kohda <kohda at debian.org>,
-for the Debian GNU/Linux system (but may be used by others).
+This manual page was written by Frank K?ster <frank at debian.org>,
+for the Debian GNU/Linux system, but may be used by others under the
+terms of the GNU General Public License, either version 2 or any later
+version. 
-------------- next part --------------


-- 
Frank K?ster
Inst. f. Biochemie der Univ. Z?rich
Debian Developer


More information about the tex-live mailing list