From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81131 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: reStructuredText module Date: Thu, 14 Mar 2013 18:17:35 +0100 Message-ID: <20130314171717.GA16163@phlegethon> References: <513E68B9.4040608@meahan.net> <20130312003116.GA7509@phlegethon> <513F1F60.4020003@meahan.net> <20130312202355.GA8066@phlegethon> <20130312214225.GA11494@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0238210831==" X-Trace: ger.gmane.org 1363281475 13278 80.91.229.3 (14 Mar 2013 17:17:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Mar 2013 17:17:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 14 18:18:17 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 1UGBnE-0008TY-S9 for gctc-ntg-context-518@m.gmane.org; Thu, 14 Mar 2013 18:18:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9CEF101F6; Thu, 14 Mar 2013 18:17:53 +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 0-EqgHQXADP5; Thu, 14 Mar 2013 18:17:47 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 70476101E6; Thu, 14 Mar 2013 18:17:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB3E4101E6 for ; Thu, 14 Mar 2013 18:17:46 +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 u0xaIt1VUgkP for ; Thu, 14 Mar 2013 18:17:45 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 75C46101E3 for ; Thu, 14 Mar 2013 18:17:44 +0100 (CET) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2EHHhae027643 for ; Thu, 14 Mar 2013 18:17:44 +0100 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id r2EHHfhT005924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Mar 2013 18:17:42 +0100 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r2EHHf3E028666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Mar 2013 18:17:41 +0100 Original-Received: from localhost (p50846410.dip.t-dialin.net [80.132.100.16]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id r2EHHeuc006026 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 14 Mar 2013 18:17:41 +0100 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: X-Operating-System: Linux phlegethon 3.7.9-2-ARCH User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.100.212; country=DE; region=01; city=Heidelberg; postalcode=69115; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JbthHsu - 71fcea69fa01 - 20130314 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81131 Archived-At: --===============0238210831== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 > On Tue, 12 Mar 2013, Philipp Gesang wrote: >=20 > >=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 > > > >>On Tue, 12 Mar 2013, Philipp Gesang wrote: > >> > >>A better way to handle this is to provide macros \startRSTcontainer > >>... \stopRSTcontainer and translate the above to > > > >I considered adding a generator \defineRSTcontainer with the > >usual interface (e.g. [command=3D\framed,frame=3Don]). This won=E2=80=99t > >work because the output is supposed to be a self-contained > >document. The goal is for the output to consist of ordinary > >Context macros only so it can be imported without loading further > >code. (I=E2=80=99m undecided regarding the requirement of the =E2=80=9C\= RST...=E2=80=9D > >prefix, though.) >=20 > Personally, I think that it is reasonable to expect the users to > import a module. >=20 > >Honestly, I have no idea. Depending on the style sheet a div can > >be a float or aligned or have a shaded background. The current > >approach leaves the implementation to the user. >=20 > Another option is to change the generated output to >=20 > \start[xyzzy] > .... > \stop >=20 > When the environment xyzzy exists, this is (supposed to be, see > below) equivalent to >=20 > \startxyzzy > .... > \stopxyzzy >=20 > otherwise, this is equivalent to >=20 > \bgroup > .... > \egroup Now that it=E2=80=99s fixed: Thanks for the pointer. I=E2=80=99ve been using \start...\stop as a synonym for grouping for ages but never realized it could take an argument. Philipp --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFCBi8ACgkQ02lYlJYWs9LOeQCePIdYPiSiwJmDMqkPhqxCbGQI FssAoJL8eLifa32NTiC/eAAtEzL/Duo1 =h1sq -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN-- --===============0238210831== 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 ___________________________________________________________________________________ --===============0238210831==--