XPath is for XML. LaTeχ is not XML.
Don't use Google, use LaTeX. I have no experience with any of the modules, but I have written some LaTeχ myself.
To extract "all text between $ signs (that make up LaTeχ mathematical sections), I'd simply use a regular expression:
my @equations = /\$([^$]+)\$/;
In reply to Re: LaTeX: regex or xpath?
by Corion
in thread LaTeX: regex or xpath?
by toro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |