diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-31 00:37:02 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-31 00:37:02 +0000 |
commit | da9fd1a6c0bfe9d4bcfabaa1ca801a670eef24e2 (patch) | |
tree | 7238e2d57508006b6affb0f2281f5ddb0e423406 /Master | |
parent | a3ea7fbc59f239036782dab2ee4b0b955b27ed54 (diff) |
added an 'alias' notion
git-svn-id: svn://tug.org/texlive/trunk@8423 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/texdoc.tlu | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/texdoc.tlu b/Master/texmf/scripts/texlive/texdoc.tlu index 7c66896497d..2110f937944 100755 --- a/Master/texmf/scripts/texlive/texdoc.tlu +++ b/Master/texmf/scripts/texlive/texdoc.tlu @@ -52,6 +52,18 @@ while table.maxn(arg) > 0 and string.match(arg[1],'^%-') do end end +--[[ aliases ]] +function alias_subs (name) + if name == "eg-live" or name == "eg-texlive" then + return "eg-texlive-en" + else + return name + end +end +for i, name in ipairs(arg) do + arg[i] = alias_subs(name) +end + --[[ function definitions ]] function list_iter (t) local i = 0 |