From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53624 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Page Numbering Hell Date: Wed, 21 Oct 2009 11:49:12 -0400 (EDT) Message-ID: References: <51CAD0CE1504444DBE77CBBE51A0135D6CE2B0@slcmail.slc.mew.int> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256284194 32662 80.91.229.12 (23 Oct 2009 07:49:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 07:49:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 23 09:49:47 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1Eu8-0003vo-U8 for gctc-ntg-context-518@m.gmane.org; Fri, 23 Oct 2009 09:49:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77127C9AF9; Fri, 23 Oct 2009 09:48:38 +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 P93LGxoj+Tx8; Fri, 23 Oct 2009 09:48:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9712DC9B66; Fri, 23 Oct 2009 09:47:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 591F6C9B35 for ; Fri, 23 Oct 2009 09:46:59 +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 uU3sqrafprvh for ; Fri, 23 Oct 2009 09:46:42 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by balder.ntg.nl (Postfix) with ESMTP id 01865C9B80 for ; Fri, 23 Oct 2009 09:46:32 +0200 (CEST) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By hackers.mr.itd.umich.edu ID 4ADF2D7F.836B.16626 ; Authuser adityam; 21 Oct 2009 11:49:19 EDT In-Reply-To: <51CAD0CE1504444DBE77CBBE51A0135D6CE2B0@slcmail.slc.mew.int> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:53624 Archived-At: On Wed, 21 Oct 2009, Bryant Eastham wrote: > 1. Is Mark IV real? I am only somewhat joking here - after > spending hours searching for reasonable documentation on even the most > trivial options, I am left wondering whether this is something I want to > use... MKIV is still a moving target. For example, the change is the structure code (headings, pagenumbers, lists, etc) started only in April. There are still some things that are not done yet. Documentation will only make sense once the interface is stable. For structure code, the interface is not fixed yet, so the only documentation is the examples in the source file. Parts that are stable (fonts, typescripts) are documented in the new manual (see wiki). The interface for most other things has not changed, so the MKII interface works. > 2. ConTeXt looks great. But what is current? Seriously, I like the > look and the support (particularly Unicode). But going over > documentation I cannot make heads or tails of what to do. Mark II? Mark > IV? TeTeX? LuaTeX? If I really want to use this, what should I use? Use MKII. It is stable and well documented. Unless there is some feature of MKIV that you definitely need. MKII had some support for unicode and oriental languages. > 3. Having answered #2, where in the world is a reference manual!!! > I mean one that actually *documents the options*. See http://www.pragma-ade.com/overview.htm Most of MKII options are documented in ConTeXt the manual. Parts of MKIV are documented in mk.pdf > 4. Having answered #3, are there any current examples that > actually work? The snippets from the mailing are great, but they are > just snippets. That doesn't help me. The wiki: http://www.contextgarden.net > Now, to resolve my immediate issue, and just because I will not be able > to sleep well until I figure this out (yes, I am fixated on this). A partial solution (I don't know how to set the separator between chapter number and page number) Following Alan's email: % missing setups to: % 1. frontmatter pagenumbering conversion=romannumerals \setupuserpagenumber[way=byblock] \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setupuserpagenumber[numberconversionset=pagenumber] % 2. bodymatter pagenumbering "chapter-page" % 3. reset pagenumber for each chapter % I don't know how to set the - between chapter and page number \setupuserpagenumber [way=bychapter, prefix=yes, prefixset=chapter, prefixsegments=2:2, ] % 4. add blank pages if necessary to start chapters on odd pages. % 5. Page number in top margin \setuppagenumbering[location={header,margin},alternative=doublesided] \starttext \startfrontmatter \completecontent[criterium=all] \stopfrontmatter \startbodymatter \dorecurse{4} {\chapter{Chapter} \dorecurse{8} {\section{Section} \input knuth \endgraf}} \stopbodymatter \stoptext Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________