[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-23 Thread Thomas Meyer
tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! You need a fixed space (multiple of the line distance) between the text blocks and \vfill is a variable space which isn't what you want here. TO get the desired

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Wolfgang Schuster
. Maybe \startlinecorrection helps… (No, it doesn’t.) It also doesn’t help to add a \blank or \par after \vfill. I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! You need a fixed space

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Thomas Meyer
… (No, it doesn’t.) It also doesn’t help to add a \blank or \par after \vfill. I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! Hans, how about adding \blank[fill] for a vertical fill that keeps

Re: [NTG-context] spacing

2018-11-10 Thread Wolfgang Schuster
uses grid snapping by default which can result in blank lines in the output. Below is a simplified version of Henning problems which produces an blank line when you use bold text. \showboxes \starttext \startcolumns[balance=no] \snaptogrid[]\hbox{\setstrut\begstrut Ward\endstrut

Re: [NTG-context] mathalignment and grid

2017-07-03 Thread Hans Hagen
ntered formula ht/dp is kind of unknown (we could add a grid key to formulas so that users can choose) Cheers, Henri --- \setuplayout[grid=both] \showgrid \startmode[fix] \unprotect \def\math_alignment_snap_start {\ifgridsnapping \snaptogrid[top]\vbox\bgroup \fi} \protect \stopmod

[NTG-context] mathalignment and grid

2017-07-03 Thread Henri Menke
snapping mode to "top" rather than "math", but this does not apply universally.  Any chance there is an easy fix? Cheers, Henri --- \setuplayout[grid=both] \showgrid \startmode[fix] \unprotect \def\math_alignment_snap_start   {\ifgridsnapping  \snaptogrid[top]\vbox\bgr

Re: [NTG-context] mathalignment and grid

2016-08-28 Thread Henri Menke
Dear list, I did some research in math-ali.mkiv and found that when grid is enabled, the whole alignment is simply put in a vbox and snapped to the grid using \def\math_alignment_snap_start {\ifgridsnapping \snaptogrid[\v!both]\vbox\bgroup \fi} Unfortunately, the `both` option rounds

[NTG-context] new beta

2014-09-25 Thread Hans Hagen
\snaptogrid[min]\hbox{e.g. an image} The external figure mechanism has a new predefined conversion. One cna for instance say: \setupexternalfigures [order={pdf,eps,png,jpg}, conversion=cmyk.pdf, method=auto] We need it for projects where printing houses use over a decade old rips

Re: [NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Peter Rolf
§ \startgridcorrection%[top] % no argument possible! \switchtobodyfont[rm,13pt] % also wrong interlineskip without grid correction \snaptogrid\hbox{Éç\par} % needed to snap in; maybe obsolete, if grid correction argument works Éç\par Éç\par Éç \stopgridcorrection \stoptext

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
|margin|edge] \showgrid # \showgridboxes # \showgridsnapping \showlayout # \showlayoutcomponents \showmakeup \showpalet[name][horizontal|vertical|name|value] \showprint[typesetting papersize][printing papersize][settings] \showsetups \showstruts # \showstruts \showsymbolset[name] # \snaptogrid

[NTG-context] rotate bug?

2007-11-09 Thread Peter Rolf
\setuplayout[grid=yes] \starttext \showgrid \def\Foobar{\blackrule[width=\textwidth,height=0.5\lineheight]} \framed{\rotate[rotation=-0.5]{\Foobar}} % -0.x is not working (sign is ignored) \snaptogrid\hbox\bgroup \framed{\rotate[rotation=359.5]{\Foobar}} % ok \egroup \snaptogrid\hbox\bgroup \framed

Re: [NTG-context] Grid-keeping list (again)

2007-04-12 Thread Hans Hagen
. the problem with tex is that it does not hav ea way to force consistent height and depth of lines, so here are a few tricks: \begstrut some text \endstrut \endgraf \snaptogrid\vbox{some text} Hans

Re: [NTG-context] Grid-keeping table

2007-03-28 Thread Hans Hagen
spacing is suboptimal boxed stuff (\bTABLE, \starttable, \framed) should be surrounded by \startlinecorrection \stoplinecorrection (also better in non grid mode) unless it's a float for your own macros, use \snaptogrid\vbox{...} hmm, some problems (see %Pj ) % \setuplayout[grid=yes] %P1

Re: [NTG-context] Snapping sectionhead

2006-08-15 Thread Hans Hagen
variant of that manual? the grid options as discussed with sections, are the ones that are taken care of by the \snaptogrid macro; the grid key in externalfigure is not related to that, it relates to scaling, as in \setuplayout[grid=yes] \showgrid \setupcaptions[style=smallbodyfont,location

Re: [NTG-context] floats spanning columns?

2006-04-13 Thread Hans Hagen
\global\notelimittrue % brrr, untested and fuzzy \setvsize \sethsize \ifvoid\OTRfinalpagebox\else % probably balanced \ifdim\ht\OTRfinalpagebox\textheight \snaptogrid[\v!page]\hbox{\box\OTRfinalpagebox}% \else \box\OTRfinalpagebox

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Randall Skelton
of getting the \domoveongrid and/or \snaptogrid\vbox to work either. Does anyone have any suggestions on how I can clean this up so that \starttable and \stoptable are not in separate definitions but I can still use variables to define the table elements as is done in the \Authors definition? Cheers

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Vit Zyka
with \placeongrid{ }. I cannot see a way of getting the \domoveongrid and/or \snaptogrid\vbox to work either. OK, in this case use in \startAuthor \placeongrid[...]\bgroup and in \stopAuthor \egroup cheers vit Does anyone have any suggestions on how I can clean this up so that \starttable

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Randall Skelton
One more quick question. When using a grid, I gather that I should wrap all floating content (tables figures in my case) with \placeongrid to ensure \snaptogrid is being used. Does this also apply to formulae? i.e. should I be using: \placeformula \placeongrid{% \startformula

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Hans Hagen
Randall Skelton wrote: One more quick question. When using a grid, I gather that I should wrap all floating content (tables figures in my case) with \placeongrid to ensure \snaptogrid is being used. Does this also apply to formulae? i.e. should I be using: no, actually most environments

Re: [Fwd: Re: [NTG-context] \placelist disturbs grid?]

2005-08-08 Thread Hans Hagen
Vit Zyka wrote: Hello, I was perhaps little descriptive in my last question. Let me discribe my real problem: you can explitly snap: \showgrid \setuplayout[grid=yes] \snaptogrid\vbox{\bf \setstrut \strut test} \snaptogrid[line]\vbox{\bfa \setstrut \strut test} \snaptogrid[line]\vbox{\bfa