From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91098 Path: news.gmane.org!not-for-mail From: Christian Prim Newsgroups: gmane.comp.tex.context Subject: Re: Howto typeset physical half-life Date: Sat, 18 Apr 2015 08:13:37 +0200 Message-ID: References: <5531807C.3080306@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1460138115==" X-Trace: ger.gmane.org 1429337673 5386 80.91.229.3 (18 Apr 2015 06:14:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 06:14:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 18 08:14:15 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YjM17-0001SL-MU for gctc-ntg-context-518@m.gmane.org; Sat, 18 Apr 2015 08:14:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1F7D1022F for ; Sat, 18 Apr 2015 08:14:12 +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 91K0SL-vY1wp for ; Sat, 18 Apr 2015 08:14:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DF3C610231 for ; Sat, 18 Apr 2015 08:13:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4022101F9 for ; Sat, 18 Apr 2015 08:13:40 +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 A2IkIqywNraX for ; Sat, 18 Apr 2015 08:13:39 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 9BB45101EA for ; Sat, 18 Apr 2015 08:13:39 +0200 (CEST) Original-Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t3I6Dcpd028643 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 18 Apr 2015 08:13:38 +0200 Original-Received: by lbcga7 with SMTP id ga7so97570223lbc.1 for ; Fri, 17 Apr 2015 23:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=H1nwtxEmTBqYilwKYUdUN+YY+H03lDYyaTR7FOeZ+w8=; b=Cb1CuDMgLwM4SLJm2rbtg8GsiWk/6RYkbchzYRW3g33+l3ndzlsFiZ4ZG3dS4caI+I OtjhXEvYlrVbzQoZssWVDGt8vtMsGL3ZcjldyN3TrUTRQgomqiw0MCsQPosDne8OtXgI xEu5DHS7eleAO74hSzclEfOEqbX5+KI1tw5BGa5zHRkLTTn0AyqlnU+gRfWOlI7azIxi nQQRRQ5ciZbfcF7+t6RpyHf2Ujyvl/lauQsg4Mqta4j7GWSW3ZgqV/82W/XxIaJjSlVw 1WfUnm6gwIix/3GLWmLJ2g1at9lQUOIBlf1/4+DRvsZcPOrNcOovAVlNY9Hiqb/Cisyv 5cfA== X-Received: by 10.112.17.68 with SMTP id m4mr7400600lbd.10.1429337618051; Fri, 17 Apr 2015 23:13:38 -0700 (PDT) Original-Received: by 10.112.53.200 with HTTP; Fri, 17 Apr 2015 23:13:37 -0700 (PDT) In-Reply-To: <5531807C.3080306@wxs.nl> X-Google-Sender-Auth: 1EmwcyjKJHq5rYgS8KrNL_4Xh-U X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::235; country=IE; latitude=53.3478; longitude=-6.2597; http://maps.google.com/maps?q=53.3478,-6.2597&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03OhidCTk - ab67b29899fc - 20150418 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of christian.prim@gmail.com designates 2a00:1450:4010:c04::235 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:4010:c04::235; envelope-from=; helo=mail-lb0-x235.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . 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:91098 Archived-At: --===============1460138115== Content-Type: multipart/alternative; boundary=001a11c3d138fcf9310513f99883 --001a11c3d138fcf9310513f99883 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Hans thanks for the checker, that surely helps. So I could find a solution (perhaps not the best) for my problem: \m{T_{\text{=C2=BD}}} Thanks again Christian 2015-04-17 23:51 GMT+02:00 Hans Hagen : > On 4/17/2015 9:41 PM, Christian Prim wrote: > >> Hi >> >> a year or so before one could simply typeset the physical half-life as >> shown in MWE: >> >> \usetypescript[palatino] >> \setupbodyfont[palatino] >> \starttext >> =C2=BD =CE=B1 >> \m{T_=CE=B1} >> \m{T_=C2=BD} >> \stoptext >> >> The greek letter is just to show, that utf-8 works as expected. In >> actual beta (and probably longer before) this doesn't work anymore. What >> have I missed? >> > > Are you sure? palatino doesn't have that character in its math repertoire > (it might have been present in the alternative that uses px fonts combine= d > with a pagella text font in which case they're coming from text). The mat= h > subsystem of context does to some extend accept super and subscript > characters but not (at least not now) these fractions. Is this really > needed? It can be done but quite some extra overhead for bad practice. > > Anyway, I've added a checker so that at least it gets reported (assuming > the use of one math collection): > > mkiv lua stats > unknown math characters: =C2=BD (U+000BD) (n=3D3) > > Hans > > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ --001a11c3d138fcf9310513f99883 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Hans

thanks for the checker, that su= rely helps. So I could find a solution (perhaps not the best) for my proble= m:

\m{T_{\text{=C2=BD}}}

<= div>Thanks again
Christian



2015-04-17 23:51 GMT+02:00= Hans Hagen <pragma@wxs.nl>:
On 4/17/2015 9:41 PM, Christian Prim wrote:
Hi

a year or so before one could simply typeset the physical half-life as
shown in MWE:

\usetypescript[palatino]
\setupbodyfont[palatino]
\starttext
=C2=A0 =C2=A0 =C2=A0=C2=BD =CE=B1
=C2=A0 =C2=A0 =C2=A0\m{T_=CE=B1}
=C2=A0 =C2=A0 =C2=A0\m{T_=C2=BD}
\stoptext

The greek letter is just to show, that utf-8 works as expected. In
actual beta (and probably longer before) this doesn't work anymore. Wha= t
have I missed?

Are you sure? palatino doesn't have that character in its math repertoi= re (it might have been present in the alternative that uses px fonts combin= ed with a pagella text font in which case they're coming from text). Th= e math subsystem of context does to some extend accept super and subscript = characters but not (at least not now) these fractions. Is this really neede= d? It can be done but quite some extra overhead for bad practice.

Anyway, I've added a checker so that at least it gets reported (assumin= g the use of one math collection):

mkiv lua stats=C2=A0 > unknown math characters: =C2=BD (U+000BD) (n=3D3)=

Hans



-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0| www.p= ragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
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/ntg-context
webpage=C2=A0 : http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--001a11c3d138fcf9310513f99883-- --===============1460138115== 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= --===============1460138115==--