From: Thangalin via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Thangalin <thangalin@gmail.com>
Subject: Contractions in ligature suppression word list
Date: Sun, 5 Jun 2022 22:37:09 -0700 [thread overview]
Message-ID: <CAANrE7o3idfEcz0YnU7F0s-fELPyyAYEe0z8-4+wK_3VSQkR3Q@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 581 bytes --]
Attached are tweaked endings for words like "wolf" to include contracted
endings, but they are being ignored. This makes for a minor inconsistency:
wolfing -- no ligature
wolfish -- no ligature
wolfin -- no ligature (incorrect spelling, though)
wolfin' -- ligature
Any ideas? I tried adding various -in suffixes without luck:
suffixes = [[
in,
in',
in’,
ing
]],
See https://wiki.contextgarden.net/Ligatures#Word_suppression for an
example usage.
Thank you!
[-- Attachment #1.2: Type: text/html, Size: 2125 bytes --]
[-- Attachment #2: lang-en.llg --]
[-- Type: application/octet-stream, Size: 10214 bytes --]
-- The starting point of this list is a post at:
--
-- https://english.stackexchange.com/a/50957/22099
-- https://english.stackexchange.com/questions/50660/when-should-i-not-use-a-ligature-in-english-typesetting
-- mentioned on the ConTeXt mailing list after some discussion
-- about this mechanism.
return {
name = "english",
version = "1.00",
comment = "English ligature suppression",
author = "Mico Loretan, Dave Jarvis, & Hans Hagen",
copyright = "Public domain",
options = {
{
patterns = {
fi = "f|i",
fl = "f|l",
},
words = [[
-- f|i
deafish
dwarfish
elfish
oafish
selfish
serfish
unselfish
wolfish
-- f|l
beefless
briefless
hoofless
leafless
roofless
selfless
turfless
]],
suffixes = [[
ness
ly
]],
},
{
patterns = {
fi = "f|i",
},
words = [[
proofing
]],
prefixes = [[
air
child
fire
flame
moth
rust
sound
water
weather
]],
},
{
patterns = {
fi = "f|i",
},
words = [[
-- f|i
beef
brief
debrief
chaf
coif
fif
jackknif
knif
midwif
leaf
loaf
reef
sheaf
straf
waif
wif
vouchsaf
goof
hoof
roof
reroof
spoof
whoof
woof
barf
bedwarf
begulf
dwarf
engulf
enserf
golf
gulf
ingulf
kerf
rolf
scarf
self
snarf
surf
turf
wharf
windsurf
wolf
]],
suffixes = [[
in,
ing
]],
},
{
patterns = {
ff = "f|f",
fi = "f|i",
fl = "f|l",
ffi = "f|fi",
ffl = "f|fl",
},
words = [[
-- f|f
bookshelfful
mantelshelfful
shelfful
-- f|i
elfin
beefier
comfier
goofier
gulfier
leafier
surfier
turfier
beefiest
comfiest
goofiest
gulfiest
leafiest
surfiest
turfiest
beefily
goofily
goofiness
-- f|l
aloofly
briefly
chiefly
deafly
liefly
calflike
dwarflike
elflike
gulflike
hooflike
leaflike
rooflike
serflike
sheaflike
shelflike
surflike
turflike
waiflike
wolflike
halflife
shelflife
halfline
roofline
leaflet
leaflets
leafleted
leafleting
leafletting
leafletted
leafleteer
pdflatex
-- f|fi
chaffinch
wolffish
-- f|fl
safflower
safflowers
]],
},
{
patterns = {
ffi = "ff|i",
},
words = [[
-- ff|i
cuffing
]],
prefixes = [[
hand
un
]],
},
{
patterns = {
ffi = "ff|i",
},
words = [[
-- ff|i
feoffing
]],
prefixes = [[
en
in
]],
},
{
patterns = {
ffi = "ff|i",
},
words = [[
-- ff|i
staffing
stuffing
]],
prefixes = [[
re
over
under
]],
},
{
patterns = {
ffi = "ff|i",
},
words = [[
-- ff|i
ruffing
]],
prefixes = [[
cross
over
under
]],
},
{
patterns = {
ffi = "ff|i",
ffl = "ff|l",
},
words = [[
-- ff|i
draffish
giraffish
gruffish
offish
raffish
sniffish
standoffish
stiffish
toffish
-- ff|l
cuffless
stuffless
]],
suffixes = [[
ly
]],
},
{
patterns = {
ffl = "ff|l",
},
words = [[
-- ff|l
scofflaw
cufflink
offline
offload
]],
suffixes = [[
s
ed
ing
]],
},
{
patterns = {
ffi = "ff|i",
ffl = "ff|l",
},
words = [[
-- ff|i
baffing
biffing
boffing
bluffing
outbluffing
buffing
rebuffing
chaffing
cheffing
chuffing
coffing
coiffing
daffing
doffing
fluffing
gaffing
gruffing
huffing
luffing
miffing
muffing
offing
piaffing
puffing
quaffing
reffing
riffing
sclaffing
scoffing
scuffing
shroffing
sluffing
sniffing
snuffing
spiffing
stiffing
stuffing
tariffing
tiffing
waffing
whiffing
yaffing
buffier
chaffier
chuffier
cliffier
daffier
fluffier
gruffier
huffier
iffier
miffier
puffier
scruffier
sniffier
snuffier
spiffier
stuffier
buffiest
chaffiest
chuffiest
cliffiest
daffiest
fluffiest
gruffiest
huffiest
iffiest
miffiest
puffiest
scruffiest
sniffiest
snuffiest
spiffiest
stuffiest
daffily
fluffily
gruffily
huffily
puffily
scruffily
sniffily
snuffily
spiffily
stuffily
fluffiness
huffiness
iffiness
puffiness
scruffiness
sniffiness
spiffiness
stuffiness
baffies
biffies
jiffies
taffies
toffies
waffie
Pfaffian
Wolffian
Wulffian
-- ff|l
bluffly
gruffly
ruffly
snuffly
stiffly
rufflike
clifflike
]],
},
{
patterns = {
ft = "f|t",
fft = "ff|t",
},
words = [[
-- f|t
chieftain
chieftains
chieftaincy
chieftainship
fifteen
fifteens
fifteenth
fifteenths
fifth
fifthly
fifths
fifties
fiftieth
fiftieths
fifty
fiftyish
halftime
halftone
rooftop
rooftops
rooftree
-- ff|t
offtrack
]]
}
}
}
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2022-06-06 5:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-06 5:37 Thangalin via ntg-context [this message]
2022-06-06 18:19 ` Bruce Horrocks via ntg-context
2022-06-06 21:56 ` Thangalin via ntg-context
2022-06-06 22:18 ` Denis Maier via ntg-context
2022-06-07 0:13 ` Thangalin via ntg-context
2022-06-07 7:10 ` Denis Maier via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAANrE7o3idfEcz0YnU7F0s-fELPyyAYEe0z8-4+wK_3VSQkR3Q@mail.gmail.com \
--to=ntg-context@ntg.nl \
--cc=thangalin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).