From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83380 Path: news.gmane.org!not-for-mail From: "Joas Kinouani" Newsgroups: gmane.comp.tex.context Subject: From XeLaTeX's Unicode-math to ConTeXt's typescript Date: Fri, 12 Jul 2013 08:48:47 +0200 Message-ID: <000001ce7ecb$dd727610$98576230$@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1573502806==" X-Trace: ger.gmane.org 1373697640 6207 80.91.229.3 (13 Jul 2013 06:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jul 2013 06:40:40 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 13 08:40:43 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UxtVW-0003Ks-Uf for gctc-ntg-context-518@m.gmane.org; Sat, 13 Jul 2013 08:40:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2ABA4101E0; Sat, 13 Jul 2013 08:40:38 +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 JbhRvw821BSm; Sat, 13 Jul 2013 08:40:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E4B31101E5; Sat, 13 Jul 2013 08:40:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29A96101E4 for ; Fri, 12 Jul 2013 08:49: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 r4Lzq5tmtHfE for ; Fri, 12 Jul 2013 08:49:02 +0200 (CEST) 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 EEA58101E0 for ; Fri, 12 Jul 2013 08:48:51 +0200 (CEST) Original-Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6C6mpWR013191 for ; Fri, 12 Jul 2013 08:48:51 +0200 Original-Received: by mail-we0-f171.google.com with SMTP id m46so7702553wev.2 for ; Thu, 11 Jul 2013 23:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; bh=oKpXNQRs/kSeMa0HT3ShxKFaKdoieM1QGlhWeOh1pjc=; b=nVQ7vvVZvcrnj0SuTira63K8H8Yr0jINsTVoaQz50XXJqoL5Oc5iHPso32PCSz40SN evqWcKm6+ilIRU/lvZ7dH9w91LAe8Z1jy+w/RWXaOcsegfMJsq0OKnJTHix0cs2OwIFI JnB2Kk1xkD3qPrEQc5EkSvnifSpc8MIYu3LENB+CCXCrT15m9SLZkfoT/Zd1EU4U23Mn MkR8dCGFJmGdZjNYyzNfluCLK5Z/MPW3crd+txvAtOJfyFwkFYrnfhr2A1hqdQj6n9Gu 9pe+75jhabKCjv2tSCaWwkJHgWtQLue70T0w+MU91fx7qXqJ7tl+Nphc5TuJ5NyI3Dsu QZsg== X-Received: by 10.180.107.167 with SMTP id hd7mr763630wib.33.1373611730999; Thu, 11 Jul 2013 23:48:50 -0700 (PDT) Original-Received: from Durable (AToulouse-654-1-358-44.w90-60.abo.wanadoo.fr. [90.60.117.44]) by mx.google.com with ESMTPSA id r8sm1290494wiz.5.2013.07.11.23.48.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Jul 2013 23:48:50 -0700 (PDT) X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac5+ytH+ETK1uxusSDWzhmcF/UvAZg== Content-Language: en-gb X-Bayes-Prob: 0.9796 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JXiMPoN - 9b3a66c0b8b2 - 20130712 X-Scanned-By: CanIt (www . roaringpenguin . com) X-Mailman-Approved-At: Sat, 13 Jul 2013 08:40:34 +0200 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:83380 Archived-At: This is a multipart message in MIME format. --===============1573502806== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CE7EDC.A1000100" Content-Language: en-gb This is a multipart message in MIME format. ------=_NextPart_000_0001_01CE7EDC.A1000100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello everyone, I search a way to translate the following XeLaTeX's declarations (based on the unicode-math package): \setmainfont{Linux Libertine G} \setsansfont[Scale=MatchLowercase]{Liberation Sans} \setmonofont[Scale=MatchLowercase, ItalicFont=lmmono10-italic.otf, BoldFont=lmmonolt10-bold.otf, BoldItalicFont=lmmonolt10-boldoblique.otf, SmallCapsFont=lmmonocaps10-regular]{lmmono10-regular.otf} \setmathfont[Scale=MatchLowercase]{TeX Gyre Termes Math} \setmathfont[Scale=MatchLowercase, range=\mathup]{linlibertine_r_g.ttf} \setmathfont[Scale=MatchLowercase, range=\mathbfup]{linlibertine_rz_g.ttf} \setmathfont[Scale=MatchLowercase, range=\mathsfup]{liberationsans-regular.ttf} \setmathfont[Scale=MatchLowercase, range=\mathsfit]{liberationsans-italic.ttf} \setmathfont[Scale=MatchLowercase, range=\mathbfsfup]{liberationsans-bold.ttf} \setmathfont[Scale=MatchLowercase, range=\mathbfsfit]{liberationsans-bolditalic.ttf} \setmathfont[Scale=MatchLowercase, range=\mathtt]{lmmono10-italic.otf} \setmathfont[Scale=MatchLowercase, range=\mathscr]{asana-math.otf} into a ConTeXt's typescript. I succeed to set the serif, sansserif and mono fonts; but I need help for the math settings. \startenvironment liberty \starttypescript [liberty] \definefontsynonym [Serif] [file:LinLibertine_R_G] \definefontsynonym [SerifCaps] [Serif] [features=smallcaps] \definefontsynonym [SerifItalic] [file:LinLibertine_RI_G] \definefontsynonym [SerifSlanted] [SerifItalic] \definefontsynonym [SerifBold] [file:LinLibertine_RZ_G] \definefontsynonym [SerifBoldItalic] [file:LinLibertine_RZI_G] \definefontsynonym [SerifBoldSlanted] [SerifBoldItalic] \definefontsynonym [Sans] [file:LiberationSans-Regular] \definefontsynonym [SansCaps] [Sans] [features=smallcaps] \definefontsynonym [SansItalic] [file:LiberationSans-Italic] \definefontsynonym [SansSlanted] [SansItalic] \definefontsynonym [SansBold] [file:LiberationSans-Bold] \definefontsynonym [SansBoldItalic] [file:LiberationSans-BoldItalic] \definefontsynonym [SansBoldSlanted] [SansBoldItalic] \definetypeface [liberty] [rm] [serif] [liberty] [default] \definetypeface [liberty] [ss] [sans] [liberty] [default] [rscale=0.816] \definetypeface [liberty] [tt] [mono] [modern] [default] \stoptypescript \setupbodyfont[liberty, serif, 10pt] \stopenvironment Thanks in advance. Joas Kinouani PS: Does someone know what is the equivalent of Scale=MatchLowercase? ------=_NextPart_000_0001_01CE7EDC.A1000100 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello = everyone,

 

