From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75796 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: Is there some easy way to do tufte-style side note? Date: Sun, 22 Apr 2012 12:30:28 -0400 Message-ID: References: <4F93B45A.1020609@googlemail.com> <085111A2-E62C-455B-85BB-817A8CB9F52B@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335112240 11621 80.91.229.3 (22 Apr 2012 16:30:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Apr 2012 16:30:40 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 22 18:30:39 2012 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 1SLzgJ-0006p1-CQ for gctc-ntg-context-518@m.gmane.org; Sun, 22 Apr 2012 18:30:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF28E101CF; Sun, 22 Apr 2012 18:30:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8mneeLGUBqKI; Sun, 22 Apr 2012 18:30:32 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86E1C101DF; Sun, 22 Apr 2012 18:30:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D135101DF for ; Sun, 22 Apr 2012 18:30:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2edjKW4JSszp for ; Sun, 22 Apr 2012 18:30:30 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 61E31101CF for ; Sun, 22 Apr 2012 18:30:30 +0200 (CEST) Original-Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q3MGUTWr003308 for ; Sun, 22 Apr 2012 18:30:29 +0200 Original-Received: by lagz14 with SMTP id z14so11034161lag.14 for ; Sun, 22 Apr 2012 09:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ObogHAWtrLfI5TVJJT/s6kUlt0DAizw+XN9gOkGRkMs=; b=Raw0ngb45wmlylnq/3yCLMVV0dbhqbsBRITMh2ViPBtndkwU3yOEKky46vlD+Hw0ih T4Mo/Ejjxjo+m3xmpTYxrHwxpa/KAn/jvGC+0GkTHBSemqb/ki8Yz56rjgLZW9af2JJP d5FcI9xI86aaQoUJ3CXzuvr3Uo+/ag6Bm53BTJDeaX/WvwTMoa2+/PTMKof37LAGCPk9 D9iPml0Ykgfsu8XM5oSAxohthLAiziu4aY6VSA56PZuWFlBJpPUvm9QDDp9fTO8bf2rh lMwfPDkaxs9PQCMC2JvoyJ/I6QvqYDQRAFEvHVp/IkWFpqTTkfpZcOkDfB7r7Wpt9PWt MVUA== Original-Received: by 10.112.86.229 with SMTP id s5mr6314659lbz.0.1335112228810; Sun, 22 Apr 2012 09:30:28 -0700 (PDT) Original-Received: by 10.112.53.43 with HTTP; Sun, 22 Apr 2012 09:30:28 -0700 (PDT) In-Reply-To: <085111A2-E62C-455B-85BB-817A8CB9F52B@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.41; 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: 0TH14utmv - a125febb5fb5 - 20120422 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75796 Archived-At: There are many styles available on the context-garden site (http://wiki.contextgarden.net/Sample_documents) which are really helpful to help newcomers to learn how to define styles in context. Wouldn't it be great to add tufte's and bringhurst's as extra examples? On Sun, Apr 22, 2012 at 4:17 AM, Wolfgang Schuster wrote: > > Am 22.04.2012 um 09:33 schrieb S Barmeier: > >> On 04/22/2012 04:16 PM, Yue Wang wrote: >>> Dear powerful ConTeXt users: >>> >>> Is there some way to do tufte style side notes? I googled and did >>> found Wolfgang's solution >>> >> (http://archive.contextgarden.net/message/20110906.202722.f501f115.en.ht= ml) >>> but it's just too simple and cannot be used for production. Side notes >>> will cluttered or fall out of pages. >>> >>> LaTeX does provide a good solution for this style. I am wondering if >>> this is possible to do in context. >>> >>> I am also curious to know simple way to do multiple float style in >>> ConTeXt (like graphics spanning text and margin and many others). >>> >>> Yue Wang >> >> Well, I am no powerful ConTeXt user, but \inmargin and derivatives >> (\inouter \ininner \inright \inleft) have an option stack=3Dyes to avoid >> overlapping and stack=3Dcontinue to avoid ... overlapping. As I understa= nd >> it, the former is for shorter margin notes, the latter for use with >> paragraph-sized notes. >> >> There is also \startmarginblock ... \stopmarginblock and it exceed my >> ConTeXt user powers to be able to tell you the difference. My guess is, >> that this type of margin note is a block, which maybe enjoys features of >> textblocks...? But I, too, would be interested to understand the >> difference in any detail. >> >> I also use margin notes extensively (or at least hope the final version >> of my document will be able to), but as of now, there seems to be no way >> to float margin notes to the top/bottom of the page and no way to >> prevent longer notes, attached to a line near the bottom of a page, to >> exceed the margin and be typeset even beyond the page boundaries... >> (Forgive me, if I'm wrong). > > All of the mechanisms are added at different times in the process to make= from text a page. > > Margindata (\inmargin etc.) is added to the line where you have it in your > and doesn=92t move from this position but you prevent overlapping of two > different texts in the line with =93stack=3Dyes=94. > > Marginblocks are added after ConTeXt has finished the entire page. > > As you can see in the example below it=92s possible to have text > at different levels on the same position. > > \setupmarginblock[color=3Dgreen] > > \setupnote =A0 =A0[footnote][location=3Dnone] > \setupnotation[footnote][color=3Dblue] > > \setuptexttexts > =A0[margin] > =A0[] > =A0[{\framed[frame=3Doff,height=3D\textheight,width=3Dbroad,offset=3Dnone= ,align=3Dhigh]{\placenotes[footnote][before=3D]}}] > > \starttext > > \inright[color=3Dred]{Paragraph 1} > > \input knuth\footnote{Footnote 1} > > \startmarginblock > \input ward > \stopmarginblock > > \inright[color=3Dred]{Paragraph 2} > > \input knuth > > \stoptext > > Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________