From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54891 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Superscript-fontfeature for footnotenumbers Date: Mon, 30 Nov 2009 18:33:32 +0100 Message-ID: <04475D7C-AE56-4994-BA0E-AE888F40D944@uni-koblenz.de> References: <4B13A4F6.3010107@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259602439 11326 80.91.229.12 (30 Nov 2009 17:33:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 17:33:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 30 18:33:52 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 1NFA86-0000v7-Kp for gctc-ntg-context-518@m.gmane.org; Mon, 30 Nov 2009 18:33:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2E757C9BF1; Mon, 30 Nov 2009 18:30:37 +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 aBT3wh3yLPVr; Mon, 30 Nov 2009 18:30:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C18ABC9BD4; Mon, 30 Nov 2009 18:30:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C1ABC9BD4 for ; Mon, 30 Nov 2009 18:30:32 +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 cBtF2kkNHtlS for ; Mon, 30 Nov 2009 18:30:29 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id 1857DC9BD1 for ; Mon, 30 Nov 2009 18:30:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 2802E7811242 for ; Mon, 30 Nov 2009 18:33:33 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27277-02 for ; Mon, 30 Nov 2009 18:33:32 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (77-23-29-238-dynip.superkabel.de [77.23.29.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id B1CD078019C4 for ; Mon, 30 Nov 2009 18:33:32 +0100 (CET) In-Reply-To: <4B13A4F6.3010107@elvenkind.com> X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: amavisd-new at uni-koblenz.de 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:54891 Archived-At: 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 Thanks in advance Andreas ___________________________________________________________________________________ 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 ___________________________________________________________________________________