From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84396 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Conditional float references Date: Tue, 24 Sep 2013 00:24:44 +0200 Message-ID: <20130923222444.GR17308@homerow> References: <20130922210228.GJ17308@homerow> <5240707A.5000902@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0040172793==" X-Trace: ger.gmane.org 1379975095 26399 80.91.229.3 (23 Sep 2013 22:24:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Sep 2013 22:24:55 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 24 00:25:00 2013 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 1VOEYt-0005QJ-R4 for gctc-ntg-context-518@m.gmane.org; Tue, 24 Sep 2013 00:24:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D2B6101EC; Tue, 24 Sep 2013 00:22:54 +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 4CczfWoFoCaQ; Tue, 24 Sep 2013 00:22:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 090A2101E5; Tue, 24 Sep 2013 00:22:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BDA0B101E5 for ; Tue, 24 Sep 2013 00:22:46 +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 Je2egXgSWG6X for ; Tue, 24 Sep 2013 00:22:44 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 83B0410193 for ; Tue, 24 Sep 2013 00:22:44 +0200 (CEST) Original-Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::2]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8NMOlSO021806 for ; Tue, 24 Sep 2013 00:24:48 +0200 Original-Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward2h.mail.yandex.net (Yandex) with ESMTP id F09FC7010B3 for ; Tue, 24 Sep 2013 02:24:46 +0400 (MSK) Original-Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id BABC71340273 for ; Tue, 24 Sep 2013 02:24:46 +0400 (MSK) Original-Received: from unknown (unknown [83.68.239.193]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PoMqBP4jVY-OjjmjsOX; Tue, 24 Sep 2013 02:24:46 +0400 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <5240707A.5000902@wxs.nl> X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.9994 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=2a02:6b8:0:f05::2; country=RU X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06KsKoLyU - 200137072e2c - 20130924 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:84396 Archived-At: --===============0040172793== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qo8f1a4rgWw9S/zY" Content-Disposition: inline --Qo8f1a4rgWw9S/zY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9309=E2=80=9323 Hans Hagen wrote: > >a couple of times the question came up=C2=B9=C2=B2=C2=B3 how to create m= ore > >intelligent referencing. There are already mechanisms in the core, > >namely \somewhere and \atpage but they both have drawbacks. > >\somewhere happily prints its text if the figure is placed on the > >same double page. In fact, no text at all should be printed if the > >figure is visible. Furthermore it's a little verbose to use unless > >hidden in a custom macro. \atpage on the other hand doesn't hesitate > >to print =E2=80=9Csee figure 1.2 at page 42=E2=80=9D while you're on pag= e 42. >=20 > Just wondering .. did you look at \atpage? I did, indeed. > there is some info available about reference locations \atpage basically just calls \strc_references_by_reference_page_state which only provides three states: current page, before of after the current page. This is not flexible enough, e.g. it does not take short distances into account (next/previous page), which is nice to have but not required. More important is that it's not aware of the concept of double pages. So the reader is presented with =E2=80=9Cas we show above=E2=80=9D even if the= graphic is visible on the double page. Marco --Qo8f1a4rgWw9S/zY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJSQL+sAAoJEPGqVaNSn0iKcaIH/0UFQlOekYFHjn7zI8Xyzp9F rsl/GWCJ3X/AAq2iDsEpyqFNNrTp3Vbclx9kgpXHP7/UJYxoqwmPJRHN+bWx0fZC bh6Hkf4vEVWwHLqbDsssgmz3rMcX8l9nD5R8O6QSypFlW7XbJn1l8ezkCot4Rex6 CaCsQJpTdVf+UNCN0sM1We1iPaVf51YItKJmYKIyqbDOtbiUWD1oizHsZkoEtmZ3 uSIt8/fCFmqlEphDtSkk4aG68273u8ubikPeWGMSHohOwp6hdQJcP1sQUT/mFil4 W5wiCf3w7QBi8Bc+U5XLbd1JOGAOhpfCp/o2RuvbHcUuyzU5r16sXgu/wDUBMs0= =yJg/ -----END PGP SIGNATURE----- --Qo8f1a4rgWw9S/zY-- --===============0040172793== 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 ___________________________________________________________________________________ --===============0040172793==--