
Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5] % \setuplayout[grid=yes] % OK % \setuplayout[grid=tolerant] % OK \setuplayout[grid=verytolerant] % -> overlapping \setupheads[expansion=yes] \starttext \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{10}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext Greeting Andreas

Am 11.02.2011 um 15:08 schrieb luigi scarso:
You have commented the paper size setting, therefore the lines do not break. Otherwise in your pdf nothing is on grid, although you're using the same minimals … I've changed the example a bit: \setuplayout[grid=verytolerant] % -> overlapping \setupheads[expansion=yes] \starttext \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{15}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext Andreas

Am 11.02.2011 um 15:32 schrieb luigi scarso:
Depends on the commands, sometimes the value is checked but no with gridsnapping. The “yes” value is defined as \definegridsnapping[yes][maxheight,maxdepth,strut] and you enable with with “grid=yes” a where context tests if “yes” is a predefined lists but “grid={maxheight,maxdepth,strut}” is also valid and in this case context defined a dummy list which is passed to lua. The same happens with “verytolerant”, context creates a dummy list and use ”verytolerant” as value for this list. Wolfgang

Am 11.02.2011 um 15:55 schrieb Wolfgang Schuster:
Thank you Wolfgang! Now I've defined verytolerant in order to get some fractions on grid. \definegridsnapping[verytolerant][maxdepth:1.6,maxheight:1.4,strut] \setuplayout[grid=verytolerant] % \setuplayout[grid=tolerant] \setupbodyfont[palatino] \starttext test\crlf $b = \frac p q$\crlf test \stoptext Andreas
participants (4)
-
Andreas Harder
-
Andreas Harder
-
luigi scarso
-
Wolfgang Schuster