On 15-7-2011 10:33, Thomas A. Schmitz wrote:
is this the intended behavior? In mkiv, no line break after an n-dash;
in mkii only if it is keyed in as "--", not directly as the utf char. I
think lines should be broken at n-dashes.
intended indeed in the sense that this is the way tex works
\setuplayout[width=5cm]
\enableregime[utf]
\showframe
\starttext
0--1--2--3--4--5--6--7--8--9--0--0--1--2--3
0–1–2–3–4–5–6–7–8–9–0–0–1–2–3
\stoptext
you can play with auto-break ... example from source:
% \start \hsize 1.5cm \setbreakpoints[compound]
% \installbreakpoint [compound] [-]
[nleft=3,nright=3,type=5,left=,right={-},middle={-}]
% \installbreakpoint [compound] [(]
[nleft=3,nright=3,type=5,left=,right={(-},middle={(}]
% \installbreakpoint [compound] [)]
[nleft=3,nright=3,type=5,left={-)},right=,middle={)}]
% composed-word\par composed(word)\par
% \stop
% \mainlanguage[czech]
% \installbreakpoint [compound] [\number`-]
[language=cs,nleft=3,nright=3,type=4]
% \setbreakpoints[compound]
% \start \hsize 1mm test-test \par \stop
% \setbreakpoints[compound]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________