From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15716 Path: main.gmane.org!not-for-mail From: Hans Hagen Outside Newsgroups: gmane.comp.tex.context Subject: Re: fighting with footnotes Date: Fri, 16 Jul 2004 12:35:20 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <40F7AF68.8070604@wxs.nl> References: <4101B946@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1089974137 6944 80.91.224.253 (16 Jul 2004 10:35:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jul 2004 10:35:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 16 12:35:30 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlQ3u-0003PO-00 for ; Fri, 16 Jul 2004 12:35:30 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E5501277D; Fri, 16 Jul 2004 12:35:30 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02646-01; Fri, 16 Jul 2004 12:35:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD14512775; Fri, 16 Jul 2004 12:35:26 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB09112775 for ; Fri, 16 Jul 2004 12:35:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02585-02 for ; Fri, 16 Jul 2004 12:35:25 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 47AEE1276B for ; Fri, 16 Jul 2004 12:35:25 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i6GAZNPA026484 for ; Fri, 16 Jul 2004 12:35:23 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 0C970205CD; Fri, 16 Jul 2004 12:35:23 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id CD5CD1B51B for ; Fri, 16 Jul 2004 10:35:21 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4101B946@webmail.colostate.edu> X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on mailrelay02.solcon.nl X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15716 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15716 ishamid wrote: >Dear posse, > >I am having trouble with footnotes. For an article, I want some footnote= s to=20 >be symbolized by \ast, \dag, etc, but without affecting the numbering of= =20 >regular footnotes. For example, the title of article may have a footnote= =20 >symbolized by \ast, but the first footnote in the main text should still= be=20 >symbolized by `1' (then `2', etc). I tried localfootnotes but I could no= t get=20 >them placed in the footer at the bottom of the page. [location=3Dpage] d= id not=20 >help. > > =20 > \starttext \unexpanded\def\myfootnote{\setupfootnotes[conversion=3Dset 2]\footnote} \chapter{test\myfootnote{test}} test \footnote{test} test \stoptext since you're the footnote guy, collect such things on a todo list; later=20 i may consider adding support for cloned notes with different settings,=20 something: \definenote[myfootnote][footnote] \setupnote[myfootnote][conversion=3Dset 2] trivial to implement but i'm in a hurry now >Related question: can't I just specify a footnote outside the counting=20 >mechanism with any symbol I want at any point in the text, without distu= rbing=20 >the regular counted footnotes? > >I'm also confused by the conversion key. page 93 of the documentation re= ads: > >"With the variable conversion you set up the type of numbering. You may = even=20 >use your own character, for example an emdash (keyed in as ---=C2=AD)." > >But if I do, e.g., conversion=3D{---}, TeX complains of course. What am = I=20 >missing? > >Related questions: > >Where are the conversion keys set 2, set 3, etc. documented? > > =20 > core-con.tex it's a generic mechanism to map number on symbols or anything you want=20 (see metafun manual for example of mapping onto graphics) >How can I reset the numbering if I make local changes? For example, I am= using=20 >regular default footnotes, then I switch to conversion=3Dset 2, then I w= ant to=20 >reset to the default footnotes without losing my numbering. I thought th= at=20 >[n=3D0] etc. might help but that key seems to affect the paragraph forma= tting of=20 >the footnotes, not the numbering. I tried using \start-\stop but that do= es not=20 >isolate the counting mechanism apparently. > =20 > numbering is global (makes sense sinc you use footnotes local) >Fighting TeX is really frustrating sometimes, and I'm sure the answers a= re=20 >really simple... > =20 > \let\incrementnumber\verhoognummer \let\decrementnumber\verlaagnummer \resetnumber[footnote] \decrementnumber[footnote] \incrementnumber[footnote] remind me to internationalize those commands -) \unexpanded\def\myfootnote#1% {\setupfootnotes[conversion=3Dset 2]\footnote{#1}\decrementnumber[footn= ote]} \chapter{test\myfootnote{test}} test \footnote{test} test Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------