From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105288 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Unexpected symbol with Enumeration Date: Tue, 15 Oct 2019 19:11:23 +0200 Message-ID: <64B32710-FBC7-4A14-806E-B7779DD17297@gmail.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/mixed; boundary="===============1215493486158734932==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="163183"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 15 19:11:49 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 1iKQMO-000gLt-GQ for gctc-ntg-context-518@m.gmane.org; Tue, 15 Oct 2019 19:11:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C544A1617DF; Tue, 15 Oct 2019 19:11:29 +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 HcE52FyqfoCH; Tue, 15 Oct 2019 19:11:28 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3CFEE161CC9; Tue, 15 Oct 2019 19:11:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6CC6C1617DF for ; Tue, 15 Oct 2019 19:11:27 +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 MR_vBGqy7i72 for ; Tue, 15 Oct 2019 19:11:26 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.42; helo=mail-wm1-f42.google.com; envelope-from=otared@gmail.com; receiver= Original-Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 D6701160B71 for ; Tue, 15 Oct 2019 19:11:26 +0200 (CEST) Original-Received: by mail-wm1-f42.google.com with SMTP id 7so21739286wme.1 for ; Tue, 15 Oct 2019 10:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=dbdwWTiLTzrHSY1kYpitDsFnN/ampktB5Z/VvqaI2JM=; b=OfpTonLN9cXjdcfv8wAfB0aBjafbBjT2IdGqoXRaI3Vk8+9VVyOrwD9sJmHrbhA+8k Juif9Nad3NjoG+BuWKptdVC9JuW1iO7qF5EBCB0i5Q+4yRw04WGlRUBN5n+EQpM2KmsT 5/uRdC4REgYg2RZ/XAnhpj1hhw1MrpmLRWhRp9YE4Lygb3cvha6uEfyFQa5XI+5lCrkU 1xvcJlq3qhDVzOwpGwXA7hZRXTijbnK8J03KKdl2XCbD/7FRSTIeOCeGvfrYIAaWbE2x SazAXszRPygQc2JhGjuCpHSuE0DaotZzp0GBui0NpQSNm3esfZCgy8uFDFyYEywSJSTP 6Zvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=dbdwWTiLTzrHSY1kYpitDsFnN/ampktB5Z/VvqaI2JM=; b=pNKeiL4NQ/2dQotV5kqi2Cz6OQC2CfkAMkU0hEy8k4T7/EF8zktfr2BFZG2/QixYS6 NOMAc+Zif1WPseaIBwFCIhJrpZ5gE2sTHA8DYaiYyJovQdGWSUA6Mot6MRfItcXBb478 NtIEKmmeNoqRE5HamxD19jIiJXTog52v0+djBYeeHRevTGiNjCQC6tAM2Im+fRO+QRqf VaXlpJGFpC5bVakLvoX9efXawvXY9W9PkyAIAtTd3ITWHRQwVN21L2eh/iuAMmKJ1v7Y hjUs7tleimGN3dBVWbKrDkUJftulQjfkXqmcxiW3tAHbqh4eEqYzt301leZ20uZjBANU RcSw== X-Gm-Message-State: APjAAAX3jwGghDSSl04zhp4Ct9CqrJPD3l7mHTtvJ7NOL8QqGCt8uMDh BAgPtMloWLShxFKQKBgx+0ZZaOkJ X-Google-Smtp-Source: APXvYqx0O9KLVpQRi60MzWaNuoaBbtC7sEM8PqSnnm7I9BmIeQE6+9McsBqDk8nl0/6RH1K85XNGng== X-Received: by 2002:a7b:c753:: with SMTP id w19mr21704936wmk.25.1571159486316; Tue, 15 Oct 2019 10:11:26 -0700 (PDT) Original-Received: from ?IPv6:2001:660:300f:5:824:8707:dbea:98a7? ([2001:660:300f:5:824:8707:dbea:98a7]) by smtp.gmail.com with ESMTPSA id x5sm28816836wrt.75.2019.10.15.10.11.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Oct 2019 10:11:25 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3445.104.11) 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:105288 Archived-At: --===============1215493486158734932== Content-Type: multipart/alternative; boundary="Apple-Mail=_536AC0A2-7353-4652-AC71-AA09B7B7D610" --Apple-Mail=_536AC0A2-7353-4652-AC71-AA09B7B7D610 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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=20 \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: >=20 > La droite \m{(AM)} est {\bf une s=C3=A9cante} =C3=A0 la courbe = {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}. --Apple-Mail=_536AC0A2-7353-4652-AC71-AA09B7B7D610 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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 = <fabrice1.couvreur@gmail.com> wrote:

 La droite \m{(AM)} est {\bf = une s=C3=A9cante} =C3=A0 la courbe {\setupbodyfont[xits]\m{{\mathscript = C}}} en \m{A}.

= --Apple-Mail=_536AC0A2-7353-4652-AC71-AA09B7B7D610-- --===============1215493486158734932== 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== --===============1215493486158734932==--