summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/isodoc/listkeys
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-02-22 00:14:58 +0000
committerKarl Berry <karl@freefriends.org>2012-02-22 00:14:58 +0000
commit24e68c3d328456d62a51f80bc3be2112f6f6c89a (patch)
tree9e09ca3316da1b07a10e29365ba6fe86610b2ef0 /Master/texmf-dist/doc/latex/isodoc/listkeys
parent001c3b3f1c1276d6502d5b744a00590284ba2068 (diff)
isodoc (21feb12)
git-svn-id: svn://tug.org/texlive/trunk@25464 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/isodoc/listkeys')
-rw-r--r--Master/texmf-dist/doc/latex/isodoc/listkeys9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/isodoc/listkeys b/Master/texmf-dist/doc/latex/isodoc/listkeys
index 44064c02369..9ce823d1f1f 100644
--- a/Master/texmf-dist/doc/latex/isodoc/listkeys
+++ b/Master/texmf-dist/doc/latex/isodoc/listkeys
@@ -22,7 +22,12 @@ ARGV.push('isodoc.dtx')
a = []
# find keys which have a corresponding command:
-a.push($1) if ~ /\\define@key\{isodoc\}\s*\{(.*)\}\s*(\[.*?\])?\s*\{\\def\\/ while gets
+while x=gets
+ if x =~ /\\define@key\{isodoc\}\s*\{(.*?)\}/
+ a.push($1)
+ end
+end
+
a.sort!
case type
when 'defs'
@@ -48,4 +53,4 @@ case type
usage
end
-# $Id: listkeys,v 1.4 2010-01-01 21:59:42 wybo Exp $
+# $Id: listkeys,v 1.5 2012/02/21 16:48:58 wybo Exp $