From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105298 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Unexpected symbol with Enumeration Date: Wed, 16 Oct 2019 23:38:37 +0200 Message-ID: References: <64B32710-FBC7-4A14-806E-B7779DD17297@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3642616102434667884==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="122546"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 16 23:39:59 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iKr1S-000Vj8-TD for gctc-ntg-context-518@m.gmane.org; Wed, 16 Oct 2019 23:39:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BF9C0161D89; Wed, 16 Oct 2019 23:39:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uus-8TdlpCqS; Wed, 16 Oct 2019 23:39:42 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D0AFF161D8A; Wed, 16 Oct 2019 23:39:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6513B161A55 for ; Wed, 16 Oct 2019 23:39:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DP6e4CNRjJda for ; Wed, 16 Oct 2019 23:39:41 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.41; helo=mail-wr1-f41.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6E5FD160BD3 for ; Wed, 16 Oct 2019 23:39:41 +0200 (CEST) Original-Received: by mail-wr1-f41.google.com with SMTP id b9so29716726wrs.0 for ; Wed, 16 Oct 2019 14:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=WlmzCu++Xe2fkGsOacyCcsD1LzOqVCzqJaKsK5kjzbg=; b=eW4/EJVDh7hP4lcXoKZ3XlPX4hZOhSIGHx4VYyqXY3esqpd8CXd5NpYh1OTg8osWRR XmJc5kNn4mQJtvlevSpMijjN/QZKenbIiirH8Q2DxYQq+KuxDnqFIi1EMdqq4zfYdMYG EBtuRT+ClmnxYaGxvFjmrUXBwDTIQOdNAAIMUbGFJ+CQTlvK42MVcEF1wyFTkcWmdH8n M9R/uJE3sGxA+FnB/6dVV77EIem8tD3YHINvk6sBWbMwfcjg8LCk8HmYqgujld2djXxT 3nsKdRQYir8nV9X+n8EhLLZa4x3/qsgn9+VEdXcTz16oXapIMoleobh5bRYPj02WPvdh +NXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=WlmzCu++Xe2fkGsOacyCcsD1LzOqVCzqJaKsK5kjzbg=; b=YfqAmGgQOEWzxmCDyaojP2jrQjjGwmib6m6xcXqRjecWgpOP2+4gs7LInS7/+ugoGT 4fldkliBA3b/eKXRHkLWiLH5zt5u0Zp3DMXuO1PNwgoYp/HTAOsNdDDz1wyOQxcDCGQp n1/z9hQCF+5BKwAvHBjSbJ4HXvoVvZoPQDHWRVzyVJfwlZ6jN8YWYdx/fvJF8FEM3Xc7 sTIU0MPZeoY0XF4bk1GrojpfZxNFWXlyoKTqr8R7yyKTAic04FT2VNMQK5x399/Rjj50 lX4Lk6YN3/lTdwVZE3eIUV7g38JtnvioMGwJP79Qxu8FoMc+52RuxHGpFAtIK2nJER6K hMZg== X-Gm-Message-State: APjAAAXmkva5el6Il+0Xr/hmaSqtwsEbzHkxoPkpb6SH30IkK6BEiuBi bfpXHdYsLSs+kKV3Wc+ZSJmcFHOD6de9X1bT3IN8D7GT7go= X-Google-Smtp-Source: APXvYqxQTGijJjkGRkTLpSBYYKLNSWAutHoM4RKIOaQcFFmGLp1HdNm/uFjd71rjmI94MXG+OAX+PivvZ935C7+jk40= X-Received: by 2002:adf:e544:: with SMTP id z4mr40578wrm.6.1571261980604; Wed, 16 Oct 2019 14:39:40 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.org gmane.comp.tex.context:105298 Archived-At: --===============3642616102434667884== Content-Type: multipart/alternative; boundary="00000000000033ff3005950df011" --00000000000033ff3005950df011 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Kavian, It seems to me that these fonts are not free. Thank you for your help. Fabrice Le mer. 16 oct. 2019 =C3=A0 05:28, Otared Kavian a =C3= =A9crit : > Hi Fabrice, > > I use Lucida OT fonts for all my documents, but since I prefer the script > fonts from another font I have the following setups for my font: > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %% Some Font Definitions > \definefallbackfamily[myfont][math][Asana Math] > [range=3D{uppercasescript,lowercasescript}] > > % lucida font > \definefontfamily[myfont][serif][Lucida Bright OT] > \definefontfamily[myfont][math][LucidaBrightMathOT] > \definefontfamily[myfont][sans][LucidaSansOT] > \definefontfamily[myfont][mono][LucidaSansTypewriterOT] > > \setupbodyfont[myfont,9pt] > > %% End of Font Definitions > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > Then when I use for instance the command $\cal{C}$ the script font from > Asana Math is used, instead of from Lucida OT. > > Best regards: OK > > On 15 Oct 2019, at 21:57, Fabrice Couvreur > wrote: > > Hello, > Thanks to you two. > "Another solution is to define your own mixture of math fonts and text > fonts." > I thought you should not mix several fonts in one text. I know you're a > teacher, what are you doing to write your documents ? > Fabrice > > Le mar. 15 oct. 2019 =C3=A0 19:11, Otared Kavian a =C3= =A9crit : > >> Hi Fabrice, >> >> Wolfgang gave the right answer, but I wanted to point out that it is >> better not to use \setupbodyfont in the middle of your document, as you = did >> in the excerpt below: in this case it is better to use >> >> \switchtobodyfont[xits] >> >> or even better define the character you want before using it as in >> >> \define\CScript{\start\switchtobodyfont[xits] \m{\mathscript{C}} \stop} >> >> and then use that command as in: >> >> La droite \m{(AM)} est {\bf une s=C3=A9cante} =C3=A0 la courbe \CScript = en \m{A}. >> >> Another solution is to define your own mixture of math fonts and text >> fonts. >> >> Best regards: OK >> >> >> On 15 Oct 2019, at 18:39, Fabrice Couvreur >> wrote: >> >> La droite \m{(AM)} est {\bf une s=C3=A9cante} =C3=A0 la courbe >> {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}. >> >> >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> >> ________________________________________________________________________= ___________ >> > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > > > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --00000000000033ff3005950df011 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Kavian,
It seems to me that these fonts are not free.
Thank you for your help.
Fabrice
<= /span>

