From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88197 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Leave out reference to page if on the same page? Date: Thu, 24 Jul 2014 13:26:59 +0200 Message-ID: References: <9B2F0029-A808-473D-99C1-D3CC9AAE5A7C@rna.nl> <53D05484.3040803@panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1824671781==" X-Trace: ger.gmane.org 1406201246 7165 80.91.229.3 (24 Jul 2014 11:27:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2014 11:27:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 24 13:27:20 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 1XAHB9-0002V3-DY for gctc-ntg-context-518@m.gmane.org; Thu, 24 Jul 2014 13:27:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 164E6102AE for ; Thu, 24 Jul 2014 13:27:19 +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 YVpPGcGPR1Ph for ; Thu, 24 Jul 2014 13:27:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A2FC51022D for ; Thu, 24 Jul 2014 13:27:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12A31101EE for ; Thu, 24 Jul 2014 13:27:07 +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 BaZFJjIqKR3C for ; Thu, 24 Jul 2014 13:27:02 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id EEB35101EC for ; Thu, 24 Jul 2014 13:27:01 +0200 (CEST) Original-Received: from mail-qg0-x22e.google.com (mail-qg0-x22e.google.com [IPv6:2607:f8b0:400d:c04::22e]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s6OBQuUb016273 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 24 Jul 2014 13:26:57 +0200 Original-Received: by mail-qg0-f46.google.com with SMTP id z60so3034336qgd.5 for ; Thu, 24 Jul 2014 04:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WRe2TGB/Fudtua6F6YUeIyzShAGNArxJ9FBrv/WKezg=; b=ocXFd9tLSi9hjkDjQPAreGtVugYMkkFJpnOwDbuPPDDaTeAR9Au5/NlqPbyH7xzF37 D8tmq9XEsKRW3rAJLaytV8hEOuQuovkQf0eZbx0/jXTwKSbs9Z0tyeseS4fOXco9TiDu tu+hRd4fBQeX++rZzK58H9hgkSYCH9xschi9XpdvAWx+D/QZSsFsxEht20IuPaJrgqTw ZO7itcbsDgCX/xF9zXqvPS5u6+dGuAj0QNGtpDcDPU05AdBjLfUUMSMQs5AdsIK2Nzef /vFLHYVF3BodUxNMnMeBDNX43MHsUxVOZ9y7ml0RgClf+XfXsMP1tn6cN11T3u1eh8+e krtw== X-Received: by 10.224.8.5 with SMTP id f5mr12592445qaf.87.1406201219602; Thu, 24 Jul 2014 04:26:59 -0700 (PDT) Original-Received: by 10.140.37.206 with HTTP; Thu, 24 Jul 2014 04:26:59 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c04::22e; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07MubqVcH - 203b2ce8aeb5 - 20140724 (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:88197 Archived-At: --===============1824671781== Content-Type: multipart/alternative; boundary=001a11c247142d5f7304feeebce6 --001a11c247142d5f7304feeebce6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Jul 24, 2014 at 1:20 PM, Otared Kavian wrote: > Hi Rik, > > As a matter of fact the example given by Wolfgang works despite mkiv > complaining about > \analyzecurrentreference > being unknown=E2=80=A6 Whent the typesetting stops because of this comman= d, saying > =C2=AB run =C2=BB or rather =C2=AB r =C2=BB continues the typesetting. > I didn=E2=80=99t send the example module of Marco Patzer since it doesn= =E2=80=99t seem to > work anymore with recent versions of mkiv. > > Maybe Marco has a solution for his module? > also this one should work \starttext is shown in \in{figure}[FOO]% \doifreferencefoundelse{FOO}{\ifnum\realfolio=3D\currentreferencepage\else\= at{page}[FOO]\fi}{}% \placefigure[none][FOO]{FOO}{\externalfigure[cow.pdf][width=3D1cm]} \page is shown in \in{figure}[FOO1]% \doifreferencefoundelse{FOO1}{\ifnum\realfolio=3D\currentreferencepage\else= \at{page}[FOO1]\fi}{}\page% \placefigure[none][FOO1]{FOO1}{\externalfigure[cow.pdf][width=3D1cm]} \stoptext --=20 luigi --001a11c247142d5f7304feeebce6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

--001a11c247142d5f7304feeebce6-- --===============1824671781== 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 ___________________________________________________________________________________ --===============1824671781==--