xesearch is a string finder package for `XeTeX`; applications may be check spelling, word counting, and syn­tax highlighting of pro­gram­ming lan­guages

learn more… | top users | synonyms

1
vote
1answer
31 views

XeLaTeX ligatures clash with package xesearch

I am using XeLaTeX to compile a document in French, using the fontspec package (with the Ligatures=TeX} option) and babel package (with the french option on). The problem: the endash and emdash ...
2
votes
1answer
87 views

Is there a way to have xesearch search and replace a term and have the replacement compiled as LaTeX command?

I have used the package xesearch https://www.ctan.org/pkg/xesearch?lang=en xesearch in my header to automatically replace shorthand notations: \usepackage{xesearch} \SearchList{list1}{Very Long ...
2
votes
1answer
50 views

Re: inserting a counter value that preceeds the counter environment in a latex document?

I am using the following macro to count the number of words in a journal article: \usepackage{xesearch} \newcounter{words} \newenvironment{wordcount}{% \setcounter{words}{0} \SearchList!{...
6
votes
1answer
260 views

Convert all all-caps words to small caps

I'd like to turn all all-uppercase words, acronyms etc. into small caps, preferably automatically on the fly and without changing the source files. The ideal solution would also allow me to block some ...
9
votes
1answer
447 views

Word count and 'TeX capacity exceeded'

I use this piece of code in the preamble, obtained from Environment that counts words inside: \usepackage{xesearch} \newcounter{words} \newenvironment{assignment}{% \setcounter{words}{0} \...