I search a = way to translate the following XeLaTeX's declarations (based on = the unicode-math = package):

 

\setmainfont{Linux Libertine = G}

\setsansfont[Scale=3DMatchLowercase]{Libera= tion Sans}

\setmonofont[Scale=3DMatchLowercase,

  = ItalicFont=3Dlmmono10-italic.otf,

  = BoldFont=3Dlmmonolt10-bold.otf,

  = BoldItalicFont=3Dlmmonolt10-boldoblique.otf,

  = SmallCapsFont=3Dlmmonocaps10-regular]{lmmono10-regular.otf}

\setmathfont[Scale=3DMatchLowercase]{TeX = Gyre Termes Math}

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathup]{linlibertine_r_g.ttf}

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathbfup]{linlibertine_rz_g.ttf}

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathsfup]{liberationsans-regular.ttf}

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathsfit]{liberationsans-italic.ttf}

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathbfsfup]{liberationsans-bold.ttf}

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathbfsfit]{liberationsans-bolditalic.ttf}

=

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathtt]{lmmono10-italic.otf}

\setmathfont[Scale=3DMatchLowercase, = range=3D\mathscr]{asana-math.otf}

 

into a ConTeXt's typescript. I succeed to set the serif, = sansserif and mono fonts; but I need help for the math = settings.

 

\startenvironment liberty
  \starttypescript [liberty]
    \definefontsynonym [Serif] =
[file:LinLibertine_R_G]
    \definefontsynonym [SerifCaps] =
[Serif] [features=3Dsmallcaps]
    \definefontsynonym [SerifItalic] =
[file:LinLibertine_RI_G]
    \definefontsynonym [SerifSlanted] =
[SerifItalic]
    \definefontsynonym [SerifBold] =
[file:LinLibertine_RZ_G]
    \definefontsynonym [SerifBoldItalic] =
[file:LinLibertine_RZI_G]
    \definefontsynonym [SerifBoldSlanted] =
[SerifBoldItalic]
 
    \definefontsynonym [Sans] =
[file:LiberationSans-Regular]
    \definefontsynonym [SansCaps] =
[Sans] =
[features=3Dsmallcaps]
    \definefontsynonym [SansItalic] =
[file:LiberationSans-Italic]
    \definefontsynonym [SansSlanted] =
[SansItalic]
    \definefontsynonym [SansBold] =
[file:LiberationSans-Bold]
    \definefontsynonym [SansBoldItalic] =
[file:LiberationSans-BoldItalic]
    \definefontsynonym [SansBoldSlanted] =
[SansBoldItalic]
 
    \definetypeface [liberty] =
[rm] =
[serif] [liberty] =
[default]
    \definetypeface [liberty] =
[ss] =
[sans] =
[liberty] [default] =
[rscale=3D0.816]
    \definetypeface [liberty] =
[tt] =
[mono] =
[modern] [default]
  \stoptypescript
  \setupbodyfont[liberty, serif, 10pt]
\stopenvironment

Thanks in advance.

Joas Kinouani

PS: = Does someone know what is the equivalent of = Scale=3DMatchLowercase?

 

------=_NextPart_000_0001_01CE7EDC.A1000100-- --===============1573502806== 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 ___________________________________________________________________________________ --===============1573502806==--