From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64008 Path: news.gmane.org!not-for-mail From: "..." Newsgroups: gmane.comp.tex.context Subject: Using Bold SmallCaps in LuaTeX - typescript Date: Mon, 29 Nov 2010 00:29:06 +0100 Message-ID: <201011290029.07188.metan0r@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_DXu8MhV77m2fShU" X-Trace: dough.gmane.org 1290986972 4947 80.91.229.12 (28 Nov 2010 23:29:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2010 23:29:32 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 29 00:29:28 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 1PMqgR-0002gn-Qn for gctc-ntg-context-518@m.gmane.org; Mon, 29 Nov 2010 00:29:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88CACCA878; Mon, 29 Nov 2010 00:29:26 +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 HW8pX5GJKggI; Mon, 29 Nov 2010 00:29:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DCC3CA881; Mon, 29 Nov 2010 00:29:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 54D9ECA881 for ; Mon, 29 Nov 2010 00:29:21 +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 1AqpHwLucLZb for ; Mon, 29 Nov 2010 00:29:08 +0100 (CET) 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 C4F68CA878 for ; Mon, 29 Nov 2010 00:29:08 +0100 (CET) Original-Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id oASNT78q025419 for ; Mon, 29 Nov 2010 00:29:08 +0100 Original-Received: (qmail invoked by alias); 28 Nov 2010 23:29:07 -0000 Original-Received: from f053217189.adsl.alicedsl.de (EHLO christian-desktop.localnet) [78.53.217.189] by mail.gmx.net (mp072) with SMTP; 29 Nov 2010 00:29:07 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX1+yZ/RTvs6yHz7SNv5osY+JD9xuh9+0hA6xthguLW kY1EJHiIaJupGD User-Agent: KMail/1.13.5 (Linux/2.6.35-23-generic; KDE/4.5.1; i686; ; ) X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dDALt8PK - b139d2f21661 - 20101129 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:64008 Archived-At: --Boundary-00=_DXu8MhV77m2fShU Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --Boundary-00=_DXu8MhV77m2fShU Content-Type: text/x-tex; charset="utf-8"; name="type-neutraface2.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="type-neutraface2.tex" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % THIS IS THE NEUTRAFACE-2 TYPESCRIPT % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Define font instances %%%%%%%%%%%%%%%%%%%%%%% \definefontfeature [mysans] [protrusion=pure,expansion=quality,script=latn,liga=yes,onum=yes,pnum=yes,kern=yes,tlig=yes,trep=yes] \definefontfeature [mysmcp] [mode=node,script=latn,language=dflt,liga=yes,lnum=yes,tnum=yes,kern=yes,tlig=yes,trep=yes,smcp=yes] \definefontfeature [mysup] [mode=node,script=latn,onum=no,pnum=yes,sups=yes] % Set up "normal" and Small Caps %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \starttypescript [sans] [neutraface2] \definefontsynonym [Neutraface2Text-Book] [name:neutraface2textbook] [features=mysans] % Regular \definefontsynonym [Neutraface2Text-Bold] [name:neutraface2textbold] [features=mysans] % Bold \definefontsynonym [Neutraface2Text-BookItalic] [name:neutraface2textbookitalic] [features=mysans] % Italic \definefontsynonym [Neutraface2Text-Bold-Italic] [name:neutraface2textbolditalic] [features=mysans] % Bold-Italic \definefontsynonym [Neutraface2Text-SmallCaps] [name:neutraface2textbook] [features=mysmcp] % SmallCaps \definefontsynonym [Neutraface2Text-BoldSmallCaps] [name:neutraface2textbold] [features=mysmcp] % Bold-SmallCaps \stoptypescript \starttypescript [sans] [neutraface2] \definefontsynonym [Sans] [Neutraface2Text-Book] [features=mysans] % Regular \definefontsynonym [SansBold] [Neutraface2Text-Bold] [features=mysans] % Bold \definefontsynonym [SansItalic] [Neutraface2Text-BookItalic] [features=mysans] % Italic \definefontsynonym [SansBoldItalic] [Neutraface2Text-Bold-Italic] [features=mysans] % Bold-Italic \definefontsynonym [SansCaps] [Neutraface2Text-SmallCaps] [features=mysmcp] % SmallCaps \definefontsynonym [SansBoldCaps] [Neutraface2Text-BoldSmallCaps] [features=mysmcp] % Bold-SmallCaps \stoptypescript % Define Typefaces \starttypescript [neutraface2] \definetypeface [neutraface2] [ss] [sans] [neutraface2] [default] \stoptypescript --Boundary-00=_DXu8MhV77m2fShU Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Boundary-00=_DXu8MhV77m2fShU--