From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Print "number of pages" Date: Sun, 26 Jul 1998 18:27:48 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <35BB5904.2B569296@berlin1.netsurf.de> Reply-To: burnus@berlin1.netsurf.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035390929 20899 80.91.224.250 (23 Oct 2002 16:35:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:35:29 +0000 (UTC) Original-To: Hans Hagen , NTG-ConTeXt Xref: main.gmane.org gmane.comp.tex.context:68 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:68 Hallo Hans, hello others, how can I print the number of pages a document has? Something I miss in ConTeXt is an advanced and full-featured biblographic= module, similar to BibTeX. I show an example how it might work: \usemodules[bibliographic] \bibaddentry[Burnus,T:myExample] [title=3D{This is an example for a \CONTEXT version of \LATEX's \BIBTEXT}, author=3D{Tobias P. Burnus}] \bibsynonym[thisdoc][Burnus,T:myExample] \bibaddtofile[thisdoc][file=3DmyOwnBibs] % taken care of by TeXUtil \bibloadfile[file=3DmyOwnBibs] % My Articles \bibloadfile[file=3DgroupBibs] % Articles of my group or freq. used artic= les \bibloadfile[file=3Dstandard_bibs, prefix=3DTEXprefix] \starttext \titlepage {\bibprint[thisdoc][title]} {\bibprint[thisdoc][author][order=3DFirstLastName]} This thesis is taken from \bibref[Burnus,T:Theses], \bibref[Foo,B:Another= one]. You will find also something on page 4444 in \bibref[TEXprefix:Knuth:TeXB= ook]. (printed like [1][2] etc. ^1 ^2 ^3 or [Knut76]. Using 1,2,3... it should = be possible to group them: [1,2,3,5] or [1-3,5] ConTeXt's bibligraphic modul should also be able to read LaTeX's BibTeX f= iles, making it possible to use the old one or those of colleagues. Groeten, Regards and Tsch=FCs, Tobias PS: I thought I would use StarOffice 4.0/Linux for a few lines, but someh= ow the Typographical quality doesn't convince. I think I write a small "strip off" perl utilit= y which extracts the plain text out of a \CONTEXT\ tex(t) file. (I need a plain A= SCII file for another purpose, but I want to have a nice typeset one, too.) Using Acrobat Reader for that purpose doesn't work; "Deutschland 1945--1949 -- Besatzungszeit und Staatsgr"undung " is printe= t as: ^^ ^^ ^ ^^ "Deutschland 1945{1949 { Besatzungszeit und Staatsgr=7F undung" ("u is u umlaut / =FC )