diff options
author | Karl Berry <karl@freefriends.org> | 2006-09-05 22:03:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-09-05 22:03:38 +0000 |
commit | df3d34383f9394122dbe42b06a13646e71f925a9 (patch) | |
tree | 58814a90cc06ed19f26626cc6cd13ea949b6dc06 /Build/tools/tlpkginfo | |
parent | a918ac801f047d8d252dfcdbde5eaa3e39a4fcb9 (diff) |
find ams/etc. in amslatex in the catalogue and ctan
git-svn-id: svn://tug.org/texlive/trunk@2084 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tools/tlpkginfo')
-rwxr-xr-x | Build/tools/tlpkginfo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/tools/tlpkginfo b/Build/tools/tlpkginfo index e4c1d9c2a39..aba2bb9a00d 100755 --- a/Build/tools/tlpkginfo +++ b/Build/tools/tlpkginfo @@ -36,6 +36,13 @@ sub find_ctan_dir my ($me) = @_; return 1 unless $me; + # regrettably, this list of amslatex packages is duplicated in ctan2tl. + # unavoidable since ctan throws them all together, but we don't want + # to, to preserve the package-per-directory name. + if ($me =~ /^(ams|amscls|amsltx2|amsmath|amsrefs)$/) { + $me = "amslatex"; + } + # The CTAN path to a package is sometimes stored in the TeX Catalogue, # but old entries don't have it, etc. Still, we want to use it if present. my $ctan_dir = &catalogue_find_ctan_path ($me); |