diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-12 00:31:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-12 00:31:31 +0000 |
commit | 70e387eb63ce4723858c48592208e193dec294f3 (patch) | |
tree | 61ec42df871a70687151ed4a6d1bc6a5c81dc53c /Master/texmf-dist/tex/latex/stex/omdoc/omdoc.sty.ltxml | |
parent | 2cee8f6dcf8e9596b5cfe9d1f3e55c61b261a320 (diff) |
stex 0.9.3 (11nov10)
git-svn-id: svn://tug.org/texlive/trunk@20410 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stex/omdoc/omdoc.sty.ltxml')
-rw-r--r-- | Master/texmf-dist/tex/latex/stex/omdoc/omdoc.sty.ltxml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/stex/omdoc/omdoc.sty.ltxml b/Master/texmf-dist/tex/latex/stex/omdoc/omdoc.sty.ltxml index 181b90aa0d9..13fa706247e 100644 --- a/Master/texmf-dist/tex/latex/stex/omdoc/omdoc.sty.ltxml +++ b/Master/texmf-dist/tex/latex/stex/omdoc/omdoc.sty.ltxml @@ -73,6 +73,9 @@ DefEnvironment('{description}', ."</omdoc:omgroup>", properties=>sub { beginItemize('description'); }, beforeDigestEnd=>sub { Digest(T_CS('\group@item@maybe@unwrap')); }); +DefConstructor('\printindex','<omdoc:index/>'); +DefConstructor('\tableofcontents',"<omdoc:tableofcontents level='2'/>"); +DefConstructor('\bibliography{}',"<omdoc:bibliography files='#1'/>"); DefKeyVal('ignore','type','Semiverbatim'); DefKeyVal('ignore','comment','Semiverbatim'); DefEnvironment('{ignore} OptionalKeyVals:ignore', @@ -96,7 +99,7 @@ sub omdocColorMacro { DefMacro('\@omdoc@color{}', sub { MergeFont(color=>$_[1]->toString); return; });#$ DefConstructor('\@omdoc@color@content[]{}', "?#isMath(#2)(<omdoc:phrase ?#1(style='color:#1')()>#2</omdoc:phrase>)"); -foreach my $color(qw(blue red green magenta cyan brown yellow)) { +foreach my $color(qw(black gray blue red green cyan magenta brown yellow orange)) { DefMacro("\\".$color.'{}', sub { omdocColorMacro($color, @_); }); }#$ DefConstructor('\newpage',''); Tag('omdoc:ignore',afterOpen=>\&numberIt,afterClose=>\&locateIt); |