From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87472 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt mkiv and rsfs fonts Date: Thu, 22 May 2014 10:36:07 +0200 Message-ID: <902052F7-A502-43A5-A2E6-CF3162C8BE9F@gmail.com> References: <40F91947-8B46-4CB1-B7C0-59AB64DF2E3C@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400747797 24054 80.91.229.3 (22 May 2014 08:36:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2014 08:36:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 22 10:36:32 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WnOUI-0000UL-TZ for gctc-ntg-context-518@m.gmane.org; Thu, 22 May 2014 10:36:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2EC1710202 for ; Thu, 22 May 2014 10:36:30 +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 q9sS30SG2NEW for ; Thu, 22 May 2014 10:36:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1C34010222 for ; Thu, 22 May 2014 10:36:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B123B101E3 for ; Thu, 22 May 2014 10:36:22 +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 ybpOEC3E110Y for ; Thu, 22 May 2014 10:36:21 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 2458D101E2 for ; Thu, 22 May 2014 10:36:11 +0200 (CEST) Original-Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4M8aAHI020609 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 22 May 2014 10:36:10 +0200 Original-Received: by mail-wg0-f47.google.com with SMTP id x12so3084128wgg.30 for ; Thu, 22 May 2014 01:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ShmZs2qVhTllc6IJm8tHcQSUszJB9gpCTmy+YEoak60=; b=ZuwmLVhGCj4TQUXiaTTfRrKxYifQ/macWBa9HLUXeB4VqL1dHDCkS00GxMgRR7CnsG VszI5MSA4/yLL7GOnw9rM3NykH+xPwuxjafII9ndQzP7C8uESOI8IQ2MHqsmIMnA0zlx B83wmpLOX86XX6B9RKLB2dOxBauvliQJ/iTpIa/IU5fujWc6F8BwEWC4mdvIfjmSwN4i rlOAVWSAXA3sZowj8vSD+uv67dWj2BhJUXZDcmZEOweBQrJV4q/U9FoP/yt17PSc7aOV 5QHm6Z1of7UIr+IW6zienpehx++vp1YVlbBmW2imtdC4gTw7knxjRjg/3adIXif3h2G6 lpEA== X-Received: by 10.194.187.107 with SMTP id fr11mr879863wjc.70.1400747770515; Thu, 22 May 2014 01:36:10 -0700 (PDT) Original-Received: from [192.168.0.20] (seg75-6-82-236-32-4.fbx.proxad.net. [82.236.32.4]) by mx.google.com with ESMTPSA id dk4sm6729020wib.14.2014.05.22.01.36.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 01:36:09 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1878.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03M4UAaou - 43eacba5e19e - 20140522 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87472 Archived-At: Hi Aditya, Thanks for the hints: actually what I wanted to do was to use a calligraphi= c font which is a little bit more =AB script-y =BB as you put it (in partic= ular for the letters A, B, D, S, U). Indeed using Khaled Hosny=92s setup of= xits one may get what I wanted to do. The solution suggested by Mikael is perfect when using Latin Modern in mkiv= , since it shows that in mkiv it is possible, and very easy, to use any ope= ntype font for the slots corresponding to uppercasescript and lowercasescri= pt. When using palatino, I have to uderstand yet how to use palatino also in ma= th mode=85 I don=92t know what has to be changed in the following setup: \definefontfamily [mainface] [math] [Latin Modern Math] since replacing =AB Latin Modern Math =BB with =AB Palatino =BB does not wo= rk. Here is the example in which I would like to have palatino in math mode= (for instance in \sin, or the variable x): %%%% begin example \definefallbackfamily[mainface][math][Asana Math][range=3D{uppercasescript,= lowercasescript}] \definefontfamily [mainface] [rm] [Palatino] \definefontfamily [mainface] [math] [Latin Modern Math] \setupbodyfont[mainface] \starttext This is \type{\cal}: = ${\cal ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ This is \type{\cal}: = ${\cal abcdefghijklmnopqrstuvwxyz}$ The space of distributions on $\Omega$ is denoted by ${\cal D}'(\Omega)$, w= hile ${\cal S}({\Bbb R}^n)$ is the space of Schwartz functions, and ${\cal = S}'({\Bbb R}^n)$ is its dual. Let $\phi(x) :=3D \sin(|x|^2){\rm e}^{-|x|^2}$ and $T \in {\cal S}'({\Bbb R= }^n)$ given above. \stoptext %%%% end example When one says \setupbodyfont[palatino] instead of = \setupbodyfont[mainface] then the font used in math mode is also palatino, but then the uppercasescr= ipt is not what I would like to have=85 Best regards: OK On 21 May 2014, at 23:33, Aditya Mahajan wrote: > On Wed, 21 May 2014, Aditya Mahajan wrote: > = >> On Wed, 21 May 2014, Otared Kavian wrote: >> = >>> Hi all, >>> It seems that the rsfs fonts (Ralph Smith=92s Formal Script fonts) do n= ot work: the procedure explained at the page >>> = >>> http://wiki.contextgarden.net/rsfs >>> works fine with mkii, but not in mkiv. >> = >> I do not have the time to look into this in detail. But hopefully the hi= nt below will help you get started. >> = >> If I understand you correctly, you are looking for a caligraphic font th= at is more "script-y" than the default \cal. >> = >> From what I understand, such glyphs are present as stylistic alternative= s in unicode math fonts. See for example this thread >> = >> http://www.ntg.nl/pipermail/ntg-context/2010/050885.html >> = >> (I remember that there was another thread along these lines, but I canno= t find it right now). > = > Found it: http://www.ntg.nl/pipermail/ntg-context/2011/061665.html > = > Aditya___________________________________________________________________= ________________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________