From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52720 Path: news.gmane.org!not-for-mail From: Flavien Lambert Newsgroups: gmane.comp.tex.context Subject: Re: Problem with \digits Date: Mon, 7 Sep 2009 19:19:48 +0200 Message-ID: <3eb5f5b10909071019x108489en6a3cf90ed58b2007@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0887773154==" X-Trace: ger.gmane.org 1252344017 4508 80.91.229.12 (7 Sep 2009 17:20:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 17:20:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 07 19:20:06 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mkhss-0003su-Ef for gctc-ntg-context-518@m.gmane.org; Mon, 07 Sep 2009 19:20:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C914C9A9C; Mon, 7 Sep 2009 19:20:05 +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 ZwFuq5TGr-zA; Mon, 7 Sep 2009 19:20:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 361FAC9A81; Mon, 7 Sep 2009 19:19:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22A2FC9A81 for ; Mon, 7 Sep 2009 19:19:55 +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 hFwUDseXb-5C for ; Mon, 7 Sep 2009 19:19:50 +0200 (CEST) Original-Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by balder.ntg.nl (Postfix) with ESMTP id BFF79C9A7C for ; Mon, 7 Sep 2009 19:19:50 +0200 (CEST) Original-Received: by fxm19 with SMTP id 19so2190023fxm.2 for ; Mon, 07 Sep 2009 10:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=eW0mRRoItBC4oPgevAbGPfq1q+ZEwMUSi+iX1jhqrrc=; b=A2Fa+WVN+8YFZB44SZSUCuRV6ChI5iO2q8ei+L6/yNgt1j1vTcngpME3/JraOOrT6u yywHIbMxLx5oDdGNyh9LhlI430L3m+CdCP26g2CDvDojLCHAirkNHDRazK4yV9FhMGAp 1muX1NVr5Yac5A+aY2g9Hj0dv06bfUpWLUMDk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=SpQLC+Rbp8cBEphI5u1x5TBwq3FwNL41TfL5YJjscIj05EUDGvNizCwWXGZzuiHPQW cMR5Xsk9FX6D8wlTUAyIYx4MDKXtLIiLCaknlcG5zpFvc9XQ0ew0z1ywgLffUvV05MJF IVVKD8oSKTrY817UEynUsUHVGkQJAp7tDRFLw= Original-Received: by 10.204.26.150 with SMTP id e22mr12355314bkc.68.1252343989903; Mon, 07 Sep 2009 10:19:49 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:52720 Archived-At: --===============0887773154== Content-Type: multipart/alternative; boundary=00032555a0b2a821ae0473000e0d --00032555a0b2a821ae0473000e0d Content-Type: text/plain; charset=ISO-8859-1 Dear all, I tried to compile some of my old files with the latest minimals (MKIV) but encountered the error described below. Is there any way to use the digit macro with MKIV ? Regards, 2009/6/16 > > Hello, > > I am using mkiv beta (14-Jun-09) and the \digits command does not like the > decimal point. Any suggestions? > Test code and log file follow: > > Richard > > ====Test code==== > \starttext > \digits{1.6} > \stoptext > > ====Log file==== > This is LuaTeX, Version beta-0.40.5-2009061023 (Web2C 2009) > \write18 enabled. > (testdigits.tex > color : system all is global activated > color : system gray is global activated > color : mpcmyk color space is supported > color : mpspot color space is supported > color : system rgb is global activated > color : system all is global activated > > ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.6.16 int: english/english > > system : cont-new loaded > (C:/Tools/context/texmf-context/tex/context/base/cont-new.tex > systems : beware: some patches loaded from cont-new.tex > (C:/Tools/context/texmf-context/tex/context/base/cont-new.mkiv) > (C:/Tools/context/texmf-context/tex/context/base/cont-mtx.tex)) > system : cont-fil loaded > (C:/Tools/context/texmf-context/tex/context/base/cont-fil.tex > loading : ConTeXt File Synonyms > ) > system : cont-sys.rme loaded > (C:/Tools/context/texmf-context/tex/context/user/cont-sys.rme > (C:/Tools/context/texmf-context/tex/context/base/type-tmf.tex) > (C:/Tools/context/texmf-context/tex/context/base/type-siz.tex > (C:/Tools/context/texmf-context/tex/context/base/type-siz.mkiv)) > (C:/Tools/context/texmf-context/tex/context/base/type-otf.tex > (C:/Tools/context/texmf-context/tex/context/base/type-otf.mkiv))) > system : testdigits.top loaded > (testdigits.top) > fonts : preloading latin modern fonts > bodyfont : 12pt rm is loaded > language : language en is active > systems : begin file testdigits at line 1 > ! \textfont1 is undefined (character 58). > \mathematics #1->\relax \ifmmode #1\else $#1$ > \fi > \doscandigit ...\digitoutputmode ,\else .\fi \fi } > \egroup > \digitsep ...x \digitsepbox \hbox {\doscandigit #1 > }\fi \chardef \skipdigit > 0... > \scandigits #1->\if #1.\digitsep 1 > \else \if #1,\digitsep 2\else \if > #1@\digi... > \dodohandletokenstwo *#1->\dododohandletokens {#1} > \dohandletokens > 1. > 6 > ... > l.2 \digits{1.6} > > ? > > > > Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. > Registration Number: 2416188 > Registered in England and Wales. > Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. > > CONFIDENTIALITY : This e-mail and any attachments are confidential and may > be privileged. If you are not a named recipient, please notify the sender > immediately and do not disclose the contents to another person, use it for > any purpose or store or copy the information in any medium. > > Please consider the environment before printing this e-mail > > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > -- Flavien. ---------------------------- "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. --00032555a0b2a821ae0473000e0d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all, I tried to compile some of my old files with the latest minimals = (MKIV) but encountered the error described below. Is there any way to use t= he digit macro with MKIV ?
Regards,

