From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64016 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Re: Using Bold SmallCaps in LuaTeX - typescript Date: Mon, 29 Nov 2010 12:50:01 +0100 Message-ID: References: <201011290029.07188.metan0r@gmx.de> <016C1E56-B450-4E5D-A212-A6B5F39EFCD4@awi.de> <201011291240.09836.metan0r@gmx.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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291031423 3768 80.91.229.12 (29 Nov 2010 11:50:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2010 11:50:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 29 12:50:18 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 1PN2FN-0000Pq-HX for gctc-ntg-context-518@m.gmane.org; Mon, 29 Nov 2010 12:50:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6FADCCA88F; Mon, 29 Nov 2010 12:50:16 +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 9XKZ1bZkdMlx; Mon, 29 Nov 2010 12:50:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 314D2CA875; Mon, 29 Nov 2010 12:50:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBFBFCA875 for ; Mon, 29 Nov 2010 12:50: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 Q4YtkpfVIHWA for ; Mon, 29 Nov 2010 12:50:09 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 4FF7BCA862 for ; Mon, 29 Nov 2010 12:50:09 +0100 (CET) Original-Received: from mails3.awi.de (mails3.AWI.DE [134.1.2.14]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oATBo8xh004072 for ; Mon, 29 Nov 2010 12:50:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id 12B0EC7509 for ; Mon, 29 Nov 2010 12:50:08 +0100 (MET) 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 0YruaWnxafNu for ; Mon, 29 Nov 2010 12:50:02 +0100 (MET) Original-Received: from msg.awi.de (msg.AWI.DE [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id 156C6C74FD for ; Mon, 29 Nov 2010 12:50:02 +0100 (MET) Original-Received: from vpn-awinet-16-16.awi.de ([unknown] [172.28.16.16]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0LCN00KWZA7ET440@msg.awi.de> for ntg-context@ntg.nl; Mon, 29 Nov 2010 12:50:02 +0100 (MET) In-reply-to: <201011291240.09836.metan0r@gmx.de> X-Mailer: Apple Mail (2.1082) 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: 0rDAXO8rL - bb4c2a343c60 - 20101129 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:64016 Archived-At: On Nov 29, 2010, at 12:40 , Ch. B. wrote: > Am Montag, 29. November 2010, um 09:17:10 schrieb Florian Wobbe: >> On Nov 29, 2010, at 00:29 , ... wrote: >>> Good evening! >>> >>> First of all, I'm new to this list and also a context/luatex newbe. I >>> have some experience with LaTeX. >>> I want to use a font (Neutraface2) in my documents and I'm struggeling >>> with the typescript. I'm not able to get bold SmallCaps working (the >>> bold face .otf file has the feature smcp, I checked). >>> I tried various combinations and variations of \bf \sc in my document. It >>> gives me bold OR smallcaps, but not bold AND smallcaps. Whats wrong here? >>> Can someone give me an example typescript that I could modify to fit the >>> Neutraface2 font? My attempt to make one is attached. >>> >>> Greetings, >>> Chris >> >> Hi Chris, >> >> it does not work for pagella either. Did you try \setff{smallcaps} \bf >> instead? >> >> \usetypescript[pagella] >> \setupbodyfont[pagella] >> >> \starttext >> {\setff{smallcaps} This is in {\bf bold} SmallCaps} (works). >> {\sc This is in {\bf bold} SmallCaps} (does not). >> \stoptext >> >> Florian >> > > Hi Florian, > > that does work, thank you very much. > I assume the \setff means something like set font feature. If so, I could > shorten my typescript and only specify the 4 main font faces (regular, bold > italic, bold-italic) since the fonts all have all the opentype features i need > (onum & smcp etc.) And these can be accessed via \setff{feature}, I guess. Yes, you can define for instance \definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures \definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4 \definefontfeature[sups][default][sups=yes] % Superscript \definefontfeature[subs][default][subs=yes] % Subscript and access the font features with \setff{dlig}, \setff{subs} etc. 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 ___________________________________________________________________________________