From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94953 Path: news.gmane.org!not-for-mail From: "Meer, Hans van der" Newsgroups: gmane.comp.tex.context Subject: Re: new features Date: Sun, 22 May 2016 13:33:36 +0000 Message-ID: References: <53ABF122.3040007@wxs.nl> <38152b3e-6feb-42c0-9bf9-ef9ab8b9d0c1@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0474642561128664974==" X-Trace: ger.gmane.org 1463924074 14524 80.91.229.3 (22 May 2016 13:34:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 May 2016 13:34:34 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun May 22 15:34:21 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b4TWA-0007lj-Tv for gctc-ntg-context-518@m.gmane.org; Sun, 22 May 2016 15:34:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1A7F3DAFE; Sun, 22 May 2016 15:33:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AFVtQ78ZOXCE; Sun, 22 May 2016 15:33:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 2C850DB37; Sun, 22 May 2016 15:33:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A4616DB34 for ; Sun, 22 May 2016 15:33:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CxjPN6BHOnYT for ; Sun, 22 May 2016 15:33:47 +0200 (CEST) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3ACF4DAFE for ; Sun, 22 May 2016 15:33:36 +0200 (CEST) Original-Received: from MBX02.uva.nl ([169.254.2.29]) by HUB01.uva.nl ([2002:9232:6737::9232:6737]) with mapi id 14.03.0279.002; Sun, 22 May 2016 15:33:36 +0200 Thread-Topic: [NTG-context] new features Thread-Index: AQHRtAD7rG26lz1bDEKnL+9mcRiiIJ/EzVeAgAAGNIA= In-Reply-To: <38152b3e-6feb-42c0-9bf9-ef9ab8b9d0c1@wxs.nl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.106.134.200] x-endpointsecurity-0xde81-ev: v:6.2.7.719, d:out, a:y, w:t, t:16, sv:1463905870, ts:1463924016 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:94953 Archived-At: --===============0474642561128664974== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_B5F9618167804936B9936572C242073Euvanl_" --_000_B5F9618167804936B9936572C242073Euvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On 22 May 2016, at 15:11, Hans Hagen > = wrote: Finally, when \definemode makes testing a lot faster why than not implement= this always? That is, using \enablemode or \disablemode the first time imp= lies a \definemode for that mode. Doing so avoids another macro to remember= : less clutter for my brain ;-) because one property of modes is that one doesn't have to define them, you'= d be quite unhappy if you would have to define all possible modes that coul= d be introduced in styles The idea was not to have the user define the mode, but let ConTeXt automati= cally do the defining when it encounters a specific mode the first time. Th= e work is done by ConTeXt then (would make me even more happy ;-) Hans van der Meer --_000_B5F9618167804936B9936572C242073Euvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: <081441D339E4EC478A07EBC6551C96AA@uva.nl> Content-Transfer-Encoding: quoted-printable
On 22 May 2016, at 15:11, Hans Hagen <pragma@wxs.nl> wrote:

Finally, when \definemode makes testing a lot faster why than not implement= this always? That is, using \enablemode or \disablemode the first time imp= lies a \definemode for that mode. Doing so avoids another macro to remember= : less clutter for my brain ;-)

because one property of modes is that one doesn't have to define them, you'd be qu= ite unhappy if you would have to define all possible modes that could be in= troduced in styles

The idea was not to have the user define the mode, but let ConTeXt aut= omatically do the defining when it encounters a specific mode the first tim= e. The work is done by ConTeXt then (would make me even more happy ;-)

Hans van der Meer




--_000_B5F9618167804936B9936572C242073Euvanl_-- --===============0474642561128664974== 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= --===============0474642561128664974==--