From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80287 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Vim module - different settings for inline and block code Date: Wed, 16 Jan 2013 16:39:06 +0100 Message-ID: <20130116153906.GC29592@homerow> References: <20130116145139.GB29592@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0878967081==" X-Trace: ger.gmane.org 1358350761 10204 80.91.229.3 (16 Jan 2013 15:39:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2013 15:39:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 16 16:39:37 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 1TvV5T-00007g-52 for gctc-ntg-context-518@m.gmane.org; Wed, 16 Jan 2013 16:39:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 61244101E2; Wed, 16 Jan 2013 16:39:18 +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 p03h5l3Azu3a; Wed, 16 Jan 2013 16:39:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B8451101E5; Wed, 16 Jan 2013 16:39:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F9A3101E5 for ; Wed, 16 Jan 2013 16:39:15 +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 Iw+HgaOG7knG for ; Wed, 16 Jan 2013 16:39:14 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 33278101E2 for ; Wed, 16 Jan 2013 16:39:14 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0GFrJfV009475 for ; Wed, 16 Jan 2013 16:53:21 +0100 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id D2A8F11BC5A for ; Wed, 16 Jan 2013 09:39:09 -0600 (CST) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id W0I1QOXI4DNX for ; Wed, 16 Jan 2013 09:39:09 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=6VKD5QytOZSgPL6ccoh3ZP6NPGLytwh4Gid4A1Bgkf5YuJpbWWb4i/TseALh2T7ilC26Ptj0udgiQp4ns9fJhbJ3d82WJlpRuY3Qf7K5dfIHG+OQFs8/4WNBATidQfhpENIwVqDDlNA2isdd8g1lRjn8osu7sLzXFWwQ+xtzQe0=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01IMDRkxH - 2cf6415b557b - 20130116 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:80287 Archived-At: --===============0878967081== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UFHRwCdBEJvubb2X" Content-Disposition: inline --UFHRwCdBEJvubb2X Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9301=E2=80=9316 Wolfgang Schuster wrote: > \definevimytping > [C] > [=E2=80=A6, > before=3D{\ifhmode\startInlineBackground\else\startDisplayBackground\f= i}, > after=3D{\ifhmode\stopInlineBackground\else\stopDisplayBackground\fi}, > =E2=80=A6] That's a good idea and it seems to work. > You could also ask Aditya to use different keys for display (e.g. before/= aftter) > and inline (e.g. left/right) code blocks. That's not necessary. I think your solution is clean enough. Thanks Wolfgang. Marco --UFHRwCdBEJvubb2X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQ9smaAAoJEPGqVaNSn0iKze0IAInmrbClsmZIRKkvXeJ+SGIq M5yzR1sf1oCIqbt1x+kCH+Kt/YpcgfOjmvzNN4+rHg5ya11ZcEmuBGvUXtrzZinl uFpdxlYL/UwH3LUkbut6SH8FCAkKlHoiGNYHoVD14fhXvGCMs6B3IMFBaQhsEUwS 4H3q5TKRcDx2HKyG8lD6+bc14qLlzvcwrc81sO0wuSBOg6k9zSsjdjIw1CQOLOMD Inzx4D83pdglgSoSEeCWncyAwYdgSduuiIphwgg1Ib4SwkQcJjPB4MmC99BRJP+s rjXW7OAdqjFG1kZsaYq+VQY01PkQZ0tAySITsLziEDhHcVDun5r0zMvQNt2GrXU= =/Wqx -----END PGP SIGNATURE----- --UFHRwCdBEJvubb2X-- --===============0878967081== 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 ___________________________________________________________________________________ --===============0878967081==--