diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-06-29 10:01:29 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-06-29 10:01:29 +0200 |
commit | 852668a65c878fee10d21fb7cefafb390e083075 (patch) | |
tree | ad90768e0796b77ea69c11d024aa58dce114af1d /doc/context/sources/general/manuals | |
parent | f8d48a62bd62df77685bd8581c1b8311ae26525f (diff) | |
download | context-852668a65c878fee10d21fb7cefafb390e083075.tar.gz |
2017-06-29 09:41:00
Diffstat (limited to 'doc/context/sources/general/manuals')
-rw-r--r-- | doc/context/sources/general/manuals/luatex/luatex-modifications.tex | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/luatex/luatex-modifications.tex b/doc/context/sources/general/manuals/luatex/luatex-modifications.tex index 2857603ea..50b19b8e5 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-modifications.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-modifications.tex @@ -1063,6 +1063,44 @@ kerns, should be handled in the input or macro package because there is no way w can predict the expected behaviour. In fact, the \type {\linedir} is just a convenience extra which could also have been implemented using node list parsing. +Glue after a dir node is ignored in the linebreak decision but you can bypass that +by setting \type {\breakafterdirmode} to~\type {1}. The following table shows the +difference. Watch your spaces. + +\def\ShowSome#1{% + \NC + \type{#1} + \NC + \breakafterdirmode = 0 + \hsize 0pt + #1 + \NC + \NC + \breakafterdirmode = 1 + \hsize 0pt + #1 + \NC + \NC \NR \HL +} + +\starttabulate[|B|pT(0pt)|w(5em)|pT(0pt)|p|] + \HL + \BC \type{\breakafterdirmode} + \BC \type{0} + \NC + \BC \type{1} + \NC + \NC \NR + \HL + \ShowSome{pre {\textdir TLT xxx} post} + \ShowSome{pre {\textdir TLT xxx }post} + \ShowSome{pre{ \textdir TLT xxx} post} + \ShowSome{pre{ \textdir TLT xxx }post} + \ShowSome{pre { \textdir TLT xxx } post} + \ShowSome{pre {\textdir TLT\relax\space xxx} post} +\stoptabulate + + Another adaptation to the \ALEPH\ directional model is control over shapes driven by \type {\hangindent} and \type {\parshape}. This is controlled by a new parameter \type {\shapemode}: |