From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2522 Path: main.gmane.org!not-for-mail From: Joop Susan Newsgroups: gmane.comp.tex.context Subject: Re: Setting up footnotes... Date: Mon, 21 Aug 2000 20:19:06 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20000821181906.12189.qmail@crux.private.off-line> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035393310 9578 80.91.224.250 (23 Oct 2002 17:15:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:15:10 +0000 (UTC) Cc: Joop Susan , ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: Message from Hans Hagen of "Mon, 21 Aug 2000 13:00:32 +0200." <3.0.6.32.20000821130032.0105e380@pop.wxs.nl> Xref: main.gmane.org gmane.comp.tex.context:2522 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2522 Hans Hagen wrote: > At 02:21 PM 8/19/00 +0200, Joop Susan wrote: > > > >Hallo, > > > >I would like to see my footnote numbers as a superscript number followed > >by a ')'. I need my footnote references to be a bit more visible and > >slightly bigger targets in interactive documents. (A CMSS superscript '1' > >just looks lost ;-)) > > > >I have tried: > > > >\def\Myfooternumber#1% > > {\high{#1)}} > > > >\setupfootnotes > > [numbercommand=\Myfooternumber] > > > >This only changes the presentation of the footnote number at the bottom of > >the page, but not the reference in text. > > > >Can anybody tell me which command changes the reference as well? > > This is rather hard coded, so I have to look into it. > > Hans > ------------------------------------------------------------------------ > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com > ------------------------------------------------------------------------ > I'm only working on one project, so for the time being I can live with hacking the source to get it right for this project. I'm a TEX amateur. I couldn't figure out all the \v!, \@@vnwijze, etc. So my solution is crude (but effective!). I hacked \dofootnote in core-not.tex as follows: \def\FootnoteNumberCommand#1% This defaults to just the number {#1} \def\dofootnote#1% {\iffootnotesenabled \doglobal\increment\internalfootreference \doifelse{\@@vnwijze}{\v!per\v!pagina} {\settrue\pagewisefootnotes} {\setfalse\pagewisefootnotes}% \doifelse{#1}{-} {\let\footnotenumber=\empty} {\ifconditional\pagewisefootnotes \doifreferencefoundelse{\s!fnt:t:\internalfootreference} {\ifnum\currentrealreference>\lastfootnotepage\relax \global\let\lastfootnotepage\currentrealreference \resetnummer[\v!voetnoot]% \fi} {}% \fi \verhoognummer[\v!voetnoot]% \maakhetnummer[\v!voetnoot]% \def\Myfootnotenumber{\FootnoteNumberCommand{\hetnummer}} \rawtextreference{\s!fnt}{#1}{\Myfootnotenumber}% \let\footnotenumber=\Myfootnotenumber}% \expandafter\dostartfootnote \else \expandafter\gobbleoneargument \fi} In my document source files I can override FootnoteNumberCommand: \def\FootnoteNumberCommand#1% {[#1]} or \def\FootnoteNumberCommand#1% {\inframed[offset=0.2ex,strut=no,width=fit,height=fit]{#1}} It looks like \setupfootnotes needs another option that accepts a command... No doubt you will be able to fix this in a proper way. Unfortunately I lack the skills... I'm using tetex-1.0.7 with updated pdftex binaries (Version 3.14159-14f-released-20000525-2.1) and an updated context tree (ver: 2000.5.31). Joop