From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90373 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: No escape to TeX for inline typing? Date: Sat, 28 Feb 2015 14:00:54 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0540592669==" X-Trace: ger.gmane.org 1425128532 24708 80.91.229.3 (28 Feb 2015 13:02:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2015 13:02:12 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 28 14:02:02 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YRh1q-0008S5-LL for gctc-ntg-context-518@m.gmane.org; Sat, 28 Feb 2015 14:01:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 104CE101FB for ; Sat, 28 Feb 2015 14:01:58 +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 WFRxup759Fhs for ; Sat, 28 Feb 2015 14:01:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3FFDC10231 for ; Sat, 28 Feb 2015 14:01:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BAEC4101FA for ; Sat, 28 Feb 2015 14:01: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 YdRj2xx_9g0a for ; Sat, 28 Feb 2015 14:01:18 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id ECD9E101F9 for ; Sat, 28 Feb 2015 14:01:17 +0100 (CET) Original-Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t1SD1E1d010209 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 28 Feb 2015 14:01:16 +0100 Original-Received: by igdh15 with SMTP id h15so6991683igd.4 for ; Sat, 28 Feb 2015 05:01:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=5Qc/LkMMOWynkjmWuF4ygD72/mmOpLpBRSLxnuTvf6E=; b=pJwj0PDNnHcIpCl2vhWzjNCX3c39WcLS8j0GnXyevd/Ns12cYxxap7Xuzqvvf+5fzj MMmkgRcjulQt/MgtBeOI3pkvaB6oGU2gp8sDm3nBipoiK4vmOTLqKUf53wdt05dxUNm5 T9PF0083EYhYWAzN09Ay1VcUDjCVTq5uhxAosyIN0mxPSLASvPfHG/yPBjmxyfyoxsza +5zwXaqhweAvYG//9TKYJHOuXlwLIewOrECaDAig2oR22CywBW9ZRGepVuaZX8h1/6et vfEYFIe2fbb5UEkLuMF5QfKocgQr/CNe+0oZlLH00fCFvK699xgiwqZvPuKhcGZUxOKY O1bA== X-Received: by 10.107.129.85 with SMTP id c82mr24805196iod.81.1425128474246; Sat, 28 Feb 2015 05:01:14 -0800 (PST) Original-Received: by 10.36.117.213 with HTTP; Sat, 28 Feb 2015 05:00:54 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::233; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NVN1gy4 - 58e7e766d8e2 - 20150228 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of christoph.reller@gmail.com designates 2607:f8b0:4001:c05::233 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2607:f8b0:4001:c05::233; envelope-from=; helo=mail-ig0-x233.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:90373 Archived-At: --===============0540592669== Content-Type: multipart/alternative; boundary=001a113e500e77a1d205102594f4 --001a113e500e77a1d205102594f4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Wed, 18 Feb 2015 07:03:27 +0100, wrote= : > > On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster < > schuster.wolfgang@gmail.com> wrote: > > > > Am 17.02.2015 um 16:04 schrieb Christoph Reller < > > christoph.reller@gmail.com>: > > > How do I escape to TeX from inside an inline typing command? It works > > fine from a typing environment. > > > > The \type command doesn=E2=80=99t support a escape function but it can = be added > an > > additional line in the code (buff-ver.miv): > > > > \def\buff_verbatim_type_normal#1% > > {\buff_verbatim_initialize_type_two > > \dostarttaggedchained\t!verbatim\currenttype\??type > > \ctxcommand{typestring{ > > data =3D \!!bs\detokenize{#1}\!!es, > > tab =3D "\typeparameter\c!tab", > > method =3D "\typeparameter\c!option", > > + escape =3D \!!bs\typeparameter\c!escape\!!es, > > nature =3D "inline", > > compact =3D "\typeparameter\c!compact", % none | all | last (all > needed > > in tabulate etc for manuals) > > }}% > > \dostoptagged > > \buff_verbatim_right_of_type > > \egroup} > > > > To enable the function add =E2=80=9Eescape=3Dyes=E2=80=9D (or your own = delimiters) to > > \definetype. > > > > Wolfgang > > > > Thanks a lot, Wolfgang! > > Dear Hans, > > Can you please add the above patch, or is there a particular reason for n= ot > doing so? > > Kind regards, > > Christoph > Dear Hans, Please say at least "yes" or "no". I am not very keen on maintaining my own version of ConTeXt so I would like to know if I can count on this feature being added. Thanks for your effort and kind regards, Christoph --001a113e500e77a1d205102594f4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Wed,=C2=A0Wed, 18 Feb 2015 07:03:27 +0100,=C2=A0<christoph.reller@gmail.com>=C2=A0wrote= :

On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang = Schuster <
schuster.wolfgang@gmail.com<= /a>> wrote:

> > Am 17.02.2015 um 16:04 schrieb Christoph Reller <
>
christoph.reller@gmail.c= om>:
> > How do I escape to TeX from inside an inline typing command? It w= orks
> fine from a typing environment.
>
> The \type command doesn=E2=80=99t support a escape function but it can= be added an
> additional line in the code (buff-ver.miv):
>
> \def\buff_verbatim_type_normal#1%
>=C2=A0 =C2=A0{\buff_verbatim_initialize_type_two
>=C2=A0 =C2=A0 \dostarttaggedchained\t!verbatim\currenttype\??type
>=C2=A0 =C2=A0 \ctxcommand{typestring{
>=C2=A0 =C2=A0 =C2=A0 data=C2=A0 =C2=A0 =3D \!!bs\detokenize{#1}\!!es, >=C2=A0 =C2=A0 =C2=A0 tab=C2=A0 =C2=A0 =C2=A0=3D "\typeparameter\c!= tab",
>=C2=A0 =C2=A0 =C2=A0 method=C2=A0 =3D "\typeparameter\c!option&quo= t;,
> +=C2=A0 =C2=A0 escape=C2=A0 =3D \!!bs\typeparameter\c!escape\!!es,
>=C2=A0 =C2=A0 =C2=A0 nature=C2=A0 =3D "inline",
>=C2=A0 =C2=A0 =C2=A0 compact =3D "\typeparameter\c!compact", = % none | all | last (all needed
> in tabulate etc for manuals)
>=C2=A0 =C2=A0 =C2=A0}}%
>=C2=A0 =C2=A0 \dostoptagged
>=C2=A0 =C2=A0 \buff_verbatim_right_of_type
>=C2=A0 =C2=A0 \egroup}
>
> To enable the function add =E2=80=9Eescape=3Dyes=E2=80=9D (or your own= delimiters) to
> \definetype.
>
> Wolfgang
>

Thanks a lot, Wolfgang!

Dear Hans,

Can you please add the above patch, or is there a particular reason for not=
doing so?

Kind regards,

Christoph

Dear Hans,

Please say at least "yes" or "no". I am not very= keen on maintaining my own version of ConTeXt so I would like to know if I= can count on this feature being added.

Thanks for= your effort and kind regards,

Christoph=C2=A0
=C2=A0
--001a113e500e77a1d205102594f4-- --===============0540592669== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0540592669==--