query LaTeX’s word division (hyphenation) dictionary
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Marc Hiatt de1d337d5d Add installation/configuration instructions 2 years ago
LICENSES Get POSIX-compatible script working 2 years ago
README.md Add installation/configuration instructions 2 years ago
latex-hyphenation-template.tex Make $tmpdir a generic conf.d/worddiv/.cache 2 years ago
worddiv Neaten TUI 2 years ago
worddiv.fish Small code fixes 2 years ago

README.md

worddiv - query LaTeX’s word division (hyphenation) dictionary

The LaTeX typesetting software includes high quality dictionaries of word division patterns, which define the points at which a word may be broken across the end of a line.

worddiv is a simple script that makes it convenient to query the LaTeX word division dictionary interactively using a terminal emulator. This can help, for example, when proofreading galleys that do not adhere to the word hyphenations presented in an approriate high quality dictionary.

This package includes two shell scripts: worddiv, which is written to be POSIX-compatible, and worddiv.fish, written in fish. Take your pick.

installation and configuration

  1. Clone the worddiv repo.

  2. The scripts hardcode locations for cached files that are needed for worddiv to work: a directory for temporary files that is itself located (in the author’s personal file system) in the project path where the package resides. You should alter the project path to point to an existing directory in your own file system.

If using worddiv.fish, you need to alter the value (the path) assigned by the line beginning:

set -f project_path

If using the POSIX-compatible worddiv, the line you’ll want to alter is the one beginning

project_path=

  1. Make sure the package location is in your $PATH.

usage