From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7898 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: mp on odd and even Date: Mon, 20 May 2002 09:36:45 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020520093148.0218bae0@server-1> References: <009338BB68A541498BE072F8D0E602FA01ECE5@sbsserver.hoofdkantoor.lokaal> <009338BB68A541498BE072F8D0E602FA01ECE5@sbsserver.hoofdkantoor.lokaal> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398335 23167 80.91.224.250 (23 Oct 2002 18:38:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:38:55 +0000 (UTC) Cc: "Michel van Ast" , ntg-context@ntg.nl Original-To: Henning Hraban Ramm In-Reply-To: <200209192127.11007.angerweit@gmx.net> Xref: main.gmane.org gmane.comp.tex.context:7898 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7898 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------