!if $wims_read_parm!=slib_header
 !goto proc
!endif
slib_title=Typeset molecules and chemical equations
slib_parms=1\
 , molecule or chemical equation
slib_author=Georges Khaznadar
slib_license=GPL
slib_out= a TeX source to be fed into !instex to typeset the molecule nicely.
slib_comment=Enter formulas as accepted by the command chemeq
slib_example= H2\
C2H6\
HCO3^-\
Fe^3+ + 6CN^- -> Fe(CN)6^3-

!exit

:proc

chemeq_option=l
slib_out=!exec chemeq $wims_read_parm
!reset chemeq_option

