molecule_lpeg.tex
Description: Binary data
Am 23.02.2009 um 18:14 schrieb Mojca Miklavec:
thanks a lot for the very nice code :) :) :)The second example (H_2^+) does not return expected result - it should have beenH\lohi{2}{+} instead, but I don't require such cases for the current document, so I guess that I'll just replace the old macro with this one for now in order not to get distracted with TeX problems too much :)
You can try the attatched, it use lpeg to parse the content. Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________