<div dir="ltr">... and tagging along with Peter's command (to see what is going on) is not easy because "lxprintf" is a real mess:<div> </div><div>  * it ides not come with any distribution</div><div>  * there are no packages for it at the repositories</div><div>  * it is not available at the standard open source repositories</div><div>  * there is no way to (easily) automate obtaining the package and installing it</div><div>  * the package (LTXML2) depends on itself for building it</div><div><br></div><div>Paulo Ney</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 5, 2019 at 12:18 AM Rodolfo Medina <<a href="mailto:rodolfo.medina@gmail.com">rodolfo.medina@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Peter Flynn <<a href="mailto:peter@silmaril.ie" target="_blank">peter@silmaril.ie</a>> writes:<br>
<br>
> On 04/07/2019 23:10, Karl Berry wrote:<br>
>>     TeX packages and applications for writing Chemistry papers?  (I use<br>
>>     plain TeX.)<br>
>> <br>
>> <a href="https://ctan.org/topic/chemistry" rel="noreferrer" target="_blank">https://ctan.org/topic/chemistry</a><br>
>> <br>
>> Unfortunately I see no way to filter out latex-only packages, which, I<br>
>> expect, is most of them. <br>
><br>
> "Use the source, Karl" :-)<br>
><br>
><br>
> $ wget -O - <a href="https://ctan.org/topic/chemistry" rel="noreferrer" target="_blank">https://ctan.org/topic/chemistry</a> 2>/dev/null | tidy -n -i<br>
> -asxml 2>/dev/null - | lxprintf -e 'a[contains(@href,"/pkg/")]'<br>
> "<a href="https://ctan.org" rel="noreferrer" target="_blank">https://ctan.org</a>%s\n" @href - | while read uri; do wget -O - $uri<br>
> 2>/dev/null | tidy -n -i -asxml 2>/dev/null - | lxprintf -e<br>
> 'td[.="Sources"]' "%s\n" 'following-sibling::td/a/code' -; done | grep<br>
> -v latex<br>
><br>
> /biblio/bibtex/contrib/chembst<br>
> /macros/generic/chemfig<br>
> /biblio/bibtex/contrib/chem-journal<br>
> /obsolete/indexing/corridx<br>
> /biblio/bibtex/contrib/chem-journal/jcc.bst<br>
> /support/konwerter<br>
> /graphics/mcf2graph<br>
> /graphics/mol2chemfig<br>
> /support/ochem<br>
> /macros/context/current/cont-ppc.zip<br>
> /graphics/pstricks/contrib/pst-labo<br>
> /graphics/pgf/contrib/tikzorbital<br>
> /info/translations/chemsym/de<br>
> $<br>
><br>
> Everything else contains 'latex' in the directory name for the sources.<br>
><br>
> This is what all that pointy-bracket stuff is FOR...identifying<br>
> information so that we can retrieve it :-)<br>
><br>
> Peter<br>
<br>
<br>
Thanks...<br>
<br>
In the above list there isn't PPCHTeX, which certainly is for plain TeX...<br>
<br>
Cheers,<br>
<br>
Rodolfo<br>
<br>
</blockquote></div>