View Issue Details

IDProjectCategoryView StatusLast Update
0000379contextpublic2017-01-19 19:28
Reportersteffen Assigned ToHans Hagen  
PriorityhighSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Summary0000379: definegridsnapping offset works only for one-liners
Description\definegridsnapping[whatever][strut,offset:-3pt]

... does only work with one line of text.

In any other case the first instruction of gridsnapping (here "strut") is ignored and the heading "jumps up" (see example).
Steps To ReproduceIn Hans' example below just make the heading two lines:
\topsection{test\\test}
Additional InformationAm 18.02.2010 um 14:49 schrieb Hans Hagen:

I'll make a beta that has:

\setuplayout[grid=yes]

\showgrid
\showframe

\definegridsnapping[whatever][strut,offset:-3pt]

\definehead[topsection][section]

\setuphead
[section]
[grid=strut]

\setuphead
[topsection]
[grid=whatever]

\starttext
  \topsection{test}
  \section{test}
  \section{test}
  \section{test}
\stoptext

more advanced trickery has to wait
TagsNo tags attached.

Activities

Hans Hagen

2017-01-19 19:28

manager   ~0001663

redone in mkiv

Issue History

Date Modified Username Field Change
2010-04-12 09:47 steffen New Issue
2017-01-19 19:28 Hans Hagen Note Added: 0001663
2017-01-19 19:28 Hans Hagen Status new => closed
2017-01-19 19:28 Hans Hagen Assigned To => Hans Hagen
2017-01-19 19:28 Hans Hagen Resolution open => fixed