Torstein Dybdahl wrote:

Hi!

I was wondering if it was a good idea to make rpms of the different styles and fonst. etc the latex packages
from CTAN.


My idea was to make a sort of tetex-contrib package with different styles, fonts etc taken from the CTAN misc and contrib
archive.


Many of the packages have missing install information and may be for a beginner in Latex difficult to use. By providing as many as possible packages and style, etc for LaTex, Mandrake could become the best Linux distribution for LaTeX users.

Not exactly. Macro packages doesn't have missing documentation. All the documentations is contained in the tetex-doc package which is often sacrified for space reasons from the public ISO images (the tetex-doc package is in the boxed CDs or on the network MDK 9.1/cooker tree).


I am not sure if the best place for the Latex packages would be in the Tetex-rpm or in some sort of Tetex-contrib rpm.

Depends on the macro package; if the package has a reasonable size and it's useful I already generally include it in the main tetex src.rpm. But the important is that its license would allow this. There are many LaTeX packages which doesn't have a valid distributable license for us and for teTeX (e.g. FoilTeX, or the same Swedish hyphenation pattern).


I' am willing to make such an rpm, but need input in the best way to solve this.


Input on this would be nice.
Especially if this is a good or bad idea?

Of technical issues.
Do you have some input on how to register new packages in the global tetex environment?


Some tips on how to best solve this?

Regards Torstein Dybdahl


Generally if the package contains only macro for LaTeX then the important is to rebuild the tetex database in /usr/share/texmf/ls-R using %post/%postun scripts with texhash (or mktexlsr) command (see the tetex SPEC file).

Instead if the macro package provides or needs to rebuild a format
file or provides also fonts then the proper entry should be
added in config files (e.g. fmtutil, updmap, etc). See for instance cmsuper
SPEC file.

Bye.
Giuseppe.




Reply via email to