From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84416 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Conditional float references Date: Wed, 25 Sep 2013 17:28:25 +0200 Message-ID: <20130925152825.GA17308@homerow> References: <20130922210228.GJ17308@homerow> <48A5B149-E292-4F8B-B6E3-5181045A3EDC@gmail.com> <20130925072906.GW17308@homerow> <61307ACC-A811-42A4-B5E9-0754DB95AB6D@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0989422248==" X-Trace: ger.gmane.org 1380122912 7812 80.91.229.3 (25 Sep 2013 15:28:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2013 15:28:32 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 25 17:28:37 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 1VOr12-0005A2-61 for gctc-ntg-context-518@m.gmane.org; Wed, 25 Sep 2013 17:28:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 998F3101EE; Wed, 25 Sep 2013 17:26:27 +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 imIgY9WzJLWg; Wed, 25 Sep 2013 17:26:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AABD2101E5; Wed, 25 Sep 2013 17:26:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA2B9101E5 for ; Wed, 25 Sep 2013 17:26:23 +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 jd+hXvRPMPdK for ; Wed, 25 Sep 2013 17:26:22 +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 492CF101DE for ; Wed, 25 Sep 2013 17:26:21 +0200 (CEST) Original-Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8PFSSjD004322 for ; Wed, 25 Sep 2013 17:28:28 +0200 Original-Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward12.mail.yandex.net (Yandex) with ESMTP id B08A4C20763 for ; Wed, 25 Sep 2013 19:28:27 +0400 (MSK) Original-Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 8E43016A02F9 for ; Wed, 25 Sep 2013 19:28:27 +0400 (MSK) Original-Received: from miun114-228.dynamic.miun.se (miun114-228.dynamic.miun.se [193.10.114.228]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id AyaOmWB808-SQh8qeeF; Wed, 25 Sep 2013 19:28:26 +0400 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <61307ACC-A811-42A4-B5E9-0754DB95AB6D@gmail.com> 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.8587 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=2a02:6b8:0:801::2; country=RU X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Ktrssw4 - 7779a8139d80 - 20130925 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:84416 Archived-At: --===============0989422248== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ep5m4srWGXPl6O+g" Content-Disposition: inline --Ep5m4srWGXPl6O+g Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9309=E2=80=9325 Otared Kavian wrote: > Also after applying your patch everything works as expected. I > tested your file with some maths formulas and changed even the > language to French with: > > \unprotect > \setuplabeltext > [\s!fr] > [\v!atpage=3Dpage\nobreakspace, %% =E2=80=9Cat page=E2=80=9D sounds wei= rd Redefining atpage should not be necessary, it is already defined in the core as =E2=80=9C=C3=A0 la page=E2=80=9D. @native speakers: Is it =E2=80=9Con page 3=E2=80=9D or =E2=80=9Cat page 3= =E2=80=9D? I think =E2=80=9Cat page=E2=80=9D sounds weird. Either I remove my redefinition or it should be corrected in the core. > However maybe it would be better to have some setup options like: > \setuplabeltext[smartref][atpage=3D{page}, > previouspage=3D{=C3=A0 la page pr=C3=A9c=C3=A9dente}, %or {page pr=C3= =A9c=C3=A9dente} > nextpage=3D{=C3=A0 la page suivante}] %or {page suivante} Label texts are a general context mechanism and are set per language, so all macros in all modules display consistent strings. > In case Hans is willing to add such capabilities to the cross > referencing, it would be great if one could setup the cross > references in the same way by saying for instance > \setupreferencing[alternative=3Dsmartref] > and then have \smartref be defined automatically. I'm not sure if that makes sense given the current commands. The referencing commands are not interchangeable, use different syntax and behave different. > A final remark concerns the possibility to visualize the reference > points when one is in the process of proof reading: at least in > maths, it is usual to have dozens of reference points to formulas, > lemmas, theorems, etc, and it is quite useful to be able to > visualize such things. I have in mind that such functionality exists. My guess that \setupversion[temporary] should do the job was unfortunately wrong. Marco --Ep5m4srWGXPl6O+g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJSQwEZAAoJEPGqVaNSn0iKNKgH/RBp2EY5slUCIj8dKJlM5ZE9 6jfxIbL2ZSPjMV4GbDgaxUyKbADf+o3ZCC0A/8fKOFs5nR7cKjaw6jhfpDqPzjyp pSlkouOPMDyy/aR19jTpF9K/USWnhhrBCSJaB0nxA5H/lwJq027VMFcigIudn+SH 4iUf9J4TNstjsE2esG6MZloCUqL+CsXhMCGUaKEqregVQayOb++InGdEyzA3O1pE KTmSZyGqeTcamFTRT83OMxZxljSzB2GtNH2XxhWTiH42HYCMokbgRBlZKUzuObHe mAKEQNRM/HQ6f6xIteChy2wZDtXvdIYL5ipzadA0YiHpnNrD8SZdolxpixAGEUI= =/9oQ -----END PGP SIGNATURE----- --Ep5m4srWGXPl6O+g-- --===============0989422248== 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 ___________________________________________________________________________________ --===============0989422248==--