From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84494 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: What do \start and \stop mean? Date: Mon, 30 Sep 2013 18:00:23 +0200 Message-ID: References: <52499ADB.6080802@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0605771604==" X-Trace: ger.gmane.org 1380556830 11832 80.91.229.3 (30 Sep 2013 16:00:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2013 16:00:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 30 18:00:34 2013 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 1VQfth-0001MK-M9 for gctc-ntg-context-518@m.gmane.org; Mon, 30 Sep 2013 18:00:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90E0C101EB; Mon, 30 Sep 2013 17:58:16 +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 RK14kV3TSHKI; Mon, 30 Sep 2013 17:58:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 36754101E7; Mon, 30 Sep 2013 17:58:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98F1C101E7 for ; Mon, 30 Sep 2013 17:58:13 +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 AggP7yEUAy4o for ; Mon, 30 Sep 2013 17:58:10 +0200 (CEST) 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 D4341101E6 for ; Mon, 30 Sep 2013 17:58:10 +0200 (CEST) Original-Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8UG3YbW003000 for ; Mon, 30 Sep 2013 18:03:34 +0200 Original-Received: by mail-qa0-f53.google.com with SMTP id k4so2447439qaq.12 for ; Mon, 30 Sep 2013 09:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oduB5+oZOAotryeU1Eq03eizv7tUoVLluc8ANBNodjg=; b=iJ0epgj/G7goD5TYF3ZQKOFJikFARJDq8A9VXRA/jEU5rp4FPAF7vOQgSZmJutkPSD 26+v+l8SOHSBILrPoNHWSH1TUygGBZSoQ96cquxh1c1sqcQmIKjJ8znpK4HY3oCascej YptNMBRhDLznhoD3OAVx0NBdIXMxH+rjhLggZE4VQohjIirgRe6A0GWwHEoGu9YhTj2X 5Qmcw1KZJqOcrUgUmKF83m420JItiDUMa1sQkbPi/RnDymfm9BXVI7MHvBr7pyuyyTkZ U+2x+Y1rVuDhJGuAwYPPkSw37SvXcRqZdCV8FSty8KsKocqiCvSW2Io9NbZBgYPJYeOH Quhw== X-Received: by 10.224.37.198 with SMTP id y6mr3423518qad.104.1380556824029; Mon, 30 Sep 2013 09:00:24 -0700 (PDT) Original-Received: by 10.140.27.164 with HTTP; Mon, 30 Sep 2013 09:00:23 -0700 (PDT) In-Reply-To: <52499ADB.6080802@sil.org> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c00::235; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Kvs3ybo - 47c2b95f4a79 - 20130930 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:84494 Archived-At: --===============0605771604== Content-Type: multipart/alternative; boundary=001a11c2a0ee16ce0404e79bef1e --001a11c2a0ee16ce0404e79bef1e Content-Type: text/plain; charset=UTF-8 On Mon, Sep 30, 2013 at 5:38 PM, Lars Huttar wrote: > I found \start and \stop referenced in the context reference manual > (e.g. section 5.5). > While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find any > place that \start and \stop (with no suffix) are described. > They seem to be used like \bgroup and \egroup. Is that right? > They are defined in core-sys.mkiv, but I can't figure out from there > what they actually do. > > I'll contribute documentation for them if someone can tell me what they > mean. > > Thanks, > Lars > core-sys.mkiv : \unexpanded\def\start {\dosingleempty\syst_start} \def\syst_start {\bgroup \iffirstargument \expandafter\syst_start_yes \else \expandafter\syst_start_nop \fi} \def\syst_start_yes[#1]% {\edef\m_syst_start_stop{#1}% \ifx\m_syst_start_stop\empty \let\syst_stop_indeed\donothing \else\ifcsname\e!start\m_syst_start_stop\endcsname \expandafter\let\expandafter\syst_stop_indeed\csname\e!stop\m_syst_start_stop\endcsname \csname\e!start\m_syst_start_stop\expandafter\expandafter\expandafter\endcsname \else \let\syst_stop_indeed\donothing \fi\fi} \def\syst_start_nop[#1]% {\let\syst_stop_indeed\donothing} \unexpanded\def\stop {\syst_stop_indeed \egroup} (it should be \let\donothing\empty) -- luigi --001a11c2a0ee16ce0404e79bef1e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Mon, Sep 30, 2013 at 5:38 PM, Lars Huttar <= lars_huttar@sil.or= g> wrote:
I found \start and \stop = referenced in the context reference manual
(e.g. section 5.5).
While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find an= y
place that \start and \stop (with no suffix) are described.
They seem to be used like \bgroup and \egroup. Is that right?
They are defined in core-sys.mkiv, but I can't figure out from there what they actually do.

I'll contribute documentation for them if someone can tell me what they=
mean.

Thanks,
Lars




core-sys.mkiv :


\unexpanded\def\start
=C2=A0 {\dosingleempty\syst_start}
\def\syst_start
=C2=A0 {\bgroup
=C2=A0=C2=A0 \iffirstargument
=C2= =A0=C2=A0=C2=A0=C2=A0 \expandafter\syst_start_yes
=C2=A0=C2=A0 \else
=C2=A0=C2=A0=C2=A0=C2=A0 \expandafter\syst_start_nop<= br>=C2=A0=C2=A0 \fi}

\def\syst_start_yes[#1]%
=C2=A0{\edef\m_syst= _start_stop{#1}%
=C2=A0 \ifx\m_syst_start_stop\empty
=C2=A0=C2=A0=C2= =A0 \let\syst_stop_indeed\donothing
=C2=A0 \else\ifcsname\e!start\m_syst= _start_stop\endcsname
=C2=A0=C2=A0=C2=A0 \expandafter\let\expandafter\syst_stop_indeed\csname\e!s= top\m_syst_start_stop\endcsname
=C2=A0=C2=A0=C2=A0 \csname\e!start\m_sys= t_start_stop\expandafter\expandafter\expandafter\endcsname
=C2=A0 \else<= br>=C2=A0=C2=A0=C2=A0 \let\syst_stop_indeed\donothing
=C2=A0 \fi\fi}

\def\syst_start_nop[#1]%
=C2=A0 {\let\syst_stop_in= deed\donothing}

\unexpanded\def\stop
=C2=A0 {\syst_stop_indeed=C2=A0=C2=A0 \egroup}


(it should be \let\donothing\empty)


--
luigi
--001a11c2a0ee16ce0404e79bef1e-- --===============0605771604== 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 ___________________________________________________________________________________ --===============0605771604==--