At 09:27 PM 9/19/2002 +0200, Henning Hraban Ramm wrote:
>Am Donnerstag, 19. September 2002 10:41 schrieb Michel van Ast:
> > In the lay-out of one of my styles I use a MetaPost-graphic. How can I
> > get this "graphic" placed on odd pages on the right and on even pages on
> > the left? Is it something like:
>
>Use \definelogo, see manual chapter page layout.
>You can define different logos or different placements for right and left
>pages.
It depends on where the decision is made:
(1) when the page ornaments are added: logo space can be used indeed, as
well as:
\setupbackgrounds[leftpage][...]
and alike
(2) when the decisions are to be made during the running text, there is a
macro:
\doifrightpageelse {} {}
but in order to get the right decission, one also need to put a signal with
\signalrightpage
beware: since the signal introduces a node in the mvl, you need to put it
there where it cannot hurt the spacing and also make sure that it does not
get loose from the thing related to your decision; also, there is a one-one
match of \doif.. and \signal... (so don't let them get out of sync!)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------