From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54892 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Superscript-fontfeature for footnotenumbers Date: Mon, 30 Nov 2009 18:47:17 +0100 Message-ID: <4B140525.7000707@wxs.nl> References: <4B13A4F6.3010107@elvenkind.com> <04475D7C-AE56-4994-BA0E-AE888F40D944@uni-koblenz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259603356 14513 80.91.229.12 (30 Nov 2009 17:49:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 17:49:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 30 18:49:09 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFALg-0000Ql-GJ for gctc-ntg-context-518@m.gmane.org; Mon, 30 Nov 2009 18:47:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6EC32C9BD4; Mon, 30 Nov 2009 18:44:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nji3vOA+vnmH; Mon, 30 Nov 2009 18:44:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98ECAC9BD0; Mon, 30 Nov 2009 18:44:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1AE2C9BD0 for ; Mon, 30 Nov 2009 18:44:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wLdfHtCiSgj4 for ; Mon, 30 Nov 2009 18:44:12 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 754A7C9BC5 for ; Mon, 30 Nov 2009 18:44:12 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2a3) with ESMTP id 8670-1713362 for ; Mon, 30 Nov 2009 18:46:00 +0100 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <04475D7C-AE56-4994-BA0E-AE888F40D944@uni-koblenz.de> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54892 Archived-At: Andreas Harder wrote: > Hi all, > > I'm trying to set the superscript-fontfeature for footnote-numbers, but there isn't a '(text)numberstyle'-command, so what's the way to achieve this? > > So far I've this: > > \starttypescript [serif] [linlibertine] > \definefontsynonym [Serif] [LinLibertine-Regular] [features=default] > \stoptypescript > > \starttypescript [serif] [linlibertine] > \definefontsynonym [LinLibertine-Regular] [name:linuxlibertineo] [features=default] > \stoptypescript > > \starttypescript [linlibertine] > \definetypeface [linlibertine] [rm] [serif] [linlibertine] [default] > \stoptypescript > > \definefontfeature[sups][sups=yes] > > \usetypescript[linlibertine] > \setupbodyfont[linlibertine] > > % \defineconversion[sups][\red\setff{sups}\arabicnumerals] > \definestructureconversionset[sups][][Romannumerals] > > \setupnote > [footnote] > [command=\myfootnotecommand, > % numberconversionset=sups, > % textnumberstyle=\setff{sups}, % would be nice > ] > > \def\myfootnotecommand#1{\hbox to .5em{\setff{sups}#1}} > > > \starttext > \dorecurse{12}{This\footnote{Hello World #1} is a test. } > \stoptext I need to look into the numberstyle comand as well as some duplicate command being applied but here is a test \setupnote [footnote] [command=Z, style=X, textstyle=Q, numbercommand=N\setff{sups}, textcommand=T\setff{sups}, numberstyle=S\setff{sups}, %style=\setff{sups}, % interesting effect ] for the moment stick to \setupnote [footnote] [command=, textstyle=, numbercommand=\setff{sups}, textcommand=\setff{sups}] ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________