From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51560 Path: news.gmane.org!not-for-mail From: ivo welch Newsgroups: gmane.comp.tex.context Subject: Re: How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source? Date: Wed, 1 Jul 2009 14:18:08 -0400 Message-ID: <50d1c22d0907011118h2d75ed8cmc1ec557da4518b62@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0580584088==" X-Trace: ger.gmane.org 1246472349 1555 80.91.229.12 (1 Jul 2009 18:19:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 18:19:09 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 01 20:19:02 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MM4Oc-0002U5-6Q for gctc-ntg-context-518@m.gmane.org; Wed, 01 Jul 2009 20:19:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 49B291FBBA; Wed, 1 Jul 2009 20:19:01 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29189-02; Wed, 1 Jul 2009 20:18:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB6591FB74; Wed, 1 Jul 2009 20:18:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC0491FB74 for ; Wed, 1 Jul 2009 20:18:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28368-03 for ; Wed, 1 Jul 2009 20:18:11 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 8177B1FB5B for ; Wed, 1 Jul 2009 20:18:11 +0200 (CEST) Original-Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n61II8s6004494 for ; Wed, 1 Jul 2009 20:18:11 +0200 Original-Received: by fxm1 with SMTP id 1so1136833fxm.2 for ; Wed, 01 Jul 2009 11:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7RB/g2KQB+9Pbfqdn+D4Hgtq/umG5G6i36gsK7ot61k=; b=mXcSYRDRfN4KPo5+4TaKPs8x+k9Tnh3tWZ52sfiHsUNTs7QwCD5VdlRM/oOJV+s8Y2 4lAeFWLUcIoQmC/jXlbY6lxVCPYmSJeqHrGMx8qoU3VmU/zVgqPMTTs4c7+Yg35Rq7wR b+bK7T4MuXnpWBqnfG0LHUfoG/0JkznM9hEFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pA9sNHQq2USbY6zDYMOSycdeAWgwesMxQpoC+d91fyAKRdu98GpHe/kS6HbkEaFlY8 xGvzA1/7tq1xkAq+AiOuE/WW3f7eCX1QTF/wDBG1V5VecdDC4EOU1CQBhfTMH8sGAJlq gc/CFtlOTsypKs+lM6Q6wbLRN3mh5tVnAM/s8= Original-Received: by 10.223.104.74 with SMTP id n10mr6440796fao.5.1246472288261; Wed, 01 Jul 2009 11:18:08 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.205; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 253826916 - ca42f5518630 - 20090701 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51560 Archived-At: --===============0580584088== Content-Type: multipart/alternative; boundary=001636c5b1c7f6d9fe046da8f1aa --001636c5b1c7f6d9fe046da8f1aa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit is there also a way to determine the current output page number on which typesetting is currently being made? (I know this is a difficult problem in LaTeX, and I presume the same is the case for ConTeXt, because it uses the same underlying TeX engine.) /iaw --001636c5b1c7f6d9fe046da8f1aa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
is there also a way to determine the current output page number on whic= h typesetting is currently being made?=A0 (I know this is a difficult probl= em in LaTeX, and I presume the same is the case for ConTeXt, because it use= s the same underlying TeX engine.)

/iaw

--001636c5b1c7f6d9fe046da8f1aa-- --===============0580584088== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0580584088==--