[tex-live] latex tpm dependencies

Norbert Preining preining at logic.at
Tue Oct 10 02:08:26 CEST 2006


Dear Duy!

On Die, 10 Okt 2006, Nguyen Thai Ngoc Duy wrote:
> While making ebuilds for texlive in order to integrate texlive into
> gentoo, I encountered geometry package depended on graphics but
> geometry.tpm didn't record this dependency. In geometry.sty, there was
> a line:
> \RequirePackage{keyval}%
> Such dependencies can be automatically discovered by grepping
> \RequirePackage and find the package that contains the corresponding
> file. I'm not familiar with tpm generation so I don't know how hard it
> is to do that. Is it plausible to do?

The dependencies are made by hand, added by hand. Of course it would be
nice to add these checks to the generation, but I don't see that this is
easily to be done in an automatic way, as it is hard to say which file
actually to check.

One could check all RunFiles wiht .sty/.cls name for RequirePackage as a
start.

If you want to write a script that does this, you are more than welcome.
You can take a lookat the tpm-factory, or some other perl programs to
see how towork with the tpmsin perl.

Ah yes, if you want to add this dependency, just edit the file.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>                    Università di Siena
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BOOK	...Man had always assumed that he was more intelligent than
	dolphins because he had achieved so much... the wheel, New York,
	wars, and so on, whilst all the dolphins had ever done was muck
	about in the water having a good time. But conversely the
	dolphins believed themselves to be more intelligent than man for
	precisely the same reasons.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy


More information about the tex-live mailing list