From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69170 Path: news.gmane.org!not-for-mail From: "N. Lindenhayn" Newsgroups: gmane.comp.tex.context Subject: LuaTeX + microtype: Small Caps vs. Letter Spacing Date: Tue, 14 Jun 2011 21:52:02 +0200 Message-ID: <4DF7BBE2.7050504@lindenhayn.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308081188 21642 80.91.229.12 (14 Jun 2011 19:53:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2011 19:53:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 14 21:53:04 2011 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 1QWZfc-0004Nz-4l for gctc-ntg-context-518@m.gmane.org; Tue, 14 Jun 2011 21:53:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A554CADB7; Tue, 14 Jun 2011 21:53:03 +0200 (CEST) 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 sPIkYg-XQGBU; Tue, 14 Jun 2011 21:53:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52BE3CADAC; Tue, 14 Jun 2011 21:53:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D08E1CADAC for ; Tue, 14 Jun 2011 21:52:58 +0200 (CEST) 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 GBqR7qmQtSYx for ; Tue, 14 Jun 2011 21:52:47 +0200 (CEST) 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 AF642CAD93 for ; Tue, 14 Jun 2011 21:52:47 +0200 (CEST) Original-Received: from csmtp1.one.com (csmtp1.one.com [195.47.247.21]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5EJqkho028360 for ; Tue, 14 Jun 2011 21:52:47 +0200 Original-Received: from [192.168.2.105] (p4FD7923D.dip.t-dialin.net [79.215.146.61]) by csmtp1.one.com (Postfix) with ESMTP id 3C9B7180A3485 for ; Tue, 14 Jun 2011 19:52:46 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.47.247.21; country=DK; latitude=56.0000; longitude=10.0000; http://maps.google.com/maps?q=56.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rETTQLUL - 08a7180aac77 - 20110614 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:69170 Archived-At: Hi everyone, I'm happy to see that by now almost all of microtype's features are available in Lua, almost like in the old days. There's one thing that seems a bit strange, though: While I have no trouble applying letter spacing using \textls or \lsstyle to regular, italic, or bold text, I can't get it to work on small caps. What's even stranger: while this problem occurs with all fonts I've tried, it does /not/ occur when I don't specify a font at all. Consider the example below. The only way to get the correct output, with spaced small caps, is to deactivate the \setmainfont line -- which obviously isn't what you'd want :) Any hints are appreciated; chances are I just have to add a thing here or there. best Nils. \documentclass{scrartcl} \usepackage{fontspec,microtype} \setmainfont{Minion Pro}%or TeX Gyre Termes, or Latin Modern Roman... \begin{document} stealing sheep\par \textls{stealing sheep}\par \textsc{stealing sheep}\par \textls{\textit{stealing sheep}}\par \textls{\textbf{stealing sheep}}\par \textls{\textsc{stealing sheep}} \end{document} ___________________________________________________________________________________ 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 ___________________________________________________________________________________