I’ve tried adjusting interlinespacing, but it seems to make no difference :

 

==========================

\setupinterlinespace[

                height=.72,

                depth=.28,

                top=2,

                %top=0,

                %top=5,

                %top=1,

                bottom=0,

                %bottom=0.4,

                %bottom=0,

                %bottom=1,

                %bottom=5,

                line=2.8ex,

                ]

 

\setuplayout[grid=yes]

\showgrid

\starttext

 

\dorecurse{5}{\input knuth\par}

 

\stoptext

==========================

 

Even extreme values for top and bottom (e.g. 0 or 10) seem to make no difference at all.

What am I missing? Is that even the right place to make that adjustment ?

 

Denis

 

Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von denis.maier@unibe.ch
Gesendet: Mittwoch, 23. Juni 2021 11:47
An: ntg-context@ntg.nl
Betreff: [NTG-context] WG: Adjust Grid to last line textheight

 

Hi,

 

I have to use grid typesetting and the grid has to be aligned to the last line of textheight. I have to replicate a layout made with Indesign where there seems to be a bit of additional spacing before the first line, whereas in ConTeXt that happens to be after the last line of the page (see attachment).

 

Is that possible?

 

I have already found the various grid snapping methods, but they seem to change how content is placed on the grid, not the placement of the grid itself.

 

=======

\setuplayout[grid=yes]

\showgrid

\starttext

 

\input knuth

 

\stoptext

=======

 

Best,

Denis