ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hyphenation in multi-language projects
@ 2022-09-12 15:11 Steffen Wolfrum via ntg-context
  2022-09-12 15:45 ` Denis Maier via ntg-context
  2022-09-14  6:35 ` Max Chernoff via ntg-context
  0 siblings, 2 replies; 13+ messages in thread
From: Steffen Wolfrum via ntg-context @ 2022-09-12 15:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

Hi,

please have a look at this minimal example.

The idea is to set the hyphenation for certain words regardless of the language that is used in the surrounding paragraphs.

In this example it should stay: «steff-en»

How do i set this to all non-english paragraphs (without using \hyphenation on each language-switch)?

Best,
Steffen

—

\starttext

\setuppapersize[A6][A6]

\mainlanguage[en]

\startexceptions
steff-en
\stopexceptions

english text english text english teste: steffen

\start\language[it]
italian text italian text italian teste: steffen
\stop

\start\language[it]\hyphenation{steff-en}
italian text italian text italian teste: steffen
\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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-10-24 16:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-12 15:11 Hyphenation in multi-language projects Steffen Wolfrum via ntg-context
2022-09-12 15:45 ` Denis Maier via ntg-context
2022-09-14  6:35 ` Max Chernoff via ntg-context
2022-09-14  6:40   ` Steffen Wolfrum via ntg-context
2022-09-14  6:50     ` Max Chernoff via ntg-context
2022-09-14  7:19       ` Denis Maier via ntg-context
2022-09-14 14:44         ` Steffen Wolfrum via ntg-context
2022-09-14 14:54           ` Denis Maier via ntg-context
2022-09-14 17:38             ` Steffen Wolfrum via ntg-context
2022-09-14 17:40             ` Pablo Rodriguez via ntg-context
2022-10-24 13:08               ` Fwd: " Steffen Wolfrum via ntg-context
2022-10-24 15:09                 ` Hans Hagen via ntg-context
2022-10-24 16:15                   ` Pablo Rodriguez via ntg-context

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).