summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-31 00:37:02 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-31 00:37:02 +0000
commitda9fd1a6c0bfe9d4bcfabaa1ca801a670eef24e2 (patch)
tree7238e2d57508006b6affb0f2281f5ddb0e423406 /Master
parenta3ea7fbc59f239036782dab2ee4b0b955b27ed54 (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-xMaster/texmf/scripts/texlive/texdoc.tlu12
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