From: "Tomáš Hála" <mendelu@thala.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: italian words with apostrophe - hyphenation and discretionary
Date: Tue, 22 Oct 2024 19:22:21 +0200 [thread overview]
Message-ID: <20241022172221.GB25691@thala.cz> (raw)
In-Reply-To: <20241022163247.GA25691@thala.cz>
Towards my previous post:
I know that one can use \hyphenation{l'operaio} for solving the particular
word with article. The question is how to fix it generally (i.e. for all
words with article) via exceptions or by another way.
Tomáš
On Tue, Oct 22, 2024 at 06:32:47PM +0200, Tomáš Hála wrote:
> Hi Hans,
>
> I have to admit that \startexceptions is new to me, thank you.
>
> nell{a}{}{a'}opera very nicely solves the full word substitution
> but I do not know how to figure out the hyphenatation case:
>
> Using the exception "nel{-}{l'}{l'}opera" it will change also words with articles
> where hyphenation is supressed (below). Is there any way how to fix it?
>
> Tomáš
>
> \starttext
> \startexceptions
> % nell{a}{}{a'}opera
> nel{-}{l'}{l'}opera
> \stopexceptions
>
> \start \hsize 10cm nell'opera \par l'operaio \par \stop
> \start \hsize 01mm nell'opera \par l'operaio \par \stop
>
> \stoptext
>
> > There's a fourh way ...
> >
> > \starttext
> >
> > \startexceptions
> > nell{a}{}{a'}opera
> > \stopexceptions
> >
> > \start \hsize 10cm nella'opera \par \stop
> > \start \hsize 01mm nella'opera \par \stop
> >
> > \start \hsize 10cm nell\discretionary{a}{}{'}opera \par \stop
> > \start \hsize 01mm nell\discretionary{a}{}{'}opera \par \stop
> >
> > \stoptext
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2024-10-22 17:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 11:59 [NTG-context] " mf
2024-10-22 13:33 ` [NTG-context] " Tomáš Hála
2024-10-22 14:06 ` mf
2024-10-22 15:36 ` Hans Hagen
2024-10-22 16:32 ` Tomáš Hála
2024-10-22 17:22 ` Tomáš Hála [this message]
2024-10-22 19:22 ` Hans Hagen via ntg-context
2024-10-22 23:46 ` mf
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=20241022172221.GB25691@thala.cz \
--to=mendelu@thala.cz \
--cc=ntg-context@ntg.nl \
/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).