From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87483 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: \setnumber Date: Thu, 22 May 2014 14:32:54 +0200 Message-ID: <9ECDCF77-FD39-49B9-93F6-6EA51823B7D6@gmail.com> References: <04374EC9-9AB1-4AE8-8260-6CCB604A7500@gmail.com> <85BE3EF1-3288-4560-B83D-03840F1A0B03@gmail.com> <7FD47D10-B5A4-4B45-A087-B85A24B731E9@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: multipart/mixed; boundary="===============0362795765==" X-Trace: ger.gmane.org 1400762004 32129 80.91.229.3 (22 May 2014 12:33:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2014 12:33:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 22 14:33:19 2014 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 1WnSBS-0004B0-Ri for gctc-ntg-context-518@m.gmane.org; Thu, 22 May 2014 14:33:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E98910214 for ; Thu, 22 May 2014 14:33:18 +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 D8J87ILpLnY0 for ; Thu, 22 May 2014 14:33:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 43CF3101F9 for ; Thu, 22 May 2014 14:33:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D302101E3 for ; Thu, 22 May 2014 14:33:10 +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 iJ2Jsgkc3LrT for ; Thu, 22 May 2014 14:33:07 +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 74347101E2 for ; Thu, 22 May 2014 14:32:57 +0200 (CEST) Original-Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4MCtXWb015611 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 22 May 2014 14:55:34 +0200 Original-Received: by mail-wg0-f50.google.com with SMTP id x12so3292000wgg.33 for ; Thu, 22 May 2014 05:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=yjqKBjpnTEp+AtXCDkVK8GKAe9mbMxjdCUTqdarYTpc=; b=WumpdcABQvm0lKvBPzn+t1F3AYkcIbv1Rz5KCRjBFEv+Ou6OtW9uRj6Lx4zF5wzH2m 1flXJFblW6c7DfJITI+nNwog82pwLy2wkoOTppjKohYAMkh3YMyBbXJda1/58dO5lgUg deS100GSXgsHNzQ8Eme1dIA6o/pDhKIZx6i5d0JLsQ448CwcAKFCZeTEOYpd+GBT1DZ+ RjecWzzLHS3r8M2Mv1wZV8IiTxMvlr5Wqkps1lpMxKaL78kIc2jUGnzKg35cggCWsJO6 Fz3/4N5pON4JgIV0k8B47E/cLcsLrFSwZWC3I7+2r2RImWFyNZhJhhC8lQyfTueRLurY 29HA== X-Received: by 10.180.221.229 with SMTP id qh5mr10109103wic.33.1400761976781; Thu, 22 May 2014 05:32:56 -0700 (PDT) Original-Received: from [192.168.0.20] (seg75-6-82-236-32-4.fbx.proxad.net. [82.236.32.4]) by mx.google.com with ESMTPSA id k2sm26592463wjq.20.2014.05.22.05.32.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 05:32:55 -0700 (PDT) In-Reply-To: <7FD47D10-B5A4-4B45-A087-B85A24B731E9@gmail.com> X-Mailer: Apple Mail (2.1878.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01M50Ty79 - ca972c47f3be - 20140522 (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:87483 Archived-At: --===============0362795765== Content-Type: multipart/alternative; boundary="Apple-Mail=_8D46470F-83E9-4B07-B6EC-63BC0D43F0E5" --Apple-Mail=_8D46470F-83E9-4B07-B6EC-63BC0D43F0E5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Actually you are right: one can setup the userpage numbers by just = saying way=3Dbyblock (no need to repeat numberconversionset). Here is a complete example: \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[backpart:pagenumber] [][characters] \setupuserpagenumber[way=3Dbyblock] \starttext \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \chapter{First chapter} \input ward.tex \section{A section} \input dawkins.tex \stopbodymatter \startbackmatter \chapter[title=3D{Index},number=3Dno] \input tufte.tex \stopbackmatter \stoptext Best regards: OK On 22 May 2014, at 13:50, Werner Hintze wrote: > This is the problem: It works, but I don=92t unterstand why. I make = just my first steps with ConTeXt=85 >=20 > Anyway: I found out, that this is the best solution: >=20 > \defineconversionset[frontpart:pagenumber][][romannumerals] > \defineconversionset[bodypart:pagenumber][][numbers] > \defineconversionset[backpart:pagenumber] [][characters > \defineconversionset[appendix:pagenumber][][Characters] > \setupuserpagenumber[numberconversionset=3Dpagenumber,way=3Dbyblock] > Now it=92s not nessecary to reset the pagenumber. >=20 > Thanks for the hint about the Sample texts. >=20 > Best regards. >=20 > WH >=20 > On 22 May 2014, at 12:56, Otared Kavian wrote: >=20 > On 22 May 2014, at 12:44, Werner Hintze we.hintze@gmail.com wrote: >=20 > Thank you once more! This looks better. It=92s a pity that such things = are not =BBwikified=AB=85 ;) >=20 > Once you think you have well understood something do not hesitate to = wikify it=85 >=20 > But there is a new surprise: What is knute.tex, ward.tex and = tufte.tex? Are there more of those texte? And how does one finde them? >=20 > Look where you have installed the ConTeXt tree, in the following = directory >=20 > tex/texmf-context/tex/context/sample > you=92ll find some other sample files which can be input for testing: = they are very useful! >=20 > Best regards: OK >=20 > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_8D46470F-83E9-4B07-B6EC-63BC0D43F0E5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Actually you are right: one can setup the userpage = numbers by just saying way=3Dbyblock (no need to repeat = numberconversionset).
Here is a complete = example:

\defineconversionset[frontpart:page= number][][romannumerals]
\defineconversionset[bodypart:pagenumbe= r] [][numbers]
\defineconversionset[backpart:pagenumber] = [][characters]
\setupuserpagenumber[way=3Dbyblock]
\starttext

\startfrontmatter
\placecontent
\stopfrontmatter

\start= bodymatter
\chapter{First chapter}
\input = ward.tex
\section{A section}
\input = dawkins.tex

\stopbodymatter

<= div>\startbackmatter
\chapter[title=3D{Index},number=3Dno]
=
\input = tufte.tex
\stopbackmatter
\stoptext

Best regards: OK


On = 22 May 2014, at 13:50, Werner Hintze <we.hintze@gmail.com> = wrote:

This is the = problem: It works, but I don=92t unterstand why. I make just my first = steps with ConTeXt=85

Anyway: I found out, that this = is the best solution:

\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber][][numbers]
\defineconversionset[backpart:pagenumber] [][characters
\defineconversionset[appendix:pagenumber][][Characters]
\setupuserpagenumber[numberconversionset=3Dpagenumber,way=3Dbyblock]

Now it=92s not nessecary to reset the = pagenumber.

Thanks for the hint about the Sample = texts.

Best regards.

WH

On 22 May 2014, at 12:56, Otared Kavian wrote:

On 22 May 2014, at 12:44, Werner Hintze we.hintze@gmail.com wrote:

Thank you once more! This looks better. It=92s= a pity that such things are not =BBwikified=AB=85 ;)

Once you think you have well understood = something do not hesitate to wikify it=85

But there is a new surprise: What is = knute.tex, ward.tex and tufte.tex? Are there more of those texte? And = how does one finde them?

Look where you have installed the ConTeXt = tree, in the following directory

tex/texmf-context/tex/context/sample

you=92ll find some other sample files which = can be input for testing: they are very useful!

Best = regards: OK


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.sup= elec.fr/projects/contextrev/
wiki : http://contextgarden.net


=
____________________________________________________________________= _______________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_8D46470F-83E9-4B07-B6EC-63BC0D43F0E5-- --===============0362795765== 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 ___________________________________________________________________________________ --===============0362795765==--