From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8622 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Figure numbers, Lastpage and Column questions Date: Wed, 10 Jul 2002 17:53:03 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020710174421.02cfad80@server-1> References: <3D2C0883.EB7D559A@nlr.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399013 29124 80.91.224.250 (23 Oct 2002 18:50:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:50:13 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Rob van Swol In-Reply-To: <3D2C0883.EB7D559A@nlr.nl> Xref: main.gmane.org gmane.comp.tex.context:8622 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8622 At 12:12 PM 7/10/2002 +0200, Rob van Swol wrote: >hello, > >I have posted these questions couple of days ago but so far no replies, >so I try again. > >1. I would like to have figure numbers running from 1 to n instead of >per chapternumber. I have tried to use \setupcaptions[way=bytext] but >this not work. Taking an example from a previous discussion I still get >Figure 1.1 instead of Figure 1 > >\starttext >\setupcaptions[way=bytext] > \chapter{test} \placefigure{}{} >\stoptext this is a bug that was solved in the latest version, what version do you run? This sample runs ok here. >2. How do I get the total number of figures or total number of tabels, >or more general totalnumberoffloat.? good question, seems that i need to implement that feature; for the moment say: \prependtoks \textreference[totalnoftables]{\ruwenummer[table]} \textreference[totalnoffigures]{\ruwenummer[figure]} \to \everylastshipout \def\totalnoftables {\textreference[totalnoftables]} \def\totalnoffigures{\textreference[totalnoffigures]} and submit a feature request to the context bugzilla server >3. How do I get the total number of numbered pages (not \lastpage >because this one includes the number of unnumbered pages at the start of >my document, e.q. title page)? \realfolio (\realpageno is the raw page counter) >4. Columns: If I put balance=no, the text after stopcolumns is placed on >a new page, which is not what I want. Also, it seems that the height=3cm >does not do anything. Basically, I want to fill the first column first >and continue in the next column after the height or number of lines are >reached. Is this possible? not with this mechanism, but columnset can be told to explictly have a certain number of lines (will be documented soon, after i finished a whole range of styles that can serve as example) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------