From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38111 Path: news.gmane.org!not-for-mail From: "Zhichu Chen" Newsgroups: gmane.comp.tex.context Subject: Re: Placing meaningful footnotes Date: Tue, 18 Dec 2007 22:45:20 +0800 Message-ID: <769ba7780712180645g21612f4cq2a9830d26f418e27@mail.gmail.com> References: <769ba7780712170816g62541825w957047f172bb856b@mail.gmail.com> <115224fb0712180159u4c40ddb2wf4dea34f9299eb22@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0321558106==" X-Trace: ger.gmane.org 1197989193 24586 80.91.229.12 (18 Dec 2007 14:46:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 14:46:33 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 18 15:46:42 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J4diI-00027w-0v for gctc-ntg-context-518@m.gmane.org; Tue, 18 Dec 2007 15:46:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 17C511FC45; Tue, 18 Dec 2007 15:45:41 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14559-01; Tue, 18 Dec 2007 15:45:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 09F0C1FC1B; Tue, 18 Dec 2007 15:45:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 94A4F1FC1B for ; Tue, 18 Dec 2007 15:45:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12197-02-5 for ; Tue, 18 Dec 2007 15:45:23 +0100 (CET) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by ronja.ntg.nl (Postfix) with ESMTP id 649AB1FC07 for ; Tue, 18 Dec 2007 15:45:22 +0100 (CET) Original-Received: by wr-out-0506.google.com with SMTP id c47so1813239wra.20 for ; Tue, 18 Dec 2007 06:45:21 -0800 (PST) Original-Received: by 10.114.173.15 with SMTP id v15mr5107961wae.63.1197989120817; Tue, 18 Dec 2007 06:45:20 -0800 (PST) Original-Received: by 10.114.107.16 with HTTP; Tue, 18 Dec 2007 06:45:20 -0800 (PST) In-Reply-To: <115224fb0712180159u4c40ddb2wf4dea34f9299eb22@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38111 Archived-At: --===============0321558106== Content-Type: multipart/alternative; boundary="----=_Part_11897_13300963.1197989120810" ------=_Part_11897_13300963.1197989120810 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Wolfgang, I looked at the source a little bit but all macros are defined with insertion and I don't know how to make them share a same counter. Maybe we need a new \definerelatednote macro. Anyway, your suggestion makes sense. On Dec 18, 2007 5:59 PM, Wolfgang Schuster wrote: > 2007/12/17, Zhichu Chen : > > Hi everybody, > > > > Right now I'm writing an article and in the title's block I wanna thank > > somebody and in the authors' block I wanna display the email addresses. > And > > I want them done with footnotes with "set 2" conversion. When I use > > =========================================== > > \definenote[thanks][conversion=set 2] > > \definenote[email] > > [conversion=set 2, > > textstyle=type] > > =========================================== > > The footnotes are shown with two areas, one for the \thanks and another > for > > the \email, and they all started with "*" symbol, I mean there're two > > footnotes noted by star-symbol. I know I can just use > > \setupfootnotes[conversion=set 2] and do all my job by only using > \footnote > > macro, but it's just of curiosity, can I use those meaningful macros to > do > > continuously numbered footnotes and displayed only one area at the > bottom of > > the page. > > Hi Chen, > > I took a quick look at the source and it seems this is not possible, > but you define > email as macro and call thank in the expansion text. > > \def\email#1{\thanks{\type{#1}}} or better > \def\email#1{\thanks{\hyphenatedurl{#1}}} % breaks at the line end > > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > -- Best Regards Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ---------------------------------------------------------------- ------=_Part_11897_13300963.1197989120810 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Wolfgang,

I looked at the source a little bit but all macros are defined with insertion and I don't know how to make them share a same counter. Maybe we need a new \definerelatednote macro.

Anyway, your suggestion makes sense.

On Dec 18, 2007 5:59 PM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
2007/12/17, Zhichu Chen <zhichu.chen@gmail.com>:
> Hi everybody,
>
> Right now I'm writing an article and in the title's block I wanna thank
> somebody and in the authors' block I wanna display the email addresses. And
> I want them done with footnotes with "set 2" conversion. When I use
> ===========================================
> \definenote[thanks][conversion=set 2]
> \definenote[email]
>   [conversion=set 2,
>    textstyle=type]
> ===========================================
> The footnotes are shown with two areas, one for the \thanks and another for
> the \email, and they all started with "*" symbol, I mean there're two
> footnotes noted by star-symbol. I know I can just use
> \setupfootnotes[conversion=set 2] and do all my job by only using \footnote
> macro, but it's just of curiosity, can I use those meaningful macros to do
> continuously numbered footnotes and displayed only one area at the bottom of
> the page.

Hi Chen,

I took a quick look at the source and it seems this is not possible,
but you define
email as macro and call thank in the expansion text.

\def\email#1{\thanks{\type{#1}}} or better
\def\email#1{\thanks{\hyphenatedurl{#1}}} % breaks at the line end

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________



--
Best Regards
Chen
----------------------------------------------------------------

         Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
        No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
            tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                              | www.sinap.ac.cn
---------------------------------------------------------------- ------=_Part_11897_13300963.1197989120810-- --===============0321558106== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0321558106==--