From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94934 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 20:03:16 +0200 Message-ID: <5740A2E4.7000104@gmail.com> References: <74260666-74BE-4098-9489-5F915056E04D@telia.com> <57408D6F.3060107@gmail.com> <1C8D8A18-821E-43CC-B388-DCB25BF89EFB@telia.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0907212622331834221==" X-Trace: ger.gmane.org 1463853842 12062 80.91.229.3 (21 May 2016 18:04:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 May 2016 18:04:02 +0000 (UTC) Cc: ConTeXt users To: =?UTF-8?B?SGFucyDDhWJlcmc=?= Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 20:03:50 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 1b4BFc-0006kD-IO for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2016 20:03:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4EB21D9E0; Sat, 21 May 2016 20:03:33 +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 h0az7Uev9jJT; Sat, 21 May 2016 20:03:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id E3A0AD9CA; Sat, 21 May 2016 20:03:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D30D9D9CA for ; Sat, 21 May 2016 20:03:30 +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 hmAYH-LU3lJl for ; Sat, 21 May 2016 20:03:30 +0200 (CEST) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (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 546CFD9C1 for ; Sat, 21 May 2016 20:03:20 +0200 (CEST) Original-Received: by mail-wm0-f54.google.com with SMTP id n129so23577339wmn.1 for ; Sat, 21 May 2016 11:03:20 -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:cc:subject :references:in-reply-to; bh=hZ88nOm81DzeOrta+yrj909/6p/bNIuCYp3+7jha4Xg=; b=I73P95Bnkg06oaql+rP0uHg94gR7ZEjIiuZgGZFDawA+/cmnkbeeG8rzSe8G9BUsF9 SvoNfqY0WuOnI2s9r+PTE+fRRdsj3RYcXUhKwfY9LLEn8ax/lFlWq505E/It9y3PTnsO DsIChaJkRtXcao9wqL/+OuA67bUB5inGx+cR1NUpWri7Onn0VDgymrGVTQk0kiC4XUC1 +kXsq+EB/KkKrP9Qf3zwBsVrcVDEPKZu7Kgq2w4AHTvXErc+N5hUxJglorgYdalyOqVe P9xt0te/C/HNAx4iqbTtnzKqtD3MDsEMr7QLvXq1ImmP5EHQRAO+WJxEGxTcFhBMxHc7 2HEg== 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 :cc:subject:references:in-reply-to; bh=hZ88nOm81DzeOrta+yrj909/6p/bNIuCYp3+7jha4Xg=; b=by9ma0UR/j5pRnta+wChqKcbf1WzZHqQeYsPiJ7f1sfinvNOwKzPkl/9tlumYHk4Mq QVNcXjelyAexYeBUIzV8EYMcYgydoUvWSb1O4T8AdrFcdvrwISaj71Oyi4cKtzmBPGZ0 ISeLzyikCCp3KqVgIpcLPAnlUtSxfjF8wKkc2dETrmw5poRdafnUCIsyoKRnD8zwbVrg NlGezwcaDL50SoCbO9a3vvhItov4WDbHsvkCMhRdtSdNJZKSX79svkuHw4nNBHSfzjri DRr3D/tKk9GJ2Rt3myOyj8fCYBeAQtUCx1WIxvgGQbrGe8stUcNA8f7xPitg9JDKE4+R C6mQ== X-Gm-Message-State: AOPr4FUyYOU+kQC1aE2BYe1xLeRYGjU10R6VN3GIfn5Z8+DidriJRpWYMmRNjBg2R1Bg3Q== X-Received: by 10.28.10.10 with SMTP id 10mr9754339wmk.102.1463853799901; Sat, 21 May 2016 11:03:19 -0700 (PDT) Original-Received: from keima.localdomain (x2f24b20.dyn.telefonica.de. [2.242.75.32]) by smtp.gmail.com with ESMTPSA id j6sm26000736wjb.29.2016.05.21.11.03.18 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 May 2016 11:03:19 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <1C8D8A18-821E-43CC-B388-DCB25BF89EFB@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:94934 Archived-At: This is a multi-part message in MIME format. --===============0907212622331834221== Content-Type: multipart/alternative; boundary="------------080005020300050405000800" This is a multi-part message in MIME format. --------------080005020300050405000800 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Hans =C3=85berg > 21. Mai 2016 um 19:06 >> On 21 May 2016, at 18:31, Wolfgang Schuster wrote: > >> You need a font which has the necessary symbols or you take the missin= g one from another font but in this case you should look for one which ha= s a similar style as the main font (which is not the case in my example). >> >> \definefallbackfamily [moremath] [tt] [DejaVu Sans Mono] [range=3Dmath= ematicaloperators] >> \definefontfamily [moremath] [tt] [Latin Modern Mono] >> %\definefontfamily [moremath] [mm] [Latin Modern Math] > > OK. There are two different issues involved: if one wants to use a mono= space font, and if one wants it verbatim, without TeX translation. For me= , the latter would suffice. The typing environment, it seems, combines th= e two, and the monospace part cannot be turned off. > The typing environment uses only a monospaced font as default style but=20 you can also use it with a serif or sans serif font, e.g. \setuptyping[style=3Dsans]. Wolfgang --------------080005020300050405000800 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
21= .=20 Mai 2016 um 19:06
On 21 May 2016, at 18:31, Wolfgang Schuster <schust= er.wolfgang@gmail.com> wrote:

You need a font which has =
the necessary symbols or you take the missing one from another font but i=
n this case you should look for one which has a similar style as the main=
 font (which is not the case in my example).

\definefallbackfamily [moremath] [tt] [DejaVu Sans Mono] [range=3Dmathema=
ticaloperators]
\definefontfamily     [moremath] [tt] [Latin Modern Mono]
%\definefontfamily     [moremath] [mm] [Latin Modern Math]

OK. There are two different issues involved: if one wants to use a monosp=
ace font, and if one wants it verbatim, without TeX translation. For me, =
the latter would suffice. The typing environment, it seems, combines the =
two, and the monospace part cannot be turned off.

The typing environment uses only a monospaced font as default style but=20 you can also
use it with a serif or sans serif font, e.g. \setuptyping[style=3Dsans].<= br>
Wolfgang


--------------080005020300050405000800-- --===============0907212622331834221== 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= --===============0907212622331834221==--