From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94932 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Typing environment on non-ASCII Date: Sat, 21 May 2016 18:31:43 +0200 Message-ID: <57408D6F.3060107@gmail.com> References: <74260666-74BE-4098-9489-5F915056E04D@telia.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0048685380931564175==" X-Trace: ger.gmane.org 1463848345 31870 80.91.229.3 (21 May 2016 16:32:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 May 2016 16:32:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 18:32:13 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b49oy-0004I8-Io for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2016 18:32:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 91872DB9E; Sat, 21 May 2016 18:31:58 +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 aaFvdzYj_TIe; Sat, 21 May 2016 18:31:57 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D910CDBA4; Sat, 21 May 2016 18:31:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1421BDBA0 for ; Sat, 21 May 2016 18:31:57 +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 AKnOwpl5XVSR for ; Sat, 21 May 2016 18:31:56 +0200 (CEST) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 89933DB9E for ; Sat, 21 May 2016 18:31:46 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id v200so21257645wmv.0 for ; Sat, 21 May 2016 09:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=EqHsRtJ+7czWQZYQXqaOefWA9VA0or8JKxkbBMZ4juw=; b=AXiA/6OrP+cljzJ83Jky7ow2hu2QAKDY34qOIkTLC/XeCWd1IobZ99fqoyg7FpZ4wJ Aqa+nWm4gp6D/CIgnq5nFNqeB4bhbMhjAa2buDnBVfi3VnaQtOWSSuy4fvYBQlnJfEIx s2eU0lRl+8Rn1tsMb+o1Hcv40KTje4OSDAOFzUl43/tdnqO6ceF52IaAd8sN88y51X+H I2KBoNFvWzJBATG7oUXKISOBkrnJDEXQ+xyQRU14h+x0BkjXUUD/EBCRSthiZOYrQ6Pm +LRNiZE6KBjtqHJ9BYXKWalS5Dk/dBdoYswG98AuFutGW79DIYGy1J4m9rb9f6OvZ8Ud Hf8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=EqHsRtJ+7czWQZYQXqaOefWA9VA0or8JKxkbBMZ4juw=; b=iUv7ArHC5NGYQuckFBeHPnZK4R+F/jAVC7NZ30UsObx5xIoHbkB/vdQcThHKV1Itya 5zifFVteDD8BErycqxn0+J0Vmn8uRrhuBCd3jjpLs/+dJHN9T/3ggJaHOKano6Yx9CYy lElmTmOiSFogT/bNkTM4rJhDTd4SdIwP7DIQxVu/eIuMI/kQiTUgQbEOPyJVVnTxW6yB BAj33WkMRNs843ZdoQ+Dr5ueMThZxFOa8UBArdZd1OKr3dLXs3vqAuBIWY60kyPKoft2 cB7wZRubfcoHg1YMCXvmPQcGprOE/4+ZjnsJT86TAkC7hh4GHYaEhNxbptKE1wCXxexo UP7A== X-Gm-Message-State: AOPr4FWtUthKrfP/gghRXoKC3KuzbsSbHmbABCpMjJtpI66PQPhAd8qOYE96MjHgqxN0mQ== X-Received: by 10.28.94.12 with SMTP id s12mr9372951wmb.54.1463848305975; Sat, 21 May 2016 09:31:45 -0700 (PDT) Original-Received: from keima.localdomain (x2f24b20.dyn.telefonica.de. [2.242.75.32]) by smtp.gmail.com with ESMTPSA id wb10sm25668064wjc.8.2016.05.21.09.31.44 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 May 2016 09:31:45 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <74260666-74BE-4098-9489-5F915056E04D@telia.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:94932 Archived-At: This is a multi-part message in MIME format. --===============0048685380931564175== Content-Type: multipart/alternative; boundary="------------080504000105000802030103" This is a multi-part message in MIME format. --------------080504000105000802030103 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Hans =C3=85berg > 21. Mai 2016 um 16:09 > The typing environment does not seem to work on non-ASCII characters:=20 > below, =E2=88=80, =E2=89=94 and =E2=88=88 drop out. Perhaps not availab= le in monospace,=20 > substituting nothing. > > \setupbodyfont[xits,10pt] > > \starttyping > =E2=88=80(i, k) =E2=88=88 I=C3=97K: C(i, k) =E2=89=94 =E2=88=91_(j=E2=88= =88J) A(i, j)=C2=B7B(j, k) > \stoptyping You need a font which has the necessary symbols or you take the missing=20 one from another font but in this case you should look for one which has=20 a similar style as the main font (which is not the case in my example). \definefallbackfamily [moremath] [tt] [DejaVu Sans Mono]=20 [range=3Dmathematicaloperators] \definefontfamily [moremath] [tt] [Latin Modern Mono] %\definefontfamily [moremath] [mm] [Latin Modern Math] \setupbodyfont[moremath,10pt] \starttext \starttyping =E2=88=80(i, k) =E2=88=88 I=C3=97K: C(i, k) =E2=89=94 =E2=88=91_(j=E2=88=88= J) A(i, j)=C2=B7B(j, k) \stoptyping \stoptext PS. Your example is missing the \starttext and \stoptext. Wolfgang --------------080504000105000802030103 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
21= .=20 Mai 2016 um 16:09
The typing environment=20 does not seem to work on non-ASCII characters: below, =E2=88=80, =E2=89=94= and =E2=88=88 drop=20 out. Perhaps not available in monospace, substituting nothing.

\se= tupbodyfont[xits,10pt]

\starttyping
=E2=88=80(i, k) =E2=88=88 I=C3=97K: C(i, k) =E2=89=94 =E2=88=91_(j=E2=88=88J) A(i, j)= =C2=B7B(j, k)
\stoptyping
You need a font which has the necessary symbols or you take the missing=20 one from another font but in this case you should look for one which has a similar style as the main font (which is not the case in my example).<= br>
\definefallbackfamily [moremath] [tt] [DejaVu Sans Mono]=20 [range=3Dmathematicaloperators]
\definefontfamily=C2=A0=C2=A0=C2=A0=C2=A0 [moremath] [tt] [Latin Modern M= ono]
%\definefontfamily=C2=A0=C2=A0=C2=A0=C2=A0 [moremath] [mm] [Latin Modern = Math]

\setupbodyfont[moremath,10pt]

\starttext

\starttyping
=E2=88=80(i, k) =E2=88=88 I=C3=97K: C(i, k) =E2=89=94 =E2=88=91_(j=E2=88=88= J) A(i, j)=C2=B7B(j, k)
\stoptyping

\stoptext

PS. Your example is missing the \starttext and \stoptext.

Wolfgang
--------------080504000105000802030103-- --===============0048685380931564175== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0048685380931564175==--