From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91102 Path: news.gmane.org!not-for-mail From: "Jaroslav Hajtmar" Newsgroups: gmane.comp.tex.context Subject: Re: Hidden chapter header? ... was: Change counter of chapters Date: Sat, 18 Apr 2015 12:34:11 +0200 Message-ID: References: <55320687.1040102@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1236887251==" X-Trace: ger.gmane.org 1429353304 30607 80.91.229.3 (18 Apr 2015 10:35:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 10:35:04 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 18 12:34:51 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 1YjQ5J-0006l6-JJ for gctc-ntg-context-518@m.gmane.org; Sat, 18 Apr 2015 12:34:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B15B810220 for ; Sat, 18 Apr 2015 12:34:48 +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 WdVZKS-hAqus for ; Sat, 18 Apr 2015 12:34:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BE082101EA for ; Sat, 18 Apr 2015 12:34:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EFBC101F9 for ; Sat, 18 Apr 2015 12:34: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 J15CoxgRrIfX for ; Sat, 18 Apr 2015 12:34:15 +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 20924101EA for ; Sat, 18 Apr 2015 12:34:14 +0200 (CEST) Original-Received: from h1.cmg2.smtp.forpsi.com (h1.cmg2.smtp.forpsi.com [81.2.195.188]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t3IAYDbJ002922 for ; Sat, 18 Apr 2015 12:34:13 +0200 Original-Received: from gyza.cz ([10.11.3.6]) by cmg2.smtp.forpsi.com with bizsmtp id HNaC1q00307mxRW01NaCXc; Sat, 18 Apr 2015 12:34:12 +0200 In-Reply-To: <55320687.1040102@gmx.es> X-Sensitivity: 3 X-XaM3-API-Version: V3(R2) X-SenderIP: 88.103.230.14 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=81.2.195.188; country=CZ; latitude=50.0833; longitude=14.4167; http://maps.google.com/maps?q=50.0833,14.4167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01OhmydtX - c312fb15878e - 20150418 Received-SPF: none (filter4-ams.mf.surf.net: domain of hajtmar@gyza.cz does not designate permitted sender hosts) receiver=filter4-ams.mf.surf.net; client-ip=81.2.195.188; envelope-from=; helo=h1.cmg2.smtp.forpsi.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:91102 Archived-At: --===============1236887251== Content-Type: multipart/alternative; boundary="_=__=_XaM3_.1429353251.2A.846006.42.8292.52.42.007.443252955" --_=__=_XaM3_.1429353251.2A.846006.42.8292.52.42.007.443252955 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks Pablo=C2=A0=0Afor workable solutions. Both solutions are working, = as I imagined.=0AAnyway, fortunately I do not work with Word itself, but = for example. Colleagues, friends and acquaintances. It is sometimes neces= sary make something =C2=A0in ConTeXt when Word is not enough on it. So fo= rtunately there is no condemnation to me, but to someone else:-).=0A=0A=0A= Greeting Jaroslav Hajtmar=0A=0AFrom: "ntg-context" ntg-context-bounces@nt= g.nl=0ATo: "mailing list for ConTeXt users" ntg-context@ntg.nl=0ACc: =0AD= ate: Sat, 18 Apr 2015 09:23:51 +0200=0ASubject: Re: [NTG-context] Hidden = chapter header? ... was: Change counter of chapters=0A=0A=0A> On 04/18/20= 15 07:22 AM, Jaroslav Hajtmar wrote:=0A> > Hello ConTeXist=0A> > My last = Subject contribution maybe so misleading that it nobody react.=0A> > I'l= l try therefore to bring different view:=0A> > Exist any possibility of c= reating some kind of hidden chapters=0A> > (sections, subsections)? =0A>= > The command would increase the counter of chapters (sections,=0A> > su= bsections). Maybe it seems as rape of ConTeXt, but in certain moments=0A>= > this option would help me. =0A> > In my case it is the integration of = practical part of project (worked in=0A> > ConTeXt) into Word project:-(.= ..=0A> > =0A> > For example I need to start writing any text from 53 page= and such from=0A> > the 5th chapter (or section). =0A> > It is possible = in a similar way as I set the start page number set also=0A> > the counte= r of chapters (sections)?=0A> =0A> Hi Jaroslav,=0A> =0A> adding the follo= wing commands before \startext does the work:=0A> =0A> \definehead[hidd= enchapter][chapter]=0A> \setuphead[hiddenchapter][placehead=3Dno]=0A> =0A= > But there is a proper way to set the chapter number:=0A> =0A> \setuph= eadnumber[chapter][56] % +2 or -5 also accepted=0A> =0A> By the way, goin= g from ConTeXt to Word you know you are on the road to=0A> perdition, don= =E2=80=99t you? ;-)=0A> =0A> I hope it helps,=0A> =0A> =0A> Pablo=0A> =0A= > =0A> =0A> > Here is my minimal example:=0A> > =0A> > \starttext=0A> > %= \hiddenchapter{Fictive chapter}=0A> > %\hiddenchapter{Fictive chapter}=0A= > > %\hiddenchapter{Fictive chapter}=0A> > %\hiddenchapter{Fictive chapte= r}=0A> > =0A> > \page=0A> > =0A> > \setcounter[userpage][53]=0A> > =0A> >= \chapter{Fifth (actually first) nonfictive chapter}=0A> > =0A> > blablab= la=0A> > =0A> > \stoptext=0A> =0A> =0A> -- =0A> http://www.ousia.tk=0A> _= _________________________________________________________________________= _________=0A> If your question is of interest to others as well, please a= dd an entry to the Wiki!=0A> =0A> maillist : ntg-context@ntg.nl / http://= www.ntg.nl/mailman/listinfo/ntg-context=0A> webpage : http://www.pragma-= ade.nl / http://tex.aanhet.net=0A> archive : http://foundry.supelec.fr/p= rojects/contextrev/=0A> wiki : http://contextgarden.net=0A> _________= _________________________________________________________________________= _ --_=__=_XaM3_.1429353251.2A.846006.42.8292.52.42.007.443252955 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A
=0A
Thanks Pablo 
for workable solu= tions. Both solutions are working, as I imagined.
Anyway, fortu= nately I do not work with Word itself, but for example. Colleagues, frien= ds and acquaintances. It is sometimes necessary make something  in C= onTeXt when Word is not enough on it. So fortunately there is no condemna= tion to me, but to someone else:-).

