As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [xesearch]

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

Filter by
Sorted by
Tagged with
5 votes
1 answer

wordcount with xesearch errors

I'm using some code I found here on stackexchange to count words in a LaTeX document. I'm using TeXLive on a Mac and using XeLateX to produce the pdf document. It produces a pdf, but with an error ...
Liz's user avatar
  • 75
9 votes
1 answer

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 ...
Florian's user avatar
  • 2,899
4 votes
1 answer

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 xesearch in my header to automatically replace shorthand notations: \usepackage{xesearch} \SearchList{list1}{Very Long ...
A Feldman's user avatar
  • 3,960
9 votes
2 answers

Spotting strings that are typos in "text mode" but that are right in "math mode"

My copy editor work is largely dedicate do spot typos. I have a kind of typos formed by strings like, e.g., ".", ",", ":"... (a space before a punctuation sign) that we consider typos in text-mode (...
Gabriele Nicolardi's user avatar
9 votes
1 answer

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} \...
DGarside's user avatar
  • 839
2 votes
1 answer

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!{...
Steve Hodgkinson's user avatar