From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37423 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: little coding assistance (please) Date: Sun, 18 Nov 2007 03:36:33 +0100 Message-ID: References: <57C1B077-4364-4D28-A1F0-9B5FF8596EDE@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1553526618==" X-Trace: ger.gmane.org 1195353462 6779 80.91.229.12 (18 Nov 2007 02:37:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2007 02:37:42 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 18 03:37:47 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 1Ita2c-0007dj-B2 for gctc-ntg-context-518@m.gmane.org; Sun, 18 Nov 2007 03:37:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 45E2D1FCA3; Sun, 18 Nov 2007 03:37:19 +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 08104-04; Sun, 18 Nov 2007 03:37:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1AFE51FC83; Sun, 18 Nov 2007 03:37:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E43841FC83 for ; Sun, 18 Nov 2007 03:36:48 +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 10004-02 for ; Sun, 18 Nov 2007 03:36:36 +0100 (CET) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by ronja.ntg.nl (Postfix) with ESMTP id DB2CB1FBA8 for ; Sun, 18 Nov 2007 03:36:35 +0100 (CET) Original-Received: by py-out-1112.google.com with SMTP id u77so5048151pyb for ; Sat, 17 Nov 2007 18:36:34 -0800 (PST) Original-Received: by 10.65.73.16 with SMTP id a16mr7965469qbl.1195353393147; Sat, 17 Nov 2007 18:36:33 -0800 (PST) Original-Received: by 10.65.98.17 with HTTP; Sat, 17 Nov 2007 18:36:33 -0800 (PST) In-Reply-To: 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:37423 Archived-At: --===============1553526618== Content-Type: multipart/alternative; boundary="----=_Part_12799_24081836.1195353393136" ------=_Part_12799_24081836.1195353393136 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > > Do you know how this should be coded? > > > Steffen > > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > maybe \long\def\Footnote[#1]#2{% \def\setnotebodyfont{% \let\setnotebodyfont\relax \restoreglobalbodyfont% \MyFaktor=#1% \switchtobodyfont[rm,9pt]% \setupinterlinespace[line=\dimexpr(9.8\MyFaktor)\relax]% \parskip\dimexpr(2\MyFaktor)\relax% }% \footnote{#2}% } \starttext \blank--0-------\blank \dorecurse{05} {\fakewords{30}{40}\Footnote[0.987pt]{\fakewords{5}{15}} } \blank--1-------\blank \dorecurse{10} {\fakewords{30}{40}\Footnote[1pt]{\fakewords{5}{15}} } \blank--2------\blank \dorecurse{10} {\fakewords{30}{40}\Footnote[1.2pt]{\fakewords{5}{15}} } \blank--3------\blank \dorecurse{10} {\fakewords{30}{40}\Footnote[2pt]{\fakewords{5}{15}} } \stoptext -- luigi ------=_Part_12799_24081836.1195353393136 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

Do you know how this should be coded?
 

Steffen


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

maybe

\long\def\Footnote[#1]#2{%
\def\setnotebodyfont{%
\let\setnotebodyfont\relax
\restoreglobalbodyfont%
\MyFaktor=#1%
\switchtobodyfont[rm,9pt]%
\setupinterlinespace[line=\dimexpr(9.8\MyFaktor)\relax]%
\parskip\dimexpr(2\MyFaktor)\relax%
}%
\footnote{#2}%
}


\starttext
\blank--0-------\blank
\dorecurse{05}
  {\fakewords{30}{40}\Footnote[0.987pt]{\fakewords{5}{15}} }
\blank--1-------\blank
\dorecurse{10}
  {\fakewords{30}{40}\Footnote[1pt]{\fakewords{5}{15}} }
\blank--2------\blank
\dorecurse{10}
  {\fakewords{30}{40}\Footnote[1.2pt]{\fakewords{5}{15}} }
\blank--3------\blank
\dorecurse{10}
  {\fakewords{30}{40}\Footnote[2pt]{\fakewords{5}{15}} }

\stoptext


--
luigi ------=_Part_12799_24081836.1195353393136-- --===============1553526618== 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 ___________________________________________________________________________________ --===============1553526618==--