From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80754 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: margin notes in MKIV (doublesided pages) Date: Sat, 9 Feb 2013 07:03:27 -0500 Message-ID: References: <5115EBEA.9000101@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1120041358==" X-Trace: ger.gmane.org 1360411413 7981 80.91.229.3 (9 Feb 2013 12:03:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2013 12:03:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 09 13:03:55 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U499u-00062l-4D for gctc-ntg-context-518@m.gmane.org; Sat, 09 Feb 2013 13:03:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BDA21101E3; Sat, 9 Feb 2013 13:03:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oI6itkIUlzd8; Sat, 9 Feb 2013 13:03:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 00D47101E6; Sat, 9 Feb 2013 13:03:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78232101E6 for ; Sat, 9 Feb 2013 13:03:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id B5QWTx8LRwMp for ; Sat, 9 Feb 2013 13:03:30 +0100 (CET) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id EBAAA101E3 for ; Sat, 9 Feb 2013 13:03:29 +0100 (CET) Original-Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r19C3RAu029941 for ; Sat, 9 Feb 2013 13:03:28 +0100 Original-Received: by mail-vc0-f173.google.com with SMTP id fy7so2897803vcb.18 for ; Sat, 09 Feb 2013 04:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=RigwByljiakBziiiJyJtqJXdocsnsDwWSBrtux3quL4=; b=ZNFGJhAE9T2oH1xNMzqzBENvRY62+d1aw2CoOfvnpscsHwoKVfG0ihWd1thqvEC93c K5BEZOcljZfBDYIGsOAcuRvvTOHZRZNrleRqFDf3r7tVUddp41vpHXwy1W1wtK/z8Iyh C/zDnEdRsmPvVINGpLsGBVD3U2An6UYlJOceQX4jv8XBJaaS7yZ1hCq43RljzGWQCe/I BcPPmb4W5PTP/Zvj2aTeZ7cZk5t2ERl3RHCMTHjxg3STvSigy2/rBcadV2Iqm087jth2 2xXRAOS+CZc4nnaZSbtCCojpyKJozYgw2vjVXJkB8qqmi5KY9zqFEzwo3qj0AvXc4xQ0 LkhQ== X-Received: by 10.52.74.38 with SMTP id q6mr9771758vdv.17.1360411407133; Sat, 09 Feb 2013 04:03:27 -0800 (PST) Original-Received: by 10.220.136.206 with HTTP; Sat, 9 Feb 2013 04:03:27 -0800 (PST) In-Reply-To: <5115EBEA.9000101@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04IWc3sPG - 856cf734e622 - 20130209 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80754 Archived-At: --===============1120041358== Content-Type: multipart/alternative; boundary=bcaec501662babacdb04d5497666 --bcaec501662babacdb04d5497666 Content-Type: text/plain; charset=ISO-8859-1 Thanks, Devendra. That is very helpful. \*setupmargindata*[margintext][location=outer,align=inner] gives me exactly the placement that I need. Best, Alan On Sat, Feb 9, 2013 at 1:25 AM, Devendra Ghate wrote: > > On 02/09/2013 06:51 AM, Alan Bowen wrote: > > I need margin notes in a doublesided page environment in MKIV. > > The following: > > \setuppagenumbering[alternative=doublesided] > \setupinmargin[location=both] > \starttext > \inmargin{n1}\input knuth\inmargin{note 1} > \page > \inmargin{n2}\input knuth\inmargin{note 2} > \page > \inmargin{n3}\input knuth\inmargin{note 4} > \stoptext > > > works in MKII. In MKIV, however, all the margin notes are on the left. > So how can I get this right in MKIV? > > Alan > > Probably, \setupmargin[location=outer] should do the trick (*not tested*). > > I have been using > > \setupmargintext[margintext][location=outer] > > \margintext{Note 1} > > without a problem. > > Regards, > Devendra > > PS: sidenotes style [http://wiki.contextgarden.net/Sidenotes_style] by > Andy thomas uses this setup. > > > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > > > > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --bcaec501662babacdb04d5497666 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Devendra. That is very helpful.

\setupmargind= ata[margintext][location=3Douter,align=3Dinner]

gives me exactly the placement that I need.


= Best, Alan

On Sat, Feb 9, 2013 at 1:25 AM, Devendr= a Ghate <devendra.ghate@gmail.com> wrote:
=20 =20 =20

On 02/09/2013 06:51 AM, Alan Bowen wrote:
=20 I need margin notes in a doublesided page environment in MKIV.=A0

The following:
\setuppagenumbering[alternative=3Ddoublesided]
\setupinmargin[location=3Dboth]
\starttext
\inmargin{n1}\input knuth\inmargin{note 1}
\page
\inmargin{n2}\input knuth\inmargin{note 2}
\page
\inmargin{n3}\input knuth\inmargin{note 4}
\stoptext

works in MKII. In MKIV, however, all the margin notes are on the left. So how can I get this right in MKIV?=A0

Alan

Probably, \setupmargin[location=3Douter] should do the trick (*not tested*).

I have been using

\setupmargintext[margintext][location=3Douter]=A0

\margintext{Note 1}

without a problem.

Regards,
Devendra

PS: sidenotes style [http://wiki.contextgarden.net/Sidenotes_style= ] by Andy thomas uses this setup.



________________________________________________________________=
___________________
If your question is of interest to others as well, please add an entry to t=
he Wiki!

maillist : ntg-cont=
ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://ww=
w.pragma-ade.nl / h=
ttp://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://co=
ntextgarden.net
___________________________________________________________________________=
________


_______________________________________________________________________= ____________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--bcaec501662babacdb04d5497666-- --===============1120041358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1120041358==--