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
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 -----------------------------------------------------------------
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
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
participants (3)
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster