[NTG-context] Selectively supressing ligatures

Jan U. Hasecke juh+ntg-context at mailbox.org
Tue Aug 11 08:25:17 CEST 2015


Hi,

I want to follow up on my own message below.

I got the hint offlist that it should not be too difficult to convert a
LaTeX package into a ConTeXt module.

So I guess that there is no built-in functionality of semantical
switching between ligatures and normal characters.

I am not a typographer – maybe I am wrong – but I don't like ligatures
in the wrong places. Inserting ligature stoppers by hand is a tedious work.

The latex package selnoligs was beneficial to me when I made a book with
more than 1000 pages, where I would never managed to stop ligatures by
hand.

So what is your opinion about such a feature?

juh

Am 30.07.2015 um 15:10 schrieb juh:
> Hi,
> 
> I use the package "selnoligs.sty" in LuaLaTeX to selectively suppress
> ligatures.
> 
> From the selnolig package description:
> 
> "The selnolig package suppresses typographic ligatures selectively,
> i.e., based on predefined search patterns. The search patterns focus on
> ligatures deemed inappropriate because they span morpheme boundaries.
> For example, the word shelfful, which is mentioned in the TEXbook as a
> word for which the ff ligature might be inappropriate, is automatically
> typeset as shelfful rather than as shelfful."
> 
> 
> This works with LuaLaTeX:
> 
> \documentclass{article}
> \usepackage{fontspec}
> \usepackage[ngerman]{selnolig}
> 
> \begin{document}
> 
> Auflage (no ligature)
> 
> Abfluss (ligature)
> 
> Auffahrt (no ligature)
> 
> Schiffe (ligature)
> 
> \end{document}
> 
> 
> How can I achieve the same in ConTeXt?
> 
> 
> This does not work:
> 
> \mainlanguage[de]
> 
> \starttext
> \language[de]
> 
> Auflage
> 
> Abfluss
> 
> Auffahrt
> 
> Schiffe
> 
> \stoptext
> 
> 
> TIA
> juh
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 



More information about the ntg-context mailing list