From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86926 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: page reference to figure fails when figure location is "none" Date: Sun, 06 Apr 2014 06:14:07 -0400 Message-ID: <87sipq7ok0.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1396779283 25397 80.91.229.3 (6 Apr 2014 10:14:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2014 10:14:43 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 06 12:14:38 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 1WWk62-0007TM-43 for gctc-ntg-context-518@m.gmane.org; Sun, 06 Apr 2014 12:14:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A338F10245 for ; Sun, 6 Apr 2014 12:14:37 +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 VxGXxiE7I7+3 for ; Sun, 6 Apr 2014 12:14:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A09B810222 for ; Sun, 6 Apr 2014 12:14:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79E08101E7 for ; Sun, 6 Apr 2014 12:14:28 +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 mo1XHBMyDKZ6 for ; Sun, 6 Apr 2014 12:14:26 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id C6E4A101E1 for ; Sun, 6 Apr 2014 12:14:17 +0200 (CEST) Original-Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s36AEC2L008931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 6 Apr 2014 12:14:16 +0200 X-AuditID: 1209190c-f794a6d000000c27-3f-534128f4c358 Original-Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id AD.5A.03111.4F821435; Sun, 6 Apr 2014 06:14:12 -0400 (EDT) Original-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s36AEBSS018314 for ; Sun, 6 Apr 2014 06:14:12 -0400 Original-Received: from approx.mit.edu (pool-71-126-235-4.bstnma.east.verizon.net [71.126.235.4]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s36AE9RO016040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 6 Apr 2014 06:14:11 -0400 Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.82) (envelope-from ) id 1WWk5X-0004ZM-4u for ntg-context@ntg.nl; Sun, 06 Apr 2014 06:14:07 -0400 User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (i486-pc-linux-gnu) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRmVeSWpSXmKPExsUixG6novtFwzHY4OxSAYu18xcxOTB6HFu1 mDGAMYrLJiU1J7MstUjfLoEr4/qVVraCU2wVvSdXsDYw9rN2MXJySAiYSHxa8w/KFpO4cG89 WxcjF4eQwGwmiYv7TjBDOCcZJd69PssK4bxhkni5bi4LhLORUeLB7kmMXYwcHGwCqhJ//weC mCJAo15PDAaZKizgJtHS9ZARxBYVCJK43vSUGcRmAaqecPI5O4jNK6AtsfbvbmYIW1Di5Mwn LCA2s4CExMEXL5gnMPLNQpKahSS1gJFpFaNsSm6Vbm5iZk5xarJucXJiXl5qka6hXm5miV5q SukmRlAwcUry7GB8c1DpEKMAB6MSD++FPIdgIdbEsuLK3EOMkhxMSqK8fpKOwUJ8SfkplRmJ xRnxRaU5qcWHGCU4mJVEeJMUgXK8KYmVValF+TApaQ4WJXHet9ZWwUIC6YklqdmpqQWpRTBZ GQ4OJQleV3WgRsGi1PTUirTMnBKENBMHJ8hwHqDhDSA1vMUFibnFmekQ+VOMilLivCUgCQGQ REZpHlwvLNpfMYoDvSLM6w9SxQNMFHDdr4AGM4EMDrMDGVySiJCSamAMeTbRLtFgSsTdhXsy 19k1bihb3XBHWoLj05MTN7d+OMr7RsHUaMP0uxuDJoRJqx+4q5C217lW8lSVDlO0QPabh0qt 0/gvXmrine5ywYot5eZ6N8VdFy65Lt7L5vT/YPSfp9MyIyuyJ1/pkYt75Zg4I/7ovX+636Ys b72z8ff6MLniQ1kmsn+WKLEUZyQaajEXFScCAM5EOP/RAgAA X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=18.9.25.12; country=US; region=Massachusetts; city=Cambridge; latitude=42.3751; longitude=-71.1056; http://maps.google.com/maps?q=42.3751,-71.1056&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QLKyed5G - 1eb7c29f685b - 20140406 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:86926 Archived-At: Using a recent MkIV beta (2014.03.27), it seems that a page reference to a figure fails if the figure location is "none." Here is a minimal example: \starttext \input knuth \placefigure[none][regularref]{}{\pagereference[workaroundref] \externalfigure[cow.pdf]} \input knuth See \at{page}[workaroundref] or \at{page}[regularref] \stoptext The log file has references > unknown reference '[][regularref]' and the .pdf file has See page 1 or page ?? That is, the "\at{page}[regularref]" doesn't work. (But the workaround reference does work.) If the figure's location key is changed from "none" to "nonumber" or just deleted, then the regularref page reference works. It also works with MkII (with or without "none"), so I am guessing that it is a bug in MkIV. -Sanjoy ___________________________________________________________________________________ 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 ___________________________________________________________________________________