Hi Nicola, Indeed there is a recent bug, reported by Mikael Sundqvist a few days ago, and Hans is aware of this. Hans said in the next release of ConTeXt beta the issue will be fixed. Best regards: OK
On 18 Jan 2017, at 16:00, Nicola
wrote: Hello, has something been changed in the last few months in the vertical spacing of displayed formulas, frames or other environments?
I am re-typesetting some presentations using the latest beta and the content of slides (especially those containing formulas) now tends to flow to the next page, while before it used to fit in one page.
I paste below an example, if that helps. I am using a system font, so you may not be able to reproduce my problem without it.
Is there something I should change in my documents?
Nicola
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setuppapersize[S6][S6]
\setuplayout[ width=middle, height=middle, topspace=2mm, header=0mm, headerdistance=0mm, location=singlesided, backspace=5mm, margin=0mm, edgedistance=0mm, margindistance=0mm ]
\setupalign[nothyphenated,flushleft]
% Ocean Sunset (color.adobe.com) \definecolor[colorone] [r=0.251, g=0.349, b=0.322] \definecolor[colortwo] [r=0.612, g=0.608, b=0.478] \definecolor[colorthree] [r=1.0, g=0.827, b=0.576] \definecolor[colorfour] [r=1.0, g=0.592, b=0.310] \definecolor[colorfive] [r=0.960, g=0.310, b=0.161] %t=0.8 , a=multiply] \definecolor[nearlywhite] [s=0.996]
% Fonts \definefontfamily[slidesfont][serif][Avenir] [ tf=name:Avenir Light, it=name:Avenir Light Oblique, bf=name:Avenir Heavy, bi=name:Avenir Heavy Oblique ] \definefontfamily[slidesfont][sans][Avenir] [ tf=name:Avenir Light, it=name:Avenir Light Oblique, bf=name:Avenir Heavy, bi=name:Avenir Heavy Oblique ] \definefallbackfamily[slidesfont][mono][Xits][range={"0222A,"02229,"02205}] % ∪, ∩, ∅ \definefontfamily[slidesfont][mono][Latin Modern Mono Light][features=none] \definefallbackfamily[slidesfont][math][Xits][range={"025C7,"27D5}] % WHITE DIAMOND, left-join, WHITE RIGHT-POINTING TRIANGLE \definefontfamily[slidesfont][math][TeX Gyre Pagella Math]
\setupbodyfont[slidesfont]
% Foreground/background color \setupcolors[textcolor=colorone] \setupbackgrounds[page][background=color, backgroundcolor=nearlywhite]
% Header \startreusableMPgraphic{header:background} fill OverlayBox leftenlarged BackSpace rightenlarged CutSpace topenlarged TopSpace withcolor OverlayColor ; setbounds currentpicture to OverlayBox enlarged max(BackSpace,CutSpace) ; \stopreusableMPgraphic
\defineoverlay[header:background][\reuseMPgraphic{header:background}]
\define[2]\MySlide{\framed[ frame=off, background=header:background, backgroundcolor=colorfive, width=\textwidth, align=flushleft ]{#2}}
\definehead[slide][subject] \setuphead[slide][ style=\ssb, command=\MySlide, color=nearlywhite, insidesection=\doifnot{\structureuservariable{align}}{top}\vfill, aftersection=\doifnot{\structureuservariable{align}}{top}\vfill, page=yes, ]
% Footer \setuppagenumbering[location=] \setupfooter[style=small, color=colortwo] \setupfootertexts[][\userpagenumber/\lastuserpage]
% Lists \startuseMPgraphic{itemize:main} save p; path p; p := fullcircle scaled 1.5ExHeight; fill p withcolor \MPcolor{colorfive}; \stopuseMPgraphic
\startuseMPgraphic{itemize:nested} save p; path p; p := ((0,-0.5)--(0,0.5)--(0.866,0)--cycle) scaled 1.5ExHeight; fill p withcolor \MPcolor{colorfive}; \stopuseMPgraphic
\definesymbol[itemize:main][\useMPgraphic{itemize:main}] \definesymbol[itemize:nested][\useMPgraphic{itemize:nested}]
\setupitemize[1][symbol=itemize:main] \setupitemize[2][symbol=itemize:nested, width=1.5ex] \setupitemize[2][nowhite]
\setupitemize[ headstyle=\ssa, headcolor=colorfive, afterhead={\blank[none]}, inbetween={\blank[big]}, leftmargin=1em, rightmargin=1em, ]
% Tables \setuptables[rulethickness=0.06em]
\setupinteraction[state=start, % make hyperlinks active, etc. style=\tf, color=colortwo, title={What Do You Mean, “Null”?}, author={Nicola Vitacolonna}, keyword={null}]
% \usebtxdataset[main.bib] % \usebtxdefinitions[apa] \setupcombinations[distance=3cm,location=top] \defineframedcontent[tablebackground][frame=off,background=color,backgroundcolor=colorthree] \setuptables[rulethickness=0.06em,frame=tablebackground]
\setupalign[nothyphenated,flushleft]
\defineparagraphs[twocol][n=2] \setupparagraphs[twocol][1][width=.7\textwidth]
\starttext \switchtobodyfont[17.3pt]
\startslide[title={Which Nulls?}][align=top] All of the above may be abstracted into three categories:
\startitemize[packed] \item Exists, but unknown ({\bf missing value}) \startformula \exists x\,\hbox{Yalta}(\hbox{Winston},x,\hbox{Churchill}) \stopformula \item Nonexistent, not applicable ({\bf inapplicable null}) \startformula \neg\exists x\,\hbox{Yalta}(\hbox{Winston},x,\hbox{Churchill}) \land \hbox{Yalta}_{-2}(\hbox{Winston},\hbox{Churchill}) \stopformula \item Not known to exist ({\bf no-information null}) \startformula \hbox{Yalta}_{-2}(\hbox{Winston},\hbox{Churchill}) \stopformula \stopitemize
\midaligned{\tfxx \starttable[|l|l|l|] \NC \THREE Yalta \cite[Atzeni:1993] \NC \AR \NC FirstName \NC MiddleName \NC LastName \NC \AR \HL \NC Franklin \NC Delano \NC Roosevelt \NC \AR \NC Winston \NC UNK \NC Churchill \NC \AR \NC Charles \NC NA \NC DeGaulle \NC \AR \NC Joseph \NC NI \NC Stalin \NC \AR \stoptable} \stopslide \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________