From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13725 Path: main.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Footnotes Date: Sat, 4 Oct 2003 21:02:16 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1065294565 25275 80.91.224.253 (4 Oct 2003 19:09:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2003 19:09:25 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Oct 04 21:09:23 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5rmN-0001B2-00 for ; Sat, 04 Oct 2003 21:09:23 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8A1E310B13; Sat, 4 Oct 2003 21:09:19 +0200 (MEST) Original-Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [62.67.200.156]) by ref.ntg.nl (Postfix) with ESMTP id BCACB10B0E for ; Sat, 4 Oct 2003 21:02:27 +0200 (MEST) Original-Received: (qmail 7356 invoked from network); 4 Oct 2003 19:02:25 -0000 Original-Received: from unknown (HELO [217.184.17.30]) (159967@[217.184.8.49]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 4 Oct 2003 19:02:25 -0000 X-Sender: 159967 Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13725 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13725 Hi, Just in case some one is interested in detailed footnote problems: In the last time I was fiddling a lot on the problem of setting up footnotes - the task was to have different defined font and interlinespace sizes for text as well as for footnotes. The first solution that I constructed with commands and keywords from the manual (and etexshow) seemed to give the desired result: \setupbodyfont[10pt] \setupinterlinespace[line=15pt] \definefont [FNfont][Serif at 8pt] \def\FNstyle{\FNfont\setupinterlinespace[line=15pt]} \setupfootnotes[numbercommand=] \setupfootnotedefinition[style=\FNstyle] \starttext \input tufte \footnote{\input knuth } \input tufte \footnote{\input knuth } \stoptext But it just worked OK for *normal* sizes. When set to extreme values it begun to show strange phenomena (see the distances over and under each first line of a footnote): \setupbodyfont[4pt] \setupinterlinespace[line=45pt] \definefont [FNfont][Serif at 4.5pt] \def\FNstyle{\FNfont\setupinterlinespace[line=12pt]} \setupfootnotes[numbercommand=] \setupfootnotedefinition[style=\FNstyle] \starttext \input tufte \footnote{\input knuth } \input tufte \footnote{\input knuth } \stoptext After re-combining the different option and command for setupfootnotes and setupfootnotedefinition without improvement, I started to search through the source files and found the very interesting command \setfootnotebodyfont. With this command a setup can be written that works, finally: \setupbodyfont[4pt] \setupinterlinespace[line=45pt] \definefont [FNfont][Serif at 4.5pt] \def\setfootnotebodyfont{\FNfont\setupinterlinespace[line=12pt]} \setupfootnotes[numbercommand=] \setupfootnotedefinition[style=\FNfont] \starttext \input tufte \footnote{\input knuth } \input tufte \footnote{\input knuth } \stoptext Maybe this helps someone. Steffen P.S. If there is still need for improvement, please correct.