From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55700 Path: news.gmane.org!not-for-mail From: Marius Newsgroups: gmane.comp.tex.context Subject: Re: Questions regarding simplefonts Date: Wed, 20 Jan 2010 15:52:00 +0200 Message-ID: References: <51b0095d1001190956q3141f38ao127fbb54ed25cd4@mail.gmail.com> <4B5612D0.2010501@googlemail.com> <4B56FE17.6020208@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1251549597==" X-Trace: ger.gmane.org 1263995781 5794 80.91.229.12 (20 Jan 2010 13:56:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2010 13:56:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 20 14:56:13 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.50) id 1NXb2a-00039g-An for gctc-ntg-context-518@m.gmane.org; Wed, 20 Jan 2010 14:56:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30EA5C9D5B; Wed, 20 Jan 2010 14:56: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 hOt43P8ycKNo; Wed, 20 Jan 2010 14:56:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D082C9D5F; Wed, 20 Jan 2010 14:53:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7A30C9D66 for ; Wed, 20 Jan 2010 14:53:41 +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 DejsYBwxrljV for ; Wed, 20 Jan 2010 14:53:19 +0100 (CET) Original-Received: from mail-bw0-f212.google.com (mail-bw0-f212.google.com [209.85.218.212]) by balder.ntg.nl (Postfix) with ESMTP id E7DBFC9D5F for ; Wed, 20 Jan 2010 14:52:00 +0100 (CET) Original-Received: by bwz4 with SMTP id 4so5400014bwz.2 for ; Wed, 20 Jan 2010 05:52:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ksA89kwOP9XehEGqelhHxUyYJ/tMwwTrnr05kI8C5HU=; b=xS9/1UeoTvoFjnmvxnXZZLlMQZdb+XS59D9M+JsQPRKpKcMf+Qo4kHkbhqp61jESzS euCc0ti/I3d5DoCWJNVptdQbFinV5hIO6CHF0X+/FVVRj+MFaM9yfObY0JfRQH8Wlxkz U5fpqJl2WGnjQDOnXz7YrHARvLHkseQQy5IM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Kgtr64hjLNWBpPEBInPkC4i0zVYMnCmRR1gzqXiMfkRNN2e5NPy3dzMWhH4LgSZz4D Sbf5mV3a0RA3JRuKzHQLElCs0LhmgLvzFSYVIMdr9LT32mM7IoQRBq+nck803V6FAmgQ lLy3dEtgtxcEy1sEgig5zx+Y5wcEbMwwefvUw= Original-Received: by 10.102.17.4 with SMTP id 4mr17643muq.4.1263995520576; Wed, 20 Jan 2010 05:52:00 -0800 (PST) In-Reply-To: <4B56FE17.6020208@googlemail.com> 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:55700 Archived-At: --===============1251549597== Content-Type: multipart/alternative; boundary=00163646b9a2006f3a047d98e4d8 --00163646b9a2006f3a047d98e4d8 Content-Type: text/plain; charset=UTF-8 On Wed, Jan 20, 2010 at 2:59 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > Am 20.01.10 08:58, schrieb Marius: > > Hello all, > > I add my questions regarding simplefonts to this thread too. > How to enable em dash and en dash? It looks like I need to set tlig to > yes, but with heading pasted below, the --- is not interpreted as em > dash. > > > %%%%%%%%%%%%%%%% > \usemodule[simplefonts] > \setmainfont[Times New Roman][script=latin, texligatures=yes] > > \setmainfont[Times New Roman][mode=node] > > It's a problem with the font as you can see in this example: > > \definefontfeature[default][default][mode=node] % mode=base works > > \definefont[times][name:timesnewroman*default] > > > \starttext > > \times text---text > > \stoptext > I realy do not understand what these \definexxx commands mean, but then I set \setmainfont[Times New Roman][mode=base], I get em dash as expected, thank you. > \setsansfont[Arial Unicode MS] > \setmonofont[Courier New] > > \setupbodyfont[10pt] > > Can you use the module options to change the font size. > > \usemodule[simplefonts][size=10pt] > > or > > \setupsimplefonts[size=10pt] > Why? It works as expected with \setupbodyfont[10pt] too. --00163646b9a2006f3a047d98e4d8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, Jan 20, 2010 at 2:59 PM, Wolfgang Schust= er <schuster.wolfgang@googlemail.com> wrote:
=20
Am 20.01.10 08:58, schrieb Marius:
Hello all,

I add my questions regarding simplefonts to this thread too.
How to enable em dash and en dash? It looks like I need to set tlig to
yes, but with heading pasted below, the --- is not interpreted as em
dash.


%%%%%%%%%%%%%%%%
\usemodule[simplefonts]
\setmainfont[Times New Roman][script=3Dlatin, texligatures=3Dyes]
\setmainfont[Times New Roman][mode=3Dnode]

It's a problem with the font as you can see in this example:

\definefontfeature[default][def= ault][mode=3Dnode] % mode=3Dbase works

\definefont[times][name:timesne= wroman*default]


\starttext

\times text---text

\stoptext


I realy do not understand what these \definexxx c= ommands mean, but =C2=A0then I set \setmainfont[Times New Roman][mode=3Dbas= e], I get em dash as expected, thank you.
<= div class=3D"im">

\setsansfont[Arial Unicode MS]
\setmonofont[Courier New]

\setupbodyfont[10pt]
Can you use the module options to change the font size.

\usemodule[simplefonts][size=3D10pt]

or

\setupsimplefonts[size=3D10pt]

W= hy? It works as expected with \setupbodyfont[10pt] too.


--00163646b9a2006f3a047d98e4d8-- --===============1251549597== 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 ___________________________________________________________________________________ --===============1251549597==--