diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-22 22:14:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-22 22:14:39 +0000 |
commit | fc4466b32ed330a956ac603b00fd145524cff49a (patch) | |
tree | 2c50e2b8de13aa9233b2c76dffe201558f169e86 /Master/texmf-dist/tex/context/interface/mkiv/i-chemical.xml | |
parent | 50e2368597d5f6fe2057195d0ae6a9f2044923e4 (diff) |
context (22apr16)
git-svn-id: svn://tug.org/texlive/trunk@40691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/interface/mkiv/i-chemical.xml')
-rw-r--r-- | Master/texmf-dist/tex/context/interface/mkiv/i-chemical.xml | 255 |
1 files changed, 255 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/interface/mkiv/i-chemical.xml b/Master/texmf-dist/tex/context/interface/mkiv/i-chemical.xml new file mode 100644 index 00000000000..d300f90089f --- /dev/null +++ b/Master/texmf-dist/tex/context/interface/mkiv/i-chemical.xml @@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?context-directive job ctxfile x-setups.ctx ?> + +<cd:interface xmlns:cd="http://www.pragma-ade.com/commands"> + + <cd:command name="molecule" file="chem-ini.mkiv"> + <cd:arguments> + <cd:content/> + </cd:arguments> + </cd:command> + + <cd:command name="chem" file="chem-ini.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + <cd:resolve name="argument-text"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + <cd:command name="setupchemical" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list-optional"/> + <cd:assignments list="yes"> + <cd:parameter name="strut"> + <cd:inherit name="value-strut"/> + </cd:parameter> + <cd:parameter name="width"> + <cd:constant type="fit" default="yes"/> + <cd:constant type="none"/> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="height"> + <cd:constant type="fit" default="yes"/> + <cd:constant type="none"/> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="left"> + <cd:constant type="fit" default="yes"/> + <cd:constant type="none"/> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="right"> + <cd:constant type="fit" default="yes"/> + <cd:constant type="none"/> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="top"> + <cd:constant type="fit" default="yes"/> + <cd:constant type="none"/> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="bottom"> + <cd:constant type="fit" default="yes"/> + <cd:constant type="none"/> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="scale"> + <cd:constant type="small"/> + <cd:constant type="medium"/> + <cd:constant type="big"/> + <cd:constant type="normal" default="yes"/> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="rotation"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="symalign"> + <cd:constant type="auto" default="yes"/> + </cd:parameter> + <cd:parameter name="axis"> + <cd:constant type="on"/> + <cd:constant type="off" default="yes"/> + </cd:parameter> + <cd:parameter name="framecolor"> + <cd:constant type="cd:color"/> + </cd:parameter> + <cd:parameter name="rulethickness"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="offset"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="unit"> + <cd:constant type="cd:dimension"/> + </cd:parameter> + <cd:parameter name="factor"> + <cd:constant type="cd:number"/> + </cd:parameter> + <cd:parameter name="frame"> + <cd:constant type="on"/> + <cd:constant type="off"/> + </cd:parameter> + <cd:parameter name="rulecolor"> + <cd:constant type="cd:color"/> + </cd:parameter> + <cd:parameter name="bodyfont"> + <cd:inherit name="setupbodyfont"/> + </cd:parameter> + <cd:parameter name="size"> + <cd:constant type="small"/> + <cd:constant type="medium" default="yes"/> + <cd:constant type="big"/> + </cd:parameter> + <cd:parameter name="style"> + <cd:resolve name="value-style"/> + </cd:parameter> + <cd:parameter name="color"> + <cd:constant type="cd:color"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <!-- + + <cd:command name="setupchemicals" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list-optional"/> + <cd:assignments list="yes"> + <cd:inherit name="setupchemical"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + --> + + <cd:command name="setupchemicalframed" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list-optional"/> + <cd:assignments list="yes"> + <cd:inherit name="setupframed"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="definechemical" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:content/> + </cd:arguments> + </cd:command> + + <cd:command name="definechemicalsymbol" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:resolve name="keyword-text"/> + </cd:arguments> + </cd:command> + + <cd:command name="chemicalsymbol" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + </cd:arguments> + </cd:command> + + <cd:command name="chemicaltext" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + <cd:command name="chemical" type="environment" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-optional"/> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupchemical"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + <!-- + + <cd:command name="structurechemical" type="environment" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-optional"/> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupchemical"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + --> + + <cd:command name="chemical" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-optional"/> + <cd:resolve name="keyword-text-list"/> + <cd:resolve name="keyword-text-list-optional"/> + </cd:arguments> + </cd:command> + + <!-- + + <cd:command name="structurechemical" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-optional"/> + <cd:resolve name="keyword-text-list"/> + <cd:resolve name="keyword-text-list-optional"/> + </cd:arguments> + </cd:command> + + --> + + <cd:command name="chemicaltoptext" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + <cd:command name="chemicalbottext" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + <cd:command name="chemicalmidtext" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + <!-- + + <cd:command name="toptext" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + <cd:command name="bottext" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + <cd:command name="midtext" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> + + --> + + <cd:command name="definechemicals" file="chem-str.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:resolve name="keyword-name-optional"/> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupchemical"/> + </cd:assignments> + </cd:arguments> + </cd:command> + +</cd:interface>
\ No newline at end of file |