ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* showframe - showgrid = 2pt ??
@ 2008-01-12 18:14 Steffen Wolfrum
  2008-01-14 10:19 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2008-01-12 18:14 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users

Hans,

I know I've asked you this before ... I just can't find the answer  
anymore ;o(
Look at line 43:


\newdimen\XVertikal
\XVertikal=12pt

\setupbodyfont[postscript,10pt] \setupinterlinespace[line=\XVertikal]

\setuplayout
	[width=113mm,height=\the\dimexpr48\XVertikal-2pt\relax,
	backspace=20mm,topspace=15mm,
	header=\XVertikal,headerdistance=0.5\XVertikal,
	footer=3.5\XVertikal,footerdistance=0pt,
	location=middle,marking=on,grid=yes]

\showframe
\showgrid
\starttext
bla
\stoptext


... when "height" is made 2pt smaller then it fits:


\newdimen\XVertikal
\XVertikal=12pt

\setupbodyfont[postscript,10pt] \setupinterlinespace[line=\XVertikal]

\setuplayout
	[width=113mm,height=\the\dimexpr48\XVertikal-2pt\relax,
	backspace=20mm,topspace=15mm,
	header=\XVertikal,headerdistance=0.5\XVertikal,
	footer=3.5\XVertikal,footerdistance=0pt,
	location=middle,marking=on,grid=yes]

\showframe
\showgrid
\starttext
bla
\stoptext


Does this difference has a specific purpose?
Would you recommend *not* to use the second?


Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: showframe - showgrid = 2pt ??
  2008-01-12 18:14 showframe - showgrid = 2pt ?? Steffen Wolfrum
@ 2008-01-14 10:19 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2008-01-14 10:19 UTC (permalink / raw)
  To: Steffen Wolfrum; +Cc: mailing list for ConTeXt users

Steffen Wolfrum wrote:
> Hans,
> 
> I know I've asked you this before ... I just can't find the answer 
> anymore ;o(

.... the magic word is topskip, so you're running into

	delta(topskip-strutheight)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-14 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-12 18:14 showframe - showgrid = 2pt ?? Steffen Wolfrum
2008-01-14 10:19 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).