From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58515 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: tooltips and glossary Date: Tue, 4 May 2010 21:04:32 +0200 Message-ID: <20100504190432.GA13155@aides> References: <20100504122859.GA24304@aides> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1612222459==" X-Trace: dough.gmane.org 1272999935 14836 80.91.229.12 (4 May 2010 19:05:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 19:05:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 04 21:05:33 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9NQy-00031i-He for gctc-ntg-context-518@m.gmane.org; Tue, 04 May 2010 21:05:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DEBA9C9B7A; Tue, 4 May 2010 21:05:31 +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 uUz-xnLCBrF0; Tue, 4 May 2010 21:05:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 99932C9AF9; Tue, 4 May 2010 21:05:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 851AEC9AF9 for ; Tue, 4 May 2010 21:05: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 MXY+Xs+DRSxc for ; Tue, 4 May 2010 21:05:21 +0200 (CEST) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by balder.ntg.nl (Postfix) with ESMTP id 4EADAC9AF5 for ; Tue, 4 May 2010 21:05:21 +0200 (CEST) Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o44J55G9010337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 4 May 2010 21:05:05 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o44J5KF3031458 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 4 May 2010 21:05:20 +0200 Original-Received: from localhost (mnhm-4d011547.pool.mediaWays.net [77.1.21.71]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o44J5NQb011964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 4 May 2010 21:05:24 +0200 In-Reply-To: X-Operating-System: Linux aides 2.6.34-rc3 User-Agent: Mutt/1.5.20 (2010-04-22) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:58515 Archived-At: --===============1612222459== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-05-04 <08:32:36>, Michael Saunders wrote: > > (Preliminary remark to M.S.: please, please, configure your MUA to > > correctly reply to the current thread!) >=20 > (What's wrong with my subject line? =C2=A0I'm merely hitting "reply" in g= mail.) Strange, judging from my inbox some of your replies are indeed threaded correctly, but others are not because they are missing the =E2=80=9Creferen= ces=E2=80=9D and =E2=80=9Cin-reply-to=E2=80=9D headers. Some inconsistency in the gmail = frontend? > > No, it's plain English. Unfamiliar phrases are just one consequence of a > > language becoming the world standard. Do you want to flame Italians or > > French for not adhering to the norms of classical Latin? You don't. > > There's no point at all in even mentioning somebody's stylistic > > idiosyncrasies on the internets. Just face it: the world won't adopt > > English as a global means of communication without interfering with its > > norms. If you don't understand something why don't you contact the > > author, his email adress is right there on the first page. >=20 > I don't mind non-native speakers using bad grammar, strange usages, or > Increasingly, I'm wondering whether the problem with Context is just > bad docs or bad language design (it's hard to control, it looks bad > most of the time). =C2=A0I still don't know. =C2=A0I'm hoping that Idris'= s book > will shed light on this. I agree with you in most points and don't want to discuss this here. My expectations concerning the context book are high, too, I wonder whether Idris accepts subscriptions =E2=80=A6 ? > Thank you. =C2=A0I'm not quite sure what to do with these files (the .lua > file in particular). =C2=A0Unfortunately, I won't be able to get to them > until tomorrow. The lua file should be placed in the same directory as your document. The tex file contains the wrapper macros for the lua functions in the preamble. Everything between \starttext and \stoptext is demonstration of the humble functionality. As this is rather an ad-hoc =E2=80=9Csolution= =E2=80=9D, don't expect much of it. To adapt it to a particular layout you'll have to manipulate the lua source but that won't be hard. Just tell me when you're in need of something special. (Expect breakage in footnotes! As usual, \usegloss has to be made unexpanded to get this to work =E2=80=A6) >=20 > > As for the tooltips, unfortunately > > I don't know how to create them. The functionality would be nice, > > though, as long as no javascript is involved. >=20 > It's not done with javascript. =C2=A0As I understand it, the usual way is > to place an invisible pdf =C2=A0"forms"-style button over the word you wa= nt > to gloss and then set its "short description" feature. =C2=A0 I think > context knows how to make such buttons and to set bounding boxes > around words, so I think it should be possible, no? As pointed out by Willi, context in fact has tooltips functionality but they _are_ implemented via js. These gimmicks are unsupported by most pdf readers (or looking funny in okular, which has some basic js support), so for now I'm personally opposed to using them. Let's hope =E2=80=9Clua spons= or=E2=80=9D Adobe replaces js by lua scripting in pdf eventually. Philipp > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvgb8AACgkQ02lYlJYWs9IqqgCfTVr/w7JCJ2nnOvPLqMnTmXzL nNIAn0K5vVBzHTiA+9s5g+tQE00I8Rv6 =wYjR -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- --===============1612222459== 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 ___________________________________________________________________________________ --===============1612222459==--