* behavior of \vfill has changed in latest beta
@ 2015-12-21 15:18 Thomas A. Schmitz
2015-12-21 15:28 ` Hans Hagen
2015-12-21 15:33 ` Wolfgang Schuster
0 siblings, 2 replies; 5+ messages in thread
From: Thomas A. Schmitz @ 2015-12-21 15:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
the behavior of \vfill has changed in the latest beta. In some of my
setups, I used code like this to produce vertically centered content:
\starttext
\null\vfill
vertically centered?
\vfill\null
\stoptext
This works with the beta of 2015.11.19 19:13, but no longer with
2015.12.21 12:16. Not sure if intended, side effect, or bug?
Thomas
___________________________________________________________________________________
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] 5+ messages in thread
* Re: behavior of \vfill has changed in latest beta
2015-12-21 15:18 behavior of \vfill has changed in latest beta Thomas A. Schmitz
@ 2015-12-21 15:28 ` Hans Hagen
2015-12-21 18:31 ` Thomas A. Schmitz
2015-12-21 15:33 ` Wolfgang Schuster
1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2015-12-21 15:28 UTC (permalink / raw)
To: ntg-context
On 12/21/2015 4:18 PM, Thomas A. Schmitz wrote:
> Hi,
>
> the behavior of \vfill has changed in the latest beta. In some of my
> setups, I used code like this to produce vertically centered content:
>
> \starttext
>
> \null\vfill
>
> vertically centered?
>
> \vfill\null
>
> \stoptext
it's more that i forgot to set \null ... you can put this in cont-new.mkiv
\def\null{\hpack{}}
-----------------------------------------------------------------
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] 5+ messages in thread
* Re: behavior of \vfill has changed in latest beta
2015-12-21 15:18 behavior of \vfill has changed in latest beta Thomas A. Schmitz
2015-12-21 15:28 ` Hans Hagen
@ 2015-12-21 15:33 ` Wolfgang Schuster
2015-12-21 18:33 ` Thomas A. Schmitz
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2015-12-21 15:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 552 bytes --]
> Thomas A. Schmitz <mailto:thomas.schmitz@uni-bonn.de>
> 21. Dezember 2015 um 16:18
> Hi,
>
> the behavior of \vfill has changed in the latest beta. In some of my
> setups, I used code like this to produce vertically centered content:
>
> \starttext
>
> \null\vfill
>
> vertically centered?
>
> \vfill\null
>
> \stoptext
Why don’t you use the makeup environment?
\definemakeup[centered][pagestate=start,headerstate=start]
\starttext
\startmakeup[centered]
vertically centered?
\stopmakeup
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1618 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 5+ messages in thread
* Re: behavior of \vfill has changed in latest beta
2015-12-21 15:28 ` Hans Hagen
@ 2015-12-21 18:31 ` Thomas A. Schmitz
0 siblings, 0 replies; 5+ messages in thread
From: Thomas A. Schmitz @ 2015-12-21 18:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12/21/2015 04:28 PM, Hans Hagen wrote:
>
> it's more that i forgot to set \null ... you can put this in cont-new.mkiv
>
> \def\null{\hpack{}}
Thank you Hans!
Thomas
___________________________________________________________________________________
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] 5+ messages in thread
* Re: behavior of \vfill has changed in latest beta
2015-12-21 15:33 ` Wolfgang Schuster
@ 2015-12-21 18:33 ` Thomas A. Schmitz
0 siblings, 0 replies; 5+ messages in thread
From: Thomas A. Schmitz @ 2015-12-21 18:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12/21/2015 04:33 PM, Wolfgang Schuster wrote:
> Why don’t you use the makeup environment?
>
> \definemakeup[centered][pagestate=start,headerstate=start]
>
> \starttext
>
> \startmakeup[centered]
>
> vertically centered?
>
> \stopmakeup
>
> \stoptext
>
> Wolfgang
Because the \vfill is hidden deep in setup commands and part of a before
key=value pair.
Thomas
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2015-12-21 18:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-21 15:18 behavior of \vfill has changed in latest beta Thomas A. Schmitz
2015-12-21 15:28 ` Hans Hagen
2015-12-21 18:31 ` Thomas A. Schmitz
2015-12-21 15:33 ` Wolfgang Schuster
2015-12-21 18:33 ` Thomas A. Schmitz
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).