summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stex/sref/sref.sty.ltxml
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-20 22:30:22 +0000
committerKarl Berry <karl@freefriends.org>2010-07-20 22:30:22 +0000
commitcdfe96a3444a4d0664b9702c4ff6fe6622257834 (patch)
tree577232accd4bf41d7480fae7c177ceef147c8fea /Master/texmf-dist/tex/latex/stex/sref/sref.sty.ltxml
parent47e2d96a8faed88dfedd17ca5352227d585a6710 (diff)
stex update once more
git-svn-id: svn://tug.org/texlive/trunk@19548 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stex/sref/sref.sty.ltxml')
-rw-r--r--Master/texmf-dist/tex/latex/stex/sref/sref.sty.ltxml33
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/stex/sref/sref.sty.ltxml b/Master/texmf-dist/tex/latex/stex/sref/sref.sty.ltxml
new file mode 100644
index 00000000000..2157be90a8a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/stex/sref/sref.sty.ltxml
@@ -0,0 +1,33 @@
+package LaTeXML::Package::Pool;
+use strict;
+use LaTeXML::Package;
+DeclareOption('extrefs','');
+RequirePackage('omd');
+DefConstructor('\sref[]{}',
+ "Section <omdoc:ref type='cite' xref='#2'/>");
+DefConstructor('\srefs[]{}',
+ "Section <omdoc:ref type='cite' xref='#2'/>");
+DefConstructor('\srefl[]{}',
+ "Section <omdoc:ref type='cite' xref='#2'/>");
+DefConstructor('\spageref[]{}',
+ "Section <omdoc:ref type='cite' xref='#2'/>");
+DefConstructor('\makeextrefs{}','');
+DefConstructor('\extref[]{}',
+ "Section <omdoc:ref type='cite' xref='#2'/>");
+DefConstructor('\theextref','');
+DefConstructor('\extrefstyle{}{}',"");
+DefConstructor('\inputrefs{}{}','');
+DefEnvironment('{sequation} OptionalKeyVals',
+ "<ltx:equation "
+ . "?&KeyVal(#1,'id')(xml:id='&KeyVal(#1,'id')' "
+ . "refnum='#refnum')(xml:id='#id')>"
+ . "<ltx:Math mode='display'>"
+ . "<ltx:XMath>#body</ltx:XMath>"
+ . "</ltx:Math>"
+ . "</ltx:equation>",
+ mode=>'display_math',
+ properties=> sub { RefStepCounter('equation') },
+ locked=>1);
+DefMacro('\seqnarray OptionalKeyVals','\begin{eqnarray*}');
+DefMacro('\endseqnarray','\end{eqnarray*}');
+1;