[NTG-context] \crlf breaks alignment inheritance

Marco Pessotto melmothx at gmail.com
Thu May 26 10:53:06 CEST 2011


Hello there!

I've found a problem with the latest ConTeXt, but I guess it's been
present for a while.

See the following example:

%%%% cut here %%%%
\starttext 
\startalignment[middle,nothyphenated,nothanging,stretch]
centered

\startalignment[hyphenated]
this is centered. 

No problem
\stopalignment


\startalignment[hyphenated]
Why this is not centered?\crlf Becaouse of the \textbackslash crlf
\stopalignment

\startalignment[hyphenated, middle]
this is centered. \crlf
No problem
\stopalignment

centered
\stopalignment

regular

\stoptext
%%%% cut here %%%%

Best wishes

-- 
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110526/96641a48/attachment.pgp>


More information about the ntg-context mailing list