Answer by Steven B. Segletes for Highlight every occurrence of a list of words?
Having answered a related question, Automatically highlighting nominalizations (a.k.a. zombie nouns) as a writing aid, I realized the listofitems could also perform this task rather simply.UPDATE for...
View ArticleAnswer by alexis for Highlight every occurrence of a list of words?
Here's a simple script that will mark up words that you specify by editing the script-- it was the simplest way to handle lots of words and lots of different colors. It requires perl, which is standard...
View ArticleAnswer by Aditya for Highlight every occurrence of a list of words?
ConTeXt provides a proof of concept module for such translations: m-translate. You could use it to translate text, but the translation takes place before macro expansion. So, the method will fail if...
View ArticleAnswer by Manuel for Highlight every occurrence of a list of words?
Here's another with l3regex.\documentclass{scrartcl}\usepackage{xcolor,xparse,l3regex}\ExplSyntaxOn\NewDocumentCommand \texthighlight { +m } { \david_texthighlight:n { #1 } }\cs_new_protected:Npn...
View ArticleAnswer by michal.h21 for Highlight every occurrence of a list of words?
Solution using LuaTeX callbacks. Library luacolor.lua from luacolor is also used.First package...
View ArticleAnswer by Steven B. Segletes for Highlight every occurrence of a list of words?
Strongly based on my answer at How to insert a symbol to the beginning of a line for which a word appears?. However, I had to extend the logic to handle multiple color assignments. Syntax is multiple...
View ArticleHighlight every occurrence of a list of words?
In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like...
View Article