From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61950 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Superscript in \date Date: Fri, 24 Sep 2010 17:10:39 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285341057 14788 80.91.229.12 (24 Sep 2010 15:10:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2010 15:10:57 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 24 17:10:55 2010 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.69) (envelope-from ) id 1Oz9vL-0002C7-0e for gctc-ntg-context-518@m.gmane.org; Fri, 24 Sep 2010 17:10:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D225CA7CD; Fri, 24 Sep 2010 17:10:54 +0200 (CEST) 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 6kw4VzGvuk7E; Fri, 24 Sep 2010 17:10:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C22DCA7C6; Fri, 24 Sep 2010 17:10:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF93ACA7C6 for ; Fri, 24 Sep 2010 17:10:48 +0200 (CEST) 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 QVK8ohxxSxPP for ; Fri, 24 Sep 2010 17:10:46 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 49254CA7C4 for ; Fri, 24 Sep 2010 17:10:46 +0200 (CEST) Original-Received: from mails3.awi.de (mails3.AWI.DE [134.1.2.14]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8OFAjpv010727 for ; Fri, 24 Sep 2010 17:10:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id AB695B1A70 for ; Fri, 24 Sep 2010 17:10:44 +0200 (MEST) X-Virus-Scanned: amavisd-new at awi.de Original-Received: from localhost ([127.0.0.1]) by localhost (mails3.awi.de [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id mHlHevAGrZbi for ; Fri, 24 Sep 2010 17:10:39 +0200 (MEST) Original-Received: from msg.awi.de (msg.AWI.DE [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id 55935B1A56 for ; Fri, 24 Sep 2010 17:10:39 +0200 (MEST) Original-Received: from vpn-awinet-16-31.awi.de ([unknown] [172.28.16.31]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0L9900GSDBHR69C0@msg.awi.de> for ntg-context@ntg.nl; Fri, 24 Sep 2010 17:10:39 +0200 (MEST) X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.1.2.14; country=DE; region=03; city=Bremerhaven; latitude=53.5500; longitude=8.5833; http://maps.google.com/maps?q=53.5500,8.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dDaDaJCM - ba5add5a5fe2 - 20100924 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:61950 Archived-At: Dear all, I tried to change the output format of \date so that the day includes the letter suffixes as superscript. \definefontfeature[sups][sups=yes,script=latn] \usetypescript[antykwa-torunska] \setupbodyfont[antykwa,12pt] \starttext \date[][day,{\setff{sups}th},~,month,year] \stoptext I get the following error. \inaccessible { \unskip {\edef { sups}\attribute \zerocount 18\relax th}\hskip \da... \p!compareprocessaction ...commalistelement {#3}#2 \fi \fi \next2 #1,->\p!doprocessaction {#1} \doprocesscommaitem \processnextcommalist ...odoprocesscommaitem #4#5, ]\relax \global \advance \... ... l.14 \date[][day,{\setff{sups}th},~,month,year] BTW the output looks fine in spite of the error message. Using superscripts in this way does not cause errors: 57{\setff{sups}th} or \date[][day,$^{\mr th}$,~,month,year] What is going wrong here? Thanks! Florian ___________________________________________________________________________________ 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 ___________________________________________________________________________________