From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88640 Path: news.gmane.org!not-for-mail From: Keith McKay Newsgroups: gmane.comp.tex.context Subject: Re: Internal clickable links Date: Wed, 03 Sep 2014 10:13:22 +0100 Organization: The PotHole Press Message-ID: <5406DBB2.9090007@gmail.com> References: <54063B74.3000301@gmail.com> <60556A98-680F-432B-BB4E-01F073907DC0@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1122818507==" X-Trace: ger.gmane.org 1409735638 27258 80.91.229.3 (3 Sep 2014 09:13:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2014 09:13:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 03 11:13:53 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 1XP6dU-00018E-Nc for gctc-ntg-context-518@m.gmane.org; Wed, 03 Sep 2014 11:13:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 23E0B10294 for ; Wed, 3 Sep 2014 11:13:51 +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 yECT0gsUd1za for ; Wed, 3 Sep 2014 11:13:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5A62810227 for ; Wed, 3 Sep 2014 11:13:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2F51101E7 for ; Wed, 3 Sep 2014 11:13: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 4C8w-HBzpQqL for ; Wed, 3 Sep 2014 11:13:32 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 90B4E101E1 for ; Wed, 3 Sep 2014 11:13:32 +0200 (CEST) Original-Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s839DOx2009377 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 3 Sep 2014 11:13:31 +0200 Original-Received: by mail-wg0-f50.google.com with SMTP id x12so8118073wgg.33 for ; Wed, 03 Sep 2014 02:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=8MUoNyrTMmZJ5WukJ7UYxN++T/dfsC0XPwe2q/580N4=; b=mae7qkHVFHnzzdpQy1ltHiApNki1N8FqiqBMOluU+0T1GZL0U8S8RufM8B6nkwr5Rq +1e0v5v3j3og2L2ql2NtWJ1/U2jywUwKDfBWQEA7OWvIpR81VRzRtoNuXysoLA5OB5wc +b0EGnrLmKgYH+P4K8m8iOLLOQfAmeGmKqMWU7eASRIVA3arHzIOlU/w8ESnN8TMNgWs DWDA44ftTc+fbFKMe8/HziObZ194WCgjrRQdIZNeOFtqW082SvfSwJJpLPzhb7uMqQlT vw8wtaRxEvGBHSS0CA5h1BAsvoc0MRohnZ50X2NAfknEg9DH/CRI7JtIsDeS8rjJAafi 3J2Q== X-Received: by 10.194.90.114 with SMTP id bv18mr45884885wjb.63.1409735605182; Wed, 03 Sep 2014 02:13:25 -0700 (PDT) Original-Received: from Keiths-Mac-mini.local (cpc12-uddi22-2-0-cust219.20-3.cable.virginm.net. [82.15.155.220]) by mx.google.com with ESMTPSA id u7sm3432274wif.7.2014.09.03.02.13.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 02:13:24 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <60556A98-680F-432B-BB4E-01F073907DC0@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03MKxdpmm - 4c50bda1b611 - 20140903 (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:88640 Archived-At: This is a multi-part message in MIME format. --===============1122818507== Content-Type: multipart/alternative; boundary="------------020203060907010008060505" This is a multi-part message in MIME format. --------------020203060907010008060505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks for the advice Wolfgang. I went back to the wiki and found \setupfootnotes, \placefootnotes and \setupfootnotedefinition. Playing around with these I almost get what I want. What I don't get is two way interaction i.e. clicking on the superscript in the text doesn't take me to the footnote (or endnote in this case), but clicking on the superscript of the footnote takes me back to the word in the text. I would really prefer to be able to click on a word to take me to the definition and click on the definition to take me back to the word. Here is a test file to show the effect I found above: \setupinteraction[state=start, color=black] \setupfootnotes[location=text, interaction=yes, bodyfont=11pt] \setupfootnotedefinition [headstyle=italic, location=top, color=red, headcolor=blue] \starttext barley \footnote{barley used to make beer} hops filter chocolate\footnote{chocolate used to make chocolate bars} malt secondary fermentation\footnote{fermentation the process of beer making} adjunct \page Lorem\footnote{ipsum} \page \placefootnotes \stoptext Thanks and best wishes Keith Mckay On 02/09/2014 22:54, Wolfgang Schuster wrote: > Am 02.09.2014 um 23:49 schrieb Keith McKay : > >> Colleagues >> >> I'm setting up a document which at the end of each chapter will have a Glossary of word definitions. To get to these definitions one would click on the word in the chapter which would take them to the page where the definition of the word is in the Glossary. Once the user has done this, they could then click on the definition to go back to the original word in the chapter. \footnote works after a fashion, however I would like the word to be clickable and the definition not to appear at the bottom of the page. It's not really what I want. >> >> Is there another way to get the functionality I'm looking for? > The placement of footnotes at the bottom of the page can be disabled to flush them at another position, e.g. at the end of a chapter. Instead of footnotes you can use endnotes which are configures in this way or create your own note command. > > Wolfgang > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------020203060907010008060505 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks for the advice Wolfgang.
I went back to the wiki and found \setupfootnotes, \placefootnotes and \setupfootnotedefinition.  Playing around with these I almost get what I want.  What I don't get is two way interaction i.e. clicking on the superscript in the text doesn't take me to the footnote (or endnote in this case), but clicking on the superscript of the footnote takes me back to the word in the text.  I would really prefer to be able to click on a word to take me to the definition and click on the definition to take me back to the word.

Here is a test file to show the effect I found above:

\setupinteraction[state=start,
color=black]

\setupfootnotes[location=text,
interaction=yes,
bodyfont=11pt]

\setupfootnotedefinition

[headstyle=italic,

location=top,

color=red,

headcolor=blue]

\starttext

barley \footnote{barley used to make beer} hops

filter chocolate\footnote{chocolate used to make chocolate bars} malt

secondary fermentation\footnote{fermentation the process of beer making} adjunct

\page

Lorem\footnote{ipsum}

\page

\placefootnotes

\stoptext



Thanks and best wishes
Keith Mckay

On 02/09/2014 22:54, Wolfgang Schuster wrote:
Am 02.09.2014 um 23:49 schrieb Keith McKay <mckaymeister@gmail.com>:

Colleagues

I'm setting up a document which at the end of each chapter will have a Glossary of word definitions.  To get to these definitions one would click on the word in the chapter which would take them to the page where the definition of the word is in the Glossary.  Once the user has done this, they could then click on the definition to go back to the original word in the chapter.  \footnote works after a fashion, however I would like the word to be clickable and the definition not to appear at the bottom of the page.  It's not really what I want.

Is there another way to get the functionality I'm looking for?
The placement of footnotes at the bottom of the page can be disabled to flush them at another position, e.g. at the end of a chapter. Instead of footnotes you can use endnotes which are configures in this way or create your own note command.

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

--------------020203060907010008060505-- --===============1122818507== 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 ___________________________________________________________________________________ --===============1122818507==--