Packaging "feynmf" LaTeX macros: some questions about new TeX policy
Dear Debian TeX list,
I've packaged feynmf (ITP bug #339513), a set of LaTeX macros that use
Metafont to create Feynman diagrams. (For those who aren't physicists,
Feynman diagrams are schematic illustrations that show how subatomic
particles interact. You can see examples at
http://en.wikipedia.org/wiki/Feynman_diagram for instance.)
The preliminary package may be obtained for inspection by adding these
lines to /etc/apt/sources.list and apt-get update'ing:
deb http://borex.princeton.edu/~kmccarty/ unstable main
deb-src http://borex.princeton.edu/~kmccarty/ unstable main
then "apt-get source feynmf" and/or "aptitude download feynmf".
Note: the source on CTAN is only available in a .zip file so I had to
repackage the orig.tar.gz :-(
I've tried to follow the new Debian TeX policy in the tex-common package
(version 0.10) in Sid, but as this is my first official LaTeX package,
and I have the impression the policy is still under heavy revision, I
have some questions.
1) How to ensure it's compatible and installable with both TeX Live and
teTeX?
2) Depending on the right version of the TeX directory structure? I've
arranged the .deb so it conforms to version 1.1 (please double-check
this). Right now I only Depend upon "tetex-bin (>= 3.0-9)", since
that's the first version of teTeX whose Debian changelog entry says it
follows version 1.1 of the TDS. Should I depend on tex-common instead,
and if so, which version?
3) What to do in the postinst/postrm scripts? Right now I just run
mktexlsr in both cases (checking to make sure it exists in the postrm).
The example maintainer scripts in the Debian TeX policy appear to be
for font packages so they don't help me too much.
Please CC me on replies since I'm not subscribed to this list.
best regards,
--
Kevin B. McCarty <kmccarty@princeton.edu> Physics Department
WWW: http://www.princeton.edu/~kmccarty/ Princeton University
GPG: public key ID 4F83C751 Princeton, NJ 08544
Reply to: