From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103652 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Background under bibliography (like in mkiv-publications.pdf) Date: Mon, 18 Mar 2019 14:15:10 -0400 (EDT) Message-ID: References: <20190313225840.GA9229@nereid.neptune> <20190318150328.GB27546@nereid.neptune> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-830189494-994643745-1552932911=:12837" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="149276"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Alpine 2.21.99 (LNX 239 2017-12-04) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 18 19:16:42 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 1h5woU-000ck6-7p for gctc-ntg-context-518@m.gmane.org; Mon, 18 Mar 2019 19:16:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E4BBC10BC75; Mon, 18 Mar 2019 19:16:13 +0100 (CET) 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 Ow7vFZJPT00b; Mon, 18 Mar 2019 19:16:12 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DE10410BC77; Mon, 18 Mar 2019 19:16:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C46510BC77 for ; Mon, 18 Mar 2019 19:16:11 +0100 (CET) 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 EH_HichZ3XHp for ; Mon, 18 Mar 2019 19:16:10 +0100 (CET) Original-Received: from maleficent.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.125.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DFBA810BC75 for ; Mon, 18 Mar 2019 19:16:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1552932968; bh=hX9ldz0Y4/UgYOc3xvpGOLotHVhxO3xNJqf4gFKxNek=; h=Date:From:To:Subject:In-Reply-To:References; b=EFoa+HMoOqjXzSjNdBjIImVLs5+KR7wUqu6pm0Q8zbS86QRyvPhtdgPM3Gif7ssN7 iHX9RM3pKlPP/9VT08u+LnUvK3Xv/RU4A07O4Z7u2jmlc1iHnYBiIAndo99s8pD8Ol bAgaCAIPyOl10Wk8O4xp/eV1MKDpMetGHkT72SaUKsWnHQxhR8UZyihTJJv7HZBC0y RY/8c9CgrTGm8soSzxbDlilSOeVt9mwsmMefZ03VhIEizFIBv/IhQ9SunrIvM8f/kL ZvM6r0TzBAFv3OhVaDGplyEXrq+GNmrnZZPbBIPK28ik27BQ3xn24GtryLrquLgqZi mUxuhSDc2mIDg== Authentication-Results: maleficent.mr.itd.umich.edu; iprev=pass policy.iprev=132.206.74.80 (reinforce.cim.mcgill.ca); auth=pass smtp.auth=adityam Original-Received: FROM reinforce.cim.mcgill.ca (reinforce.cim.mcgill.ca [132.206.74.80]) By maleficent.mr.itd.umich.edu ID 5C8FE067.94C4C.11946; Authuser adityam; Mon, 18 Mar 2019 14:16:07 -0400 In-Reply-To: <20190318150328.GB27546@nereid.neptune> 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:103652 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---830189494-994643745-1552932911=:12837 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 18 Mar 2019, Romain Diss wrote: > Le 13/03/2019, Aditya Mahajan a =C3=AF=C2=BF=C2=BDcrit >> > Is there a simple way to split a large \startframedtext environment ov= er >> > multiple pages. It doesn't work out of the box and I didn't find any >> > option make it work in the wiki nor in the documentation I read. >>=20 >> Use backgrounds or textbackgrounds. > Thank you but I still can't achieve what I want to do whith this > command. > > I try to make something similar to the frames in the > "mkiv-publications.pdf" manual (page 6 or 22 for a bibliography for > examples). > I suppose Hans Hagen made use of metafun to do it but I encounter some > problems with 'textbackgrounds'. > > In this minimal example, the frame doesn't appear (or if i set > [frame=3Don,leftframe=3Doff] all the frame is rendered) and the left and > right offsets are not took into account. textbackground uses metapost for ALL backgrounds and the default metapost= =20 code to draw the background (draw_multi_pars, defined in mp-abck.mkiv)=20 doesn't handle individual frames. So, you have to write your own metapost= =20 code to draw the side bar. Another option for simple backgrounds is to use `\definebackground`=20 instead of `definetextbackground`. The background mechanism doesn't have=20 too many options, but does honor leftframe and rightframe by default. Aditya ---830189494-994643745-1552932911=:12837 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== ---830189494-994643745-1552932911=:12837--