From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74130 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: why no smallcaps? Date: Wed, 25 Jan 2012 23:12:58 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327529603 15196 80.91.229.12 (25 Jan 2012 22:13:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 22:13:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 25 23:13:18 2012 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 1RqB5g-00038s-Kv for gctc-ntg-context-518@m.gmane.org; Wed, 25 Jan 2012 23:13:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44F5ECB1F9; Wed, 25 Jan 2012 23:13:15 +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 NG2+jDzJtH+1; Wed, 25 Jan 2012 23:13:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C245CCB1F3; Wed, 25 Jan 2012 23:13:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA77CCB1F3 for ; Wed, 25 Jan 2012 23:13:11 +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 LWgXJGJRZ9fM for ; Wed, 25 Jan 2012 23:13:01 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 3AC6CCB1F2 for ; Wed, 25 Jan 2012 23:13:01 +0100 (CET) Original-Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.29]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q0PMDXS0020602 for ; Wed, 25 Jan 2012 23:13:33 +0100 Original-Received: from [89.247.26.139] (helo=[192.168.1.4]) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1RqB5P-0006S4-SN; Wed, 25 Jan 2012 23:12:59 +0100 X-Mailer: Apple Mail (2.1084) X-Df-Sender: Njk4NTgw X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: No geolocation information available for 80.67.31.29 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0IGpWdxji - 352d5e97a9c8 - 20120125 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:74130 Archived-At: Hi, whats wrong with this code? "Times New Roman.ttf" states to be an otf font. But the "\sc" gives no Times New Roman: \definefontfeature[default][default] [mode=node,script=latn,smcp=yes] \definefontfeature[smcp][mode=node,smcp=yes] \unexpanded\def\sc{\addfs{smcp}} \starttypescript [serif] [TimesNewRomanPSMT] [name] \setups[font:fallback:sans] \definefontsynonym [Serif] [file:Times New Roman.ttf] [features=default] \definefontsynonym [SerifBold] [file:Times New Roman Bold.ttf] [features=default] \definefontsynonym [SerifItalic] [file:Times New Roman Italic.ttf] [features=default] \definefontsynonym [SerifBoldItalic][file:Times New Roman Bold Italic.ttf][features=default] \stoptypescript \starttypescript[TheTimes] \definetypeface [TheTimes] [rm] [serif] [TimesNewRomanPSMT] [default] \stoptypescript \usetypescript[TheTimes] \setupbodyfont[TheTimes, 10pt]\setupinterlinespace[line=12pt] \starttext \sc{Name} \stoptext ------- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________