summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-lig.mkiv
blob: 6171441d6d3ee99e85e9c097bb9790b5200dcc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%D \module
%D   [       file=typo-lig,
%D        version=2014.12.01,
%D          title=\CONTEXT\ Typesetting Macros,
%D       subtitle=Ligatures,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\writestatus{loading}{ConTeXt Typesetting Macros / Ligatures}

%D This macro is mostly used for testing an attribute that blocks ligatures
%D in the nodemode handler. It is not really used in practice, and mostly
%D there as a plug in the generic font handler.

\unprotect

\definesystemattribute[noligature][public]

\unexpanded\def\noligature#1%
  {\dontleavehmode
   \begingroup
   \attribute\noligatureattribute\plusone
   #1%
   \endgroup}

\protect \endinput