From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105105 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: stacking of margin "footnotes" Date: Wed, 25 Sep 2019 07:58:07 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_BEA180EF-F5CC-4F89-A123-AE6F039FC01B" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="144730"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 25 07:58:52 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iD0KB-000bSY-P1 for gctc-ntg-context-518@m.gmane.org; Wed, 25 Sep 2019 07:58:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B2BEC161071; Wed, 25 Sep 2019 07:58:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OEOEBDiMdaYY; Wed, 25 Sep 2019 07:58:15 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DAE361610C8; Wed, 25 Sep 2019 07:58:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 243281610AB for ; Wed, 25 Sep 2019 07:58:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x7tFc3wnjBlY for ; Wed, 25 Sep 2019 07:58:10 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=46.163.112.221; helo=fiee.net; envelope-from=texml@fiee.net; receiver= Original-Received: from fiee.net (feronia.fiee.net [46.163.112.221]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 97CB4161071 for ; Wed, 25 Sep 2019 07:58:10 +0200 (CEST) Original-Received: from aretsaya.fritz.box (p5B29314E.dip0.t-ipconnect.de [91.41.49.78]) by mail.fiee.net (Postfix) with ESMTPSA id A4FA580324 for ; Wed, 25 Sep 2019 07:58:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fiee.net; s=default; t=1569391090; bh=CmXqknnSmcWtu+5NiYYV67iUYqNoRi9jweZJxiTdrPw=; l=2994; h=From:Subject:To; b=BpQBmH1fkHJ5etydKyhkvpBa3PLFCM6pn2lpxw11I22itw1H5CbworQ/zQcgrXg4Z kOvpXS49FN5Slaop87DcwtxmN4qczx7SuYtv9kZxqX18GcgR7KnjOaeH6WV/WpZ+aP yQoSkDl0GejLFpw1Jj53RlHlQ1lVL+RA6yz5M/Js= Authentication-Results: feronia.fiee.net; spf=pass (sender IP is 91.41.49.78) smtp.mailfrom=texml@fiee.net smtp.helo=aretsaya.fritz.box Received-SPF: pass (feronia.fiee.net: connection is authenticated) X-Mailer: Apple Mail (2.3445.104.11) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.org gmane.comp.tex.context:105105 Archived-At: --Apple-Mail=_BEA180EF-F5CC-4F89-A123-AE6F039FC01B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 BTW yesterday I recognized that stacking of my margin notes now works = without my manual shifting. That=E2=80=99s great, thank you! The attached example is probably not minimal, but just in case = someone=E2=80=99s interested. Best, Hraban --Apple-Mail=_BEA180EF-F5CC-4F89-A123-AE6F039FC01B Content-Disposition: attachment; filename=marginaltest.tex Content-Type: application/octet-stream; x-unix-mode=0644; name="marginaltest.tex" Content-Transfer-Encoding: 7bit \usemodule[visual] \showgrid \def\ColWidth{57mm} \setuplayout[ backspace=21mm, topspace=11mm, width=118mm, height=270mm, %header=9pt, %headerdistance=12pt, %footer=24pt, %footerdistance=0pt, rightmargindistance=4mm, rightmargin=\ColWidth, leftmargindistance=4mm, leftmargin=0mm, grid=yes, location=doublesided, ] \setupbodyfont[9pt] \setupinterlinespace[line=12pt] % \definebodyfontenvironment[6pt][interlinespace=8pt] % \definebodyfontenvironment[9pt][interlinespace=12pt] % \definebodyfontenvironment[10pt][interlinespace=12pt] % \definebodyfontenvironment[12pt][interlinespace=15pt] % \definebodyfontenvironment[28pt][interlinespace=36pt] % \definebodyfontenvironment[30pt][interlinespace=36pt] \definefont[ChapterTitleFont][Serif*default at 30pt][36pt] \definefont[SectionTitleFont][Serif*default at 9pt][12pt] \definefont[FootnoteFont][Serif*default at 6pt][8pt] \setupmargindata[inmargin][location=right,stack=continue,align=flushright,style={\FootnoteFont\setcharacterkerning[footnotes]}] %,style={\ss\tfx}] \setupmargindata[inouter][location=right,stack=continue,align=flushright,style={\FootnoteFont\setcharacterkerning[footnotes]}] \def\MarginNote#1{\inmargin[ width=\ColWidth, align=flushleft, style={\FootnoteFont}, ]{% \inframed[ width=\ColWidth, align=right, frame=off, offset=overlay, strut=yes, ]{#1}% }% } \define\PlaceFootnote{% \inmargin[width=\ColWidth]{% \vtop{\placelocalnotes[footnote][before=,after=]}}} \def\FNo#1{{\FootnoteFont#1\quad\gobblespacetokens}} %\crlf}} % Abstand geht nicht weg!? \setupnote[footnote] [location=text, bodyfont=, indenting=no, before={\noindentation}, next=\PlaceFootnote] \setupnotation[footnote][ % footnote text way=bychapter, align=flushleft, style={\FootnoteFont}, indenting=no, location=serried, alternative=serried, width=broad, numbercommand=\FNo, ] \setuptexttexts[margin][][% "foot"note placement {\framed[ align={flushright,bottom}, frame=off, height=\textheight, width=\ColWidth, ]{% \strut\vfill\placenotes[footnote]}% }] \starttext \dorecurse{20}{% \fakewords{5}{50}\footnote{\fakewords{10}{30}} \fakewords{5}{50}\footnote{\fakewords{5}{30}} \fakewords{5}{50}\par } \stoptext --Apple-Mail=_BEA180EF-F5CC-4F89-A123-AE6F039FC01B Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --Apple-Mail=_BEA180EF-F5CC-4F89-A123-AE6F039FC01B--