Greeting Jar= oslav Hajtmar

=0A
From: "ntg-context" ntg-context= -bounces@ntg.nl
=0A
To: "mailing list for ConT= eXt users" ntg-context@ntg.nl
=0A
Cc: <= /div>=0A
Date: Sat, 18 Apr 2015 09:23:51 +0200=0A
: Re: [NTG-context] Hidden chapter header? ...= was: Change counter of chapters
=0A
=0A
> On 04/18= /2015 07:22 AM, Jaroslav Hajtmar wrote:
> > Hello ConTeXi= st
> > My last Subject contribution maybe so misleading = that it nobody react.
> > I'll try therefore to bring dif= ferent view:
> > Exist any possibility of creating some k= ind of hidden chapters
> > (sections, subsections)?
> > The command would increase the counter of chapters (sect= ions,
> > subsections). Maybe it seems as rape of ConTeXt= , but in certain moments
> > this option would help me. <= /div>
> > In my case it is the integration of practical part of= project (worked in
> > ConTeXt) into Word project:-(...<= /div>
> >
> > For example I need to start writ= ing any text from 53 page and such from
> > the 5th chapt= er (or section).
> > It is possible in a similar way as = I set the start page number set also
> > the counter of c= hapters (sections)?
>
> Hi Jaroslav,
>
> adding the following commands before \startext does= the work:
>
> \definehead[hiddenchapter][ch= apter]
> \setuphead[hiddenchapter][placehead=3Dno]
>
> But there is a proper way to set the chapter numb= er:
>
> \setupheadnumber[chapter][56] % +2 o= r -5 also accepted
>
> By the way, going from = ConTeXt to Word you know you are on the road to
> perdition,= don=E2=80=99t you? ;-)
>
> I hope it helps,
>
>
> Pablo
>
=
>
>
> > Here is my minimal example= :
> >
> > \starttext
> >= %\hiddenchapter{Fictive chapter}
> > %\hiddenchapter{Fic= tive chapter}
> > %\hiddenchapter{Fictive chapter}
<= div>> > %\hiddenchapter{Fictive chapter}
> >
=
> > \page
> >
> > \setcounter= [userpage][53]
> >
> > \chapter{Fifth (a= ctually first) nonfictive chapter}
> >
> &g= t; blablabla
> >
> > \stoptext
>
>
> --
> http://www.ousia= .tk
> ______________________________________________________= _____________________________
> If your question is of inter= est to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/l= istinfo/ntg-context
> webpage : http://www.pragma-ade.nl / = http://tex.aanhet.net
> archive : http://foundry.supelec.fr= /projects/contextrev/
> wiki : http://contextgarden.net<= /div>
> __________________________________________________________= _________________________
=0A
=0A --_=__=_XaM3_.1429353251.2A.846006.42.8292.52.42.007.443252955-- --===============1236887251== 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= --===============1236887251==--