Re: language.dat handling in Debian
Hi Frank, hi maintainers!
(Taking texlive and Ivan of the reply list)
On Mon, 18 Jul 2005, Frank Küster wrote:
> Looks good generally. I have rewritten the manpage and dropped the
> unreleased versions from the changelog (and fixed a typo from Thomas,
Thanks
> to the TeX Policy document - do you have time to write it?
Attached is a draft. What I don't know is what to do with remove without
purge stuff?! Do you have an idea?
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
sip:preining@at43.tuwien.ac.at +43 (0) 59966-690018
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MARYTAVY (n.)
A person to whom, under dire injunctions of silence, you tell a secret
which you wish to be fare more widely known.
--- Douglas Adams, The Meaning of Liff
--- Debian-TeX-Policy.sgml.orig 2005-07-18 17:19:55.000000000 +0200
+++ Debian-TeX-Policy.sgml 2005-07-18 17:32:12.000000000 +0200
@@ -12,7 +12,7 @@
<name>The Debian teTeX mailing List</name>
<email>debian-tetex-maint@lists.debian.org</email>
</author>
- <version>version 0.2, 2005-02-17</version>
+ <version>version 0.3, 2005-07-18</version>
<abstract>
This document provides a set of rules for the packaging of
@@ -138,7 +138,8 @@
Currently, the configuration update programs provided by
<package>tex-common</package> are:
<file>update-texmf</file>, <file>update-fmtutil</file>,
- <file>update-updmap</file>, and <file>updmap</file>.
+ <file>update-language</file>, <file>update-updmap</file>,
+ and <file>updmap</file>.
</p>
</item>
@@ -303,12 +304,16 @@
<p>
The central configuration file for TeX applications is
<file>/etc/texmf/texmf.cnf</file>, the central font configuration
- file is <file>/var/lib/texmf/web2c/updmap.cfg</file>, and format
+ file is <file>/var/lib/texmf/web2c/updmap.cfg</file>, the central
+ language/hyphenation configuration
+ <file>/var/lib/texmf/tex/generic/config/language.dat</file>,
+ and format
generation is determinded by
- <file>/var/lib/texmf/web2c/fmtutil.cnf</file>. All three files are
+ <file>/var/lib/texmf/web2c/fmtutil.cnf</file>. All four files are
generated by configuration update programs from configuration
files in subdirectories of <file>/etc/texmf</file>. For
- <file>updmap.cfg</file> and <file>fmtutil.cnf</file>, this is the only
+ <file>updmap.cfg</file>, <file>language.dat</file> and
+ <file>fmtutil.cnf</file>, this is the only
method of configuration. <file>texmf.cnf</file> can be edited
manually by local system administrators, and changes will be
handled by ucf. Package installation scripts, however, should
@@ -343,8 +348,10 @@
</p>
<p>
- Packages that changed <file>updmap.cfg</file> or
- <file>fmtutil.cnf</file> must call <prgn>updmap-sys</prgn> or
+ Packages that changed <file>updmap.cfg</file>,
+ <file>language.dat</file> or
+ <file>fmtutil.cnf</file> must call <prgn>updmap-sys</prgn>,
+ <prgn>update-language</prgn>, or
<prgn>fmtutil-sys</prgn>, respectively. They must make sure
to issue the necessary <prgn>mktexlsr</prgn> commands before
and after this.
@@ -391,6 +398,22 @@
disabling the <prgn>updmap</prgn> configuration files.
</p>
</sect1>
+
+ <sect1>
+ <heading>Language/Hyphenation configuration</heading>
+ <p>
+ A package that provides additional hyphenation patterns for
+ TeX should put the actual hyphenation file into the respective
+ places in <var>TEXMFMAIN</var>, and have them registered by
+ putting a configuration file with extension <tt>.cnf</tt> into
+ <file>/etc/texmf/language.d</file> and calling
+ <tt>update-language</tt>. The file contents will then be
+ incorporated into
+ <file>/var/lib/texmf/tex/generic/config/language.dat</file>,
+ the effective configuration file for TeX and friends'
+ hyphenations.
+ </p>
+ </sect1>
</sect>
<sect>
Reply to: