Command/replaceword

Unofficial ConTeXt Wiki mirror

Last modified: 2022-09-14

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

Option Explanation
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

All issues with: