diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/stex/omd/omd.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/stex/omd/omd.sty | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/stex/omd/omd.sty b/Master/texmf-dist/tex/latex/stex/omd/omd.sty new file mode 100644 index 00000000000..b3d8301d2e3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/stex/omd/omd.sty @@ -0,0 +1,27 @@ +%% +%% This is file `omd.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% omd.dtx (with options: `package') +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{omd}[2010/06/25 v0.9 OMDoc Metadata Framework] +\RequirePackage{keyval}[1997/11/10] +\newcommand\omdaddkey[3][]{\omd@ext@clear@keys{#2}{#3}{#1}% +\define@key{#2}{#3}[#1]{\expandafter\gdef\csname #2@#3\endcsname{##1}}} +\newcommand\omdsetkeys[2]{\csname clear@#1@keys\endcsname\setkeys{#1}{#2}} +\newcommand\omd@ext@clear@keys[3]{\@omd@ext@clear@keys{#1}{#1@#2}{#3}} +\newcommand\@omd@ext@clear@keys[3]{\@ifundefined{clear@#1@keys}% +{\expandafter\def\csname clear@#1@keys\endcsname% +{\expandafter\gdef\csname #2\endcsname{#3}}}% +{\expandafter\g@addto@macro\csname clear@#1@keys\endcsname% +{\expandafter\gdef\csname #2\endcsname{#3}}}} +\newcommand\omdaddkeynew[3][]{\omd@ext@clear@keys{#2}{#3}{#1}% +\define@key{#2}{#3}{\expandafter\gdef\csname #2@#3\endcsname{##1}}} +\newcommand\omd@unspecified{an omd-defined key left unspecified} +\newcommand\omdifus[4]{\message{testing #1@#2=\csname#1@#2\endcsname}\expandafter\ifx\csname #1@#2\endcsname\omd@unspecified{#3}\else{#4}\fi} +\endinput +%% +%% End of file `omd.sty'. |