* Problem with creation of a new alignment
@ 2014-01-02 22:50 KONVOJ, spol. s r. o.
2014-01-06 23:20 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: KONVOJ, spol. s r. o. @ 2014-01-02 22:50 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with creation of a new alignment
2014-01-02 22:50 Problem with creation of a new alignment KONVOJ, spol. s r. o.
@ 2014-01-06 23:20 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-01-06 23:20 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-06 23:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-02 22:50 Problem with creation of a new alignment KONVOJ, spol. s r. o.
2014-01-06 23:20 ` Hans Hagen
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).