MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000379contextpublic2010-04-12 09:472017-01-19 19:28
Reportersteffen 
Assigned ToHans Hagen 
PriorityhighSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
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.
Attached Files

- Relationships

-  Notes
(0001663)
Hans Hagen (manager)
2017-01-19 19:28

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


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker