From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92110 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context,gmane.spam.detected Subject: Re: Structure : problem with an environment Date: Thu, 30 Jul 2015 16:17:49 +0200 Message-ID: <55BA320D.7000808@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0594903332==" X-Trace: ger.gmane.org 1438265937 20918 80.91.229.3 (30 Jul 2015 14:18:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2015 14:18:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 30 16:18:45 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 1ZKofR-0007m0-3o for gctc-ntg-context-518@m.gmane.org; Thu, 30 Jul 2015 16:18:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C1AC1021A for ; Thu, 30 Jul 2015 16:18:39 +0200 (CEST) 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 Y3sAFiv0AVT9 for ; Thu, 30 Jul 2015 16:18:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7D5DA10230 for ; Thu, 30 Jul 2015 16:18:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F981101F7 for ; Thu, 30 Jul 2015 16:18:00 +0200 (CEST) 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 bdkAHPWo0okh for ; Thu, 30 Jul 2015 16:18:00 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id E7377101E6 for ; Thu, 30 Jul 2015 16:17:59 +0200 (CEST) Original-Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by filter3-utr.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t6UEHr0b017247 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 30 Jul 2015 16:17:59 +0200 Original-Received: by wicgb10 with SMTP id gb10so246202786wic.1 for ; Thu, 30 Jul 2015 07:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=8E8pRKNl4kfjDwLdfFxOQjMnARS6MfHiIr2pFkaK21w=; b=GSbxNvBZHfvzpVmrvVIzdExi54XVT9N3hNfw4Ib6IsnSxA1XfQgSm4NvmAmV1EpknS LUo7eLkhcEoGwOE81V6POtpv0WVcr4HBvyrxMWwLVs7OkG8XNHNCRI2YarWzOVpWQYPM zpOhD3HH9lU66yyXuYGHyXERL8eCvp5LB+KC/8aQkhGYQC8FzAFw7mfiFuPzL3/ItXe6 j1cZP11XSq9uM2Kic22FHdEMM97lhAnHXIXp7v13qHkYNYeVWP3nCHOQgVATqwd5Bj7k tL4CvBnWmo7MadY19OYdCg2S7R53GKvVIdU5IzjGNgCgyP5jgT1p8Zr4xS1L/XMbLRAr t7EA== X-Received: by 10.180.21.175 with SMTP id w15mr7086407wie.58.1438265873504; Thu, 30 Jul 2015 07:17:53 -0700 (PDT) Original-Received: from keima.localdomain (x2f29ef4.dyn.telefonica.de. [2.242.158.244]) by smtp.googlemail.com with ESMTPSA id fm8sm3291243wib.9.2015.07.30.07.17.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jul 2015 07:17:52 -0700 (PDT) User-Agent: Postbox 4.0.1 (Macintosh/20150514) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22f; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08OWChRhm - ed62bc2f8d42 - 20150730 (trained as not-spam) Received-SPF: pass (filter3-utr.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22f as permitted sender) receiver=filter3-utr.mf.surf.net; client-ip=2a00:1450:400c:c05::22f; envelope-from=; helo=mail-wi0-x22f.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" X-Spam-Report: 6.0 points; * 3.2 RCVD_ILLEGAL_IP Received: contains illegal IP address * 2.8 WEIRD_QUOTING BODY: Weird repeated double-quotation marks * 0.0 HTML_MESSAGE BODY: HTML included in message Xref: news.gmane.org gmane.comp.tex.context:92110 gmane.spam.detected:5296672 Archived-At: This is a multi-part message in MIME format. --===============0594903332== Content-Type: multipart/alternative; boundary="------------020501060608030703050600" This is a multi-part message in MIME format. --------------020501060608030703050600 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Fabrice Couvreur > 30. Juli 2015 15:21 > Hi, > In my project, there is an env-03.tex file that contains this : > > """""""""""""""""""""""""""""""""""""""""""""""" > \startenvironment env-03 > > \defineenumeration > [def] > [text=3D{D=C3=A9finition}, > headstyle=3D{\bf\feature[+][f:smallcaps]}, > width=3Dfit, > alternative=3Dleft, > stopper=3D{.}] > > \stopenvironment You=E2=80=99re redefining the \def command which is needed by TeX because= all=20 internal commands are created with this primitive. Use a different name for your=20 environment (e.g. defintion) to avoid this problem. Wolfgang --------------020501060608030703050600 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= =20 30. Juli 2015=20 15:21
<= span=20 style=3D"font-family:verdana,sans-serif">Hi,
In my project, there is an env-03.tex file that contains <= span class=3D"hps">this :

""""""""""""""""""""""""""""""""""""""""""""= """"
\startenvironment env-03

\defineenumeration
=C2=A0 [def]
=C2=A0 [text=3D{D=C3= =A9finition},
=C2=A0=C2=A0 headstyle=3D{\bf\feature[+][f:smallcaps]},
=C2=A0=C2=A0 width=3Dfit,<= br>=C2=A0=C2=A0=20 alternative=3Dleft,
=C2=A0=C2=A0 stopper=3D{.}]

\stopenvironmen= t

You=E2=80=99re redefining the \def command which is needed by TeX because= all=20 internal
commands are created with this primitive. Use a different name for your=20 environment
(e.g. defintion) to avoid this problem.

Wolfgang
--------------020501060608030703050600-- --===============0594903332== 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= --===============0594903332==--