* right margin too high
@ 2000-04-27 6:26 Johannes Hüsing
2000-04-27 9:08 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Hüsing @ 2000-04-27 6:26 UTC (permalink / raw)
Dear ConTeXtuals,
as a beginner I am not supposed to tinker with the internals but I figure
that's the best way to learn about them...
I chose s-pre-01 as the presentation module. I wanted to include a MetaPost
graphic on the bottom right outside the text area and figured that the
appropriate position is the right edge. What I included then was
\setuptexttexts
[edge]
[][\vbox{\TopicList\vfill\externalfigure[mprun.1][width=60pt]}]
(according to Hans' hint to use \startMPrun and \stopMPrun to be able to
scale MetaPost graphics).
The \vbox I get exceeds the text body in height and the first topic is
pushed above the visible area. I find that odd because I thought the glue
would stretch as long as to fill exactly the height.
Does anyone have an idea?
Thanks and greetings
Johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: right margin too high
2000-04-27 6:26 right margin too high Johannes Hüsing
@ 2000-04-27 9:08 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-04-27 9:08 UTC (permalink / raw)
Cc: ntg-context
At 08:26 AM 4/27/2000 +0200, Johannes Hüsing wrote:
>Dear ConTeXtuals,
>
>as a beginner I am not supposed to tinker with the internals but I figure
>that's the best way to learn about them...
>
>I chose s-pre-01 as the presentation module. I wanted to include a MetaPost
>graphic on the bottom right outside the text area and figured that the
>appropriate position is the right edge. What I included then was
>
>\setuptexttexts
> [edge]
> [][\vbox{\TopicList\vfill\externalfigure[mprun.1][width=60pt]}]
>
>(according to Hans' hint to use \startMPrun and \stopMPrun to be able to
>scale MetaPost graphics).
>
>The \vbox I get exceeds the text body in height and the first topic is
>pushed above the visible area. I find that odd because I thought the glue
>would stretch as long as to fill exactly the height.
>
>Does anyone have an idea?
A better way is to use backgrounds, like (untested):
\setuplayout
[rightedge=2cm,footer=1cm]
\setupbackgrounds
[footer][rightedge]
[background=test]
\defineoverlay
[test]
[{\externalfigure[mprun.1][height=\overlayheight]}]
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.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-27 9:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-27 6:26 right margin too high Johannes Hüsing
2000-04-27 9:08 ` 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).