From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4877 invoked from network); 26 Apr 2023 21:56:14 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2023 21:56:14 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 43725150C0; Wed, 26 Apr 2023 23:56:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 tBhaB_IhkyDx; Wed, 26 Apr 2023 23:56:00 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 48F8349EA; Wed, 26 Apr 2023 23:56:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F3B9449EA for ; Wed, 26 Apr 2023 23:55:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 OGmrivhgASKj for ; Wed, 26 Apr 2023 23:55:58 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.121.94.169; helo=ewsoutbound.kpnmail.nl; envelope-from=j.hagen@xs4all.nl; receiver= Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 02DFA13BD for ; Wed, 26 Apr 2023 23:55:57 +0200 (CEST) X-KPN-MessageId: 1e62948a-e47d-11ed-810d-005056abad63 Received: from smtp.kpnmail.nl (unknown [10.31.155.38]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 1e62948a-e47d-11ed-810d-005056abad63; Wed, 26 Apr 2023 23:55:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:subject:from:to:mime-version:date:message-id; bh=ew/QuTUJlyJrQ7repyWFXS87KO8L6uTd73dXPsCntjk=; b=RXpGlSlmSgbbhba3WZRdomzUr3Qoiv8cXwHUKBnoH+geeuaVaAYMpB2Ag70sqCwA6EikOXC1mlV8K 6WCp/QjFPM2VAiM1BO4gZRFpL1zBVt7S1EdOHN6bkaK79x7hMhhQJDPr/tgrg2FQ3Vr8ILV0RXrbsV 73KJMQpvRESF8VzCdjoAqOhn9sJl3D6rgQalthLVfx3PSvARBeJOGoo+DF9IOAk0rxZYofZg9pxai8 MbDCOMVmgPyc+/gIDv/8EhVPa8P8grrlPSI4jDGp1mWg7N5uqsNkqWQHdyVBzptSodu7rWIjgQ9qZR /AXDeYrNE8FXKxvKQNiJBpXYwqLU3/A== X-KPN-MID: 33|LSHEWAxVUKOtGC+UFDFtUaxFVvKAU4/L8d8m6s6UKX0ao+CDkYSQ1vDGBNZnT1a sgL897dlSblWQs5KvCKt7EjULcVnE5KDKxglEmnmS3qQ= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|PWOUYHMfTcgK80PiAnQNlrNjhql5mvT6cmMFNujJTg2A0jDLU/qtkQS58KeSpaq L26RuA+bIMdRsQ5nVRHF9CA== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 1ed5bcf0-e47d-11ed-a1cd-005056abf0db; Wed, 26 Apr 2023 23:55:56 +0200 (CEST) Message-ID: Date: Wed, 26 Apr 2023 23:55:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: mailing list for ConTeXt users Subject: [NTG-context] update X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Hans Hagen via ntg-context Reply-To: mailing list for ConTeXt users Cc: Hans Hagen Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" Hi, I uploaded a new version with some new features discussed at the end of this mail. - A next version of luatex will break context (format making etc) but the change is unavoidable because of other macro package demands wrt security (context does that differently). The low level start up command has been adapted so unless you update indepdently thinsg should work ok. Of course this has no consequences for lmtx. - I've done a bit of callback cleanup (like getting rid of some mkiv luatex left-overs). It should have no effect on regular usage. - There again a few improvements wrt math (this time dealing with accents artifacts in some fonts). We check all the free math fonts for potential issues and then try to fix it (read: deal with it). It's a lot of work but we're getting there. - A few reported buglets have been fixed. - The biggest addition is however a new number model. In metapost one can now use 'posit' (positfun instance) as number mode which will use (currently 32 bit but at some point 64 bit) posit unums. It's also bit of a playground because 32 bit posits are not more accurate than 64 bit doubles. It anyhow exposed some potential issues that we'll look into. - There's also a (again currently 32 bit) posit library at the Lua end as playground. - However, 32 bit posits come in handy at the tex end because they pack better accuracy in 32 bits than floats and it makes it possible to have native floats, so we have: \newfloat (uses \floatdef, register like \dimendef is used in \newdimen) \newposit (uses \positdef, like \dimensiondef etc) \floatexpr (like \numexpr) \iffloat (like \ifnum) (also \ifabsfloat and i'll add the others too) Actually it adds an extra range of registers so it bumps memory usage a bit. I'm considering lowering the number of registers (currently 64K per category) because after all, if 64K is not enough then we can as well stick to 32K or 16K (for some even less). There's always Lua for unlimited storage of quantities. So, \newfloat\fooA \scratchdimen=123.456pt\relax [\type{dim:} \the\scratchdimen==123.456pt]\par \fooA =123.456\relax [\type{pos:} \the\fooA ==123.456] \par \fooA =\scratchdimen\relax [\type{pos:} \the\fooA ==123.456] \par \scratchdimen=\fooA\relax [\type{dim:} \the\scratchdimen==123.456pt]\par \scratchdimen\dimexpr\fooA+10pt\relax[\type{dim:} \the\scratchdimen==133.456pt]\par produces [dim: 123.456pt==123.456pt] [pos: 123.45600128173828==123.456] [pos: 123.45599365234375==123.456] [dim: 123.456pt==123.456pt] [dim: 133.456pt==133.456pt] As you can see dimens will get mapped onto floats not as integers (scaled points) but in pt units. Counts stay numbers. I need to handle glue too (not yet done). In the future I might use this for fractions but there might be some rough ends so for now it's experimental. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________