Le=C2=A0mer. 16 oct. 2019 =C3=A0=C2=A005:28, Otared Kavian <= otared@gmail.com> a =C3=A9crit= =C2=A0:
Hi Fabrice,

I use Luci= da OT fonts for all my documents, but since I prefer the script fonts from = another font I have the following setups for my font:

<= div>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Some Font Definitions
\= definefallbackfamily[myfont][math][Asana Math]
[range=3D{uppercasescript,lo= wercasescript}]

% lucida font
\definefo= ntfamily[myfont][serif][Lucida Bright OT]
\de= finefontfamily[myfont][math][LucidaBrightMathOT]
\definefontfamily[myfont][sans][LucidaSansOT]
\definefontfamily[myfont][mono][LucidaSansTypewriterOT]

\setupbo= dyfont[myfont,9pt]

=
%% End of Font Definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Then whe= n I use for instance the command $\cal{C}$ the script font from Asana Math = is used, instead of from Lucida OT.

Best regards: = OK

On 15 Oct 2019, at 21:57, F= abrice Couvreur <fabrice1.couvreur@gmail.com> wrote:

Hello,
Thanks to you two.
"Another solution is to= define your own mixture of math fonts and text fonts."<= /span>
I thought you should not mix seve= ral fonts in one text. I know you're a teacher,= what are you doing to write your documents ?
Fabrice

Le=C2=A0mar. 15 oct. 201= 9 =C3=A0=C2=A019:11, Otared Kavian <otared@gmail.com> a =C3=A9crit=C2=A0:
Hi Fa= brice,

Wolfgang gave the right answer, but I wanted to p= oint out that it is better not to use \setupbodyfont in the middle of your = document, as you did in the excerpt below: in this case it is better to use= =C2=A0

\switchtobodyfont[xits]

or even better define the ch= aracter you want before using it as in

\define\CScript{\start\switchtobodyfont[xits] \m{\mathscript= {C}} \stop}

and then use that comman= d as in:

La d= roite \m{(AM)} est {\bf une s=C3=A9cante} =C3=A0 la courbe \CScript en \m{A= }.
Another solution is to defin= e your own mixture of math fonts and text fonts.

Best regards: OK


On 15 Oct 2019, at 18:39, Fabrice Couvreur <fabrice1.couvreur@gmail= .com> wrote:

=C2=A0La droite \m{(AM)} est {\bf une s=C3=A9c= ante} =C3=A0 la courbe {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.<= /span>

________________= ___________________________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net
archive=C2=A0 :
https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
___________________________________________________________________________= ________
If your question is of interest to others as well, please add a= n entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/li= stinfo/ntg-context
webpage =C2=A0: http://www.pragma-ade.nl / http://context.aanhet.net
archive = =C2=A0: https://bitbucket.org/phg/context-mirror/commits/
wiki = =C2=A0=C2=A0=C2=A0=C2=A0: http://contextgarden.net
_____________________________________= ______________________________________________
=
___________________________________________________________= ________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--00000000000033ff3005950df011-- --===============3642616102434667884== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3642616102434667884==--