From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64020 Path: news.gmane.org!not-for-mail From: "Ch. B." Newsgroups: gmane.comp.tex.context Subject: Re: Using Bold SmallCaps in LuaTeX - typescript Date: Mon, 29 Nov 2010 14:38:54 +0100 Message-ID: <201011291438.54500.metan0r@gmx.de> References: <201011290029.07188.metan0r@gmx.de> <201011291327.26307.metan0r@gmx.de> <20101129124127.GB3769@khaled-laptop> 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 1291037966 2448 80.91.229.12 (29 Nov 2010 13:39:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2010 13:39:26 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 29 14:39:21 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 1PN3wu-0005Fa-AX for gctc-ntg-context-518@m.gmane.org; Mon, 29 Nov 2010 14:39:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD3EDCA897; Mon, 29 Nov 2010 14:39:19 +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 fovxS8-58z+d; Mon, 29 Nov 2010 14:39:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8693ACA881; Mon, 29 Nov 2010 14:39:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A45ADCA881 for ; Mon, 29 Nov 2010 14:39:05 +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 SsnQFQ9z8BTw for ; Mon, 29 Nov 2010 14:38:54 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id A06D8CA875 for ; Mon, 29 Nov 2010 14:38:54 +0100 (CET) Original-Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id oATDcrIV012850 for ; Mon, 29 Nov 2010 14:38:54 +0100 Original-Received: (qmail invoked by alias); 29 Nov 2010 13:38:53 -0000 Original-Received: from f053208202.adsl.alicedsl.de (EHLO christian-desktop.localnet) [78.53.208.202] by mail.gmx.net (mp018) with SMTP; 29 Nov 2010 14:38:53 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX18EOvdrcHcE8mQG+YHwiENJsY8Ifr+zQhwUs1DCRo roHKhyGBkgO6/g User-Agent: KMail/1.13.5 (Linux/2.6.35-23-generic; KDE/4.5.1; i686; ; ) In-Reply-To: <20101129124127.GB3769@khaled-laptop> 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: 03DB1CRN5 - dd49ca53da0b - 20101129 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:64020 Archived-At: Am Montag, 29. November 2010, um 13:41:27 schrieb Khaled Hosny: > On Mon, Nov 29, 2010 at 01:27:25PM +0100, Ch. B. wrote: > > Am Montag, 29. November 2010, um 12:50:01 schrieb Florian Wobbe: > > > 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 > > > > Wonderfull! > > I'm starting to get the hang of it. Even the stylistic sets work like a > > charm. I've attached the output file in case you want to have a look at > > what I'm doing here. > > Now one last question would be: How can I insert a certain character with > > its opentype name? For example \insertopentypecharacter{f_f_h.alt}. That > > would be > > \fontchar{f_f_h.alt} I think Hello Khaled, \fontchar results in an undefined controll sequence =\ Regards, Chris ___________________________________________________________________________________ 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 ___________________________________________________________________________________