From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64448 Path: news.gmane.org!not-for-mail From: Marco Newsgroups: gmane.comp.tex.context Subject: Re: bold small caps Date: Sun, 12 Dec 2010 16:22:44 +0100 Message-ID: <20101212162244.55a2f946@glyph> References: <20101211224016.GA19735@micropit.couberia.bzh> <20101211231209.GA20105@micropit.couberia.bzh> <7D80EFE8-87AB-4BA5-B295-45F5B8B0D7CF@gmail.com> 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 1292167396 23740 80.91.229.12 (12 Dec 2010 15:23:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Dec 2010 15:23:16 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 12 16:23:11 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 1PRnlX-0003le-NA for gctc-ntg-context-518@m.gmane.org; Sun, 12 Dec 2010 16:23:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52041CA8C9; Sun, 12 Dec 2010 16:23: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 sZzqzQ4jAfBE; Sun, 12 Dec 2010 16:23:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 519EDCA8C4; Sun, 12 Dec 2010 16:23:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17D80CA8C4 for ; Sun, 12 Dec 2010 16:23:04 +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 cv4C0HTB9ptC for ; Sun, 12 Dec 2010 16:23:01 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 22F31CA8C2 for ; Sun, 12 Dec 2010 16:23:01 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBCFMxN1002139 for ; Sun, 12 Dec 2010 16:23:00 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PRnlL-0003fN-8l for ntg-context@ntg.nl; Sun, 12 Dec 2010 16:22:59 +0100 Original-Received: from 83.68.239.197 ([83.68.239.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Dec 2010 16:22:59 +0100 Original-Received: from netuse by 83.68.239.197 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Dec 2010 16:22:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.68.239.197 X-Newsreader: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DGfn0HV - 06495bd3e53d - 20101212 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:64448 Archived-At: On 2010-12-12 Wolfgang Schuster wrote: > > Depending on your answers, I would perhaps request to trigger > > \setff{smallcaps} by \sc in the core. > > Can be a problem because we have font (e.g. Latin Modern) where > smallcaps are still in a separate file. So the user has to know in which fashion the small caps were created, as font feature or in a seperate file. That's not very convenient. When the user switches to another font it may break the document, since he has to change the \setff{smallcaps} to \sc. Maybe it is possible that the \sc macro can check if the font contains the small caps as a feature. Is there a switch like \doiffontfeatureexists{smcp}{...}? I have the following logic in mind: 1) Check if small caps are a font feature, if not 2) check if small caps are in a seperate font, if not 3) fake them. Regards Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________