From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81112 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: reStructuredText module Date: Tue, 12 Mar 2013 22:42:25 +0100 Message-ID: <20130312214225.GA11494@phlegethon> References: <513E68B9.4040608@meahan.net> <20130312003116.GA7509@phlegethon> <513F1F60.4020003@meahan.net> <20130312202355.GA8066@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0042791253==" X-Trace: ger.gmane.org 1363124563 32001 80.91.229.3 (12 Mar 2013 21:42:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Mar 2013 21:42:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 12 22:43:08 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 1UFWyS-0007zK-8k for gctc-ntg-context-518@m.gmane.org; Tue, 12 Mar 2013 22:43:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17339101E9; Tue, 12 Mar 2013 22:42:38 +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 Pucatw9W9R0P; Tue, 12 Mar 2013 22:42:34 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 319CD101E7; Tue, 12 Mar 2013 22:42:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32BF4101E7 for ; Tue, 12 Mar 2013 22:42:32 +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 y5E9CcJBTSpQ for ; Tue, 12 Mar 2013 22:42:29 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id D5B32101E3 for ; Tue, 12 Mar 2013 22:42:29 +0100 (CET) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2CLgSVo007372 for ; Tue, 12 Mar 2013 22:42:28 +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 r2CLgRZB015109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Mar 2013 22:42:27 +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 r2CLgRGX013337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Mar 2013 22:42:27 +0100 Original-Received: from localhost (p508466BA.dip.t-dialin.net [80.132.102.186]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id r2CLgQIV007164 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 12 Mar 2013 22:42:27 +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: 0RJaJGsCM - 4eadfb07bdd3 - 20130312 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:81112 Archived-At: --===============0042791253== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline --45Z9DzgjV8m4Oswq 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 > 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= =2E..=E2=80=9D prefix, though.) > \startRSTcontainer[xyzzy][...settings ....] > .... > \stopRSTcontainer >=20 > It should be responsiblility of the document author to make sure > that the containers work correctly. >=20 > Depending on what containers are supposed to do (I have not read the > links posted in this thread), They are defined as HTML div=E2=80=99s. > providing such a container might be as > simple as >=20 > \let\startRSTcontainer=3D\startframedtext > \let\stopRSTcontainer=3D\stopframedtext >=20 > or >=20 > \let\startRSTcontainer=3D\startparagraph > \let\stopRSTcontainer=3D\stopparagraph 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. Philipp --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlE/oUEACgkQ02lYlJYWs9JhugCdGofsjVEwJ8VjIFpkLaWCKVyl 9dcAn1HdrqrGDrgJ3VMl9g5nfltnYxu5 =yMVV -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- --===============0042791253== 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 ___________________________________________________________________________________ --===============0042791253==--