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

Re: tex-common: Please provide dh_installtex functions for packages that need only mktexlsr



Norbert Preining <preining@logic.at> wrote:

> On Die, 24 Okt 2006, Frank Küster wrote:
>> Yes, and don't forget to make it clear whether these trees are added to
>> the existing list, or replace it.
>
> Ok, I have submitted the code to the svn repository.
>
> Please check the man page (pod2man ./dh_installtex.1 > foo.1; man ./foo.1)
> on clearness of the explanation (and of course english).

I suggest the following changes (some more sectioning, remove the
"warning" since now it's just one of two paragraphs in this section, and
minor wording changes).  I'll commit this, but here's the diff for
convenient reading.

--- scripts/dh_installtex	(Revision 1888)
+++ scripts/dh_installtex	(Arbeitskopie)
@@ -31,17 +31,19 @@
 updating the ls-R databases, registering map files, new formats, 
 and new hyphenation patterns with TeX.
 
-Your package should depend on tex-common so that the
-update-* commands are available. (This program adds that dependency to
-${misc:Depends}.)
+Your package should depend on an appropriate version of tex-common so
+that the update-* commands are available. (This program adds that
+dependency to ${misc:Depends}.)
 
+=head1 SIMPLE USAGE: Registering Files 
+
 If you only install files into /usr/share/texmf and want to be sure that 
 mktexlsr is called in a correct way (e.g., also
 in the postrm script when there is no functional mktexlsr), simply call
 
 	dh_installtex
 
-[B<Warning:>] The ls-R databases are [B<only>] updated for the following
+The ls-R databases are [B<only>] updated for the following
 trees: /usr/share/texmf and /var/lib/texmf. Normal TeX related packages
 following the Debian TeX Policy should only install files into these 
 directories and /etc/texmf (which does not need a ls-R DB), so this is
@@ -55,15 +57,18 @@
 This will update the ls-R databases for /usr/share/texmf, /var/lib/texmf, and
 in addition tree1 and tree2.
 
-If in addition you have to install map files, language definitions, or 
-format definitions you can use three different methods to
-specify what should be installed:
+=head1 COMPLEX USAGE: Registering fonts, hyphenation patterns and formats
 
+If in addition you have to install map files, hyphenation patterns for
+additional languages, or format definitions you can use three
+different methods to specify what should be installed:
+
 1) B<Pre made config files:> These files can be specified with the
 different I<type>file= options, together with an optional priority.
-These files will be installed into /etc/texmf/I<configdir>/ for the
-respective type (for map files updmap.d, for language files language.d,
-and for format files fmt.d).
+I<type> can be one of map, format and language, and these files will be
+installed into /etc/texmf/I<configdir>/ for the respective type (for
+map files updmap.d, for language files language.d, and for format
+files fmt.d).
 
 Example:
 


-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: