From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93188 Path: news.gmane.org!not-for-mail From: "Meer, Hans van der" Newsgroups: gmane.comp.tex.context Subject: Re: how to stop pagenumbering Date: Sun, 27 Dec 2015 20:47:28 +0000 Message-ID: <0DDF9C53-6588-4A48-B692-CECD084BECD9@uva.nl> References: <4B014CFD-220A-4C61-9E9E-1051D4A2B2B5@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3887188675806103174==" X-Trace: ger.gmane.org 1451249366 26636 80.91.229.3 (27 Dec 2015 20:49:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2015 20:49:26 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 27 21:49:14 2015 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 1aDIFd-0005j0-Pp for gctc-ntg-context-518@m.gmane.org; Sun, 27 Dec 2015 21:49:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4DE60584D; Sun, 27 Dec 2015 21:49:03 +0100 (CET) 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 3g1KvfSkeOOc; Sun, 27 Dec 2015 21:49:02 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7BC7758F1; Sun, 27 Dec 2015 21:49:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2ECEE584D for ; Sun, 27 Dec 2015 21:49:01 +0100 (CET) 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 6Xt-oyvahGVK for ; Sun, 27 Dec 2015 21:49:00 +0100 (CET) Original-Received: from HUB02.uva.nl (hub02.uva.nl [146.50.108.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B6D5357D3 for ; Sun, 27 Dec 2015 21:48:49 +0100 (CET) Original-Received: from MBX02.uva.nl ([169.254.2.34]) by HUB02.uva.nl ([2002:9232:6738::9232:6738]) with mapi id 14.03.0266.001; Sun, 27 Dec 2015 21:47:29 +0100 Thread-Topic: [NTG-context] how to stop pagenumbering Thread-Index: AQHRQKmBg7HDhyYo6kuZ8OlaidST/p7e8s2AgABKtQA= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.106.134.200] 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:93188 Archived-At: --===============3887188675806103174== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_0DDF9C5365884A48B692CECD084BECD9uvanl_" --_000_0DDF9C5365884A48B692CECD084BECD9uvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable One more observation on the strangeness of \setuppagenumber. Putting \setuppagenumber[number=3D4] before the call to \xmlprocessbuffer a= nd putting \setuppagenumber[state=3Dstop,number=3D8] inside the \startxmlse= tups does make the pagenumber having the value 8. This proves two things: (1) the \setuppagenumber in the \startxmlsetups is processed before the pag= enumber is fixed and typeset (2) the [state=3Dstop] in the \startxmlsetups is wrongfully ignored, wherea= s at the same time [number=3D8] does get honored. Imho this demonstrates there is an error in the processing of \setuppagenum= ber when located inside the \startxmlsetups. An error that does not occur w= hen called at the \starttext document-level before the \xmlprocessbuffer. Could it be a matter of locality? On 27 Dec 2015, at 17:20, Meer, Hans van der > wrote: More information on this. Statements: \usemodule[hvdm-dvd] \starttext \xmlprocessbuffer{dvd}{xmlbuffer}{} \stoptext \endinput in the hvdm-dvd module \setuppagenumber[state=3Dstop] is put inside \startxmlsetups setup-name \setuppapersize[A5][A5] \setuppagenumber[state=3Dstop] "typesetting operations following" \stopxmlsetups In this case pagenumber not suppressed. However with the following order of statements the pagenumber does get supp= ressed. \starttext \setuppagenumber[state=3Dstop] \xmlprocessbuffer{dvd}{xmlbuffer}{} \stoptext In both cases the call to \setuppagenumber comes before typesetting the pa= ge. Why is the \setuppagenumber inside the xmlsetup ignored? Hans van der Meer On 27 Dec 2015, at 14:21, Meer, Hans van der > wrote: The command "\setuppagenumber[state=3Dstop]" used to stop numbering the p= ages, now it doesn't. Has this been changed and did I miss that change? Hans van der Meer ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.n= l/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 ___________________________________________________________________________= ________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.n= l/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 ___________________________________________________________________________= ________ --_000_0DDF9C5365884A48B692CECD084BECD9uvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: <788C5EA21FE57047BE44E5E218ECE209@uva.nl> Content-Transfer-Encoding: quoted-printable One more observation on the strangeness of \setuppagenumber.

Putting \setuppagenumber[number=3D4] before the call to \xmlprocessbuffer and putting<= span style=3D"font-family: Courier;" class=3D""> \setuppagenumber[state=3Dstop,number=3D8= ] inside the \startxmlsetups does make the pagenumber having the value 8. Th= is proves two things:

(1) the \setuppagenumber = in the \startx= mlsetups is processed before = the pagenumber is fixed and typeset

(2) the [state=3Dstop] in= the \startxml= setups is wrongfully ignored,= whereas at the same time [number=3D8] does get honored.

Imho this demonstrates th= ere is an error in the processing of \setuppagenumber when located inside t= he \startxmlse= tups. An error that does not occur when called at the \starttext document-level before th= e \xmlprocessb= uffer=
Could it be a matter of l= ocality?


On 27 Dec 2015, at 17:20, Meer, Hans van der <H.vanderMeer@uva.nl> wrote:<= /div>
More information on this. Statements:

<buffer definition for= xml>
\usemodule[hvdm-dvd]
\starttext
\xmlprocessbuffer{dvd}{xm= lbuffer}{}
\stoptext
\endinput

in the hvdm-dvd module \s= etuppagenumber[state=3Dstop] is put inside

\startxmlsetups setup-nam= e 
    \setuppaper= size[A5][A5] 
    \setuppagen= umber[state=3Dstop] 
   "typese= tting operations following" 
\stopxmlsetups
In this case pagenumber n= ot suppressed.

However with the followin= g order of statements the pagenumber does get suppressed.

\starttext
  \setuppagenumber[s= tate=3Dstop] 
  \xmlprocessbuffer{= dvd}{xmlbuffer}{}
\stoptext

In both cases the call to=  \setuppagenumber comes before typesetting the page.
Why is the  \setuppa= genumber inside the xmlsetup ignored?

Hans van der Meer




On 27 Dec 2015, at 14:21, Meer, Hans van der <H.vanderMeer@uva.nl> wrote:<= /div>
The command  "\setuppagenumber[state=3Dstop]"= ;  used to stop numbering the pages, now it doesn't.
Has this been changed and did I miss that change?

Hans van der Meer




___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he 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
___________________________________________________________________________= ________

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he 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
___________________________________________________________________________= ________

--_000_0DDF9C5365884A48B692CECD084BECD9uvanl_-- --===============3887188675806103174== 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= --===============3887188675806103174==--