Chemical structures with plain TeX

Peter Flynn peter at
Fri Jul 5 01:06:27 CEST 2019

On 04/07/2019 23:10, Karl Berry wrote:
>     TeX packages and applications for writing Chemistry papers?  (I use
>     plain TeX.)
> Unfortunately I see no way to filter out latex-only packages, which, I
> expect, is most of them. 

"Use the source, Karl" :-)

$ wget -O - 2>/dev/null | tidy -n -i
-asxml 2>/dev/null - | lxprintf -e 'a[contains(@href,"/pkg/")]'
"\n" @href - | while read uri; do wget -O - $uri
2>/dev/null | tidy -n -i -asxml 2>/dev/null - | lxprintf -e
'td[.="Sources"]' "%s\n" 'following-sibling::td/a/code' -; done | grep
-v latex


Everything else contains 'latex' in the directory name for the sources.

This is what all that pointy-bracket stuff is FOR...identifying
information so that we can retrieve it :-)


More information about the texhax mailing list