20= 09/6/16 <richard.stephens@converteam.com>

Hello,

I am using mkiv beta (14-Jun-09) and the \digits command does not like the<= br> decimal point. Any suggestions?
Test code and log file follow:

Richard

=3D=3D=3D=3DTest code=3D=3D=3D=3D
\starttext
\digits{1.6}
\stoptext

=3D=3D=3D=3DLog file=3D=3D=3D=3D
This is LuaTeX, Version beta-0.40.5-2009061023 (Web2C 2009)
=A0\write18 enabled.
(testdigits.tex
color =A0 =A0 =A0 =A0 =A0 : system all is global activated
color =A0 =A0 =A0 =A0 =A0 : system gray is global activated
color =A0 =A0 =A0 =A0 =A0 : mpcmyk color space is supported
color =A0 =A0 =A0 =A0 =A0 : mpspot color space is supported
color =A0 =A0 =A0 =A0 =A0 : system rgb is global activated
color =A0 =A0 =A0 =A0 =A0 : system all is global activated

ConTeXt =A0ver: 2009.06.14 21:01 MKIV =A0fmt: 2009.6.16 =A0int: english/eng= lish

system =A0 =A0 =A0 =A0 =A0: cont-new loaded
(C:/Tools/context/texmf-context/tex/context/base/cont-new.tex
systems =A0 =A0 =A0 =A0 : beware: some patches loaded from cont-new.tex
(C:/Tools/context/texmf-context/tex/context/base/cont-new.mkiv)
(C:/Tools/context/texmf-context/tex/context/base/cont-mtx.tex))
system =A0 =A0 =A0 =A0 =A0: cont-fil loaded
(C:/Tools/context/texmf-context/tex/context/base/cont-fil.tex
loading =A0 =A0 =A0 =A0 : ConTeXt File Synonyms
)
system =A0 =A0 =A0 =A0 =A0: cont-sys.rme loaded
(C:/Tools/context/texmf-context/tex/context/user/cont-sys.rme
(C:/Tools/context/texmf-context/tex/context/base/type-tmf.tex)
(C:/Tools/context/texmf-context/tex/context/base/type-siz.tex
(C:/Tools/context/texmf-context/tex/context/base/type-siz.mkiv))
(C:/Tools/context/texmf-context/tex/context/base/type-otf.tex
(C:/Tools/context/texmf-context/tex/context/base/type-otf.mkiv)))
system =A0 =A0 =A0 =A0 =A0: testdigits.top loaded
(testdigits.top)
fonts =A0 =A0 =A0 =A0 =A0 : preloading latin modern fonts
bodyfont =A0 =A0 =A0 =A0: 12pt rm is loaded
language =A0 =A0 =A0 =A0: language en is active
systems =A0 =A0 =A0 =A0 : begin file testdigits at line 1
! \textfont1 is undefined (character 58).
\mathematics #1->\relax \ifmmode #1\else $#1$
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 \fi
\doscandigit ...\digitoutputmode ,\else .\fi \fi }
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0\egroup
\digitsep ...x \digitsepbox \hbox {\doscandigit #1
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0}\fi \chardef \skipdigit
0...
\scandigits #1->\if #1.\digitsep 1
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\else \= if #1,\digitsep 2\else \if
#1@\digi...
\dodohandletokenstwo *#1->\dododohandletokens {#1}
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0\dohandletokens
<argument> 1.
=A0 =A0 =A0 =A0 =A0 =A0 6
...
l.2 \digits{1.6}

?



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registr= ation Number: 2416188
Registered in England and Wales.
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may = be privileged. If you are not a named recipient, please notify the sender i= mmediately and do not disclose the contents to another person, use it for a= ny purpose or store or copy the information in any medium.

Please consider the environment before printing this e-mail
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: https://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________



--
Flavien.
-----------= -----------------
"Quantum objects are completely crazy but, at lea= st, they are all crazy in the same way." R.P. Feynman.
--00032555a0b2a821ae0473000e0d-- --===============0887773154== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0887773154==--