Open main menu


\replaceword

Summary

The command \replaceword can add replacement words to ligature exception dictionaries. Define different replacement sets and activate them with \setreplacements.

Settings

\replaceword[...][...][...]
[...]name
[...]text
[...]text

OptionExplanation
name category
text target
text replacement

Description

Examples

Discretionaries

You can insert discretionaries in the replacement text like this:

\setuppapersize[A6][A6]

\replaceword[category][ABCDEFGHIJ][ABCDE{1}{2}{3}FGHIJ]
\setreplacements[category]

\starttext

ABCDEFGHIJ ABCDEFGHIJ ABCDEFGHIJ ABCDEFGHIJ

\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum