Problem with creation of a new alignment
Hello all in 2014, the following minimal example does not work, neither with start-stop marks, nor with \setupalign, nor with both. I use CTX from TeXlive 2013. The same behaviour has been found in TL2012 whereas in TL2011 and 2010 it works properly. What is the new way to define some new alignments? Tomas Hala \installalign{lastcenter}{ % justified, but the last line should be centered \leftskip=0pt plus1fil \rightskip=0pt plus-1fil \parfillskip=0pt plus2fil \parindent0pt} \starttext \startalignment[lastcenter] \setupalign[lastcenter] \input knuth \stopalignment \stoptext
On 1/2/2014 11:50 PM, KONVOJ, spol. s r. o. wrote:
Hello all in 2014,
the following minimal example does not work, neither with start-stop marks, nor with \setupalign, nor with both. I use CTX from TeXlive 2013. The same behaviour has been found in TL2012 whereas in TL2011 and 2010 it works properly.
What is the new way to define some new alignments?
\installalign{lastcenter}{ % justified, but the last line should be centered \leftskip=0pt plus1fil \rightskip=0pt plus-1fil \parfillskip=0pt plus2fil \parindent0pt}
\starttext \startalignment[lastcenter] \setupalign[lastcenter] \input knuth \stopalignment \stoptext
just use 'last' as its predefined; installable aligns are somewhat limited (only certain things can be set) as in mkiv we also keep states, recover alignments, export stuff, etc Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
KONVOJ, spol. s r. o.