From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103352 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: degrade module Date: Fri, 15 Feb 2019 10:22:48 +0100 Message-ID: References: <87lg2ikt6e.fsf@a16n.net> <20190215082535.39294102@homerow> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8148252371441009335==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25864"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android To: Context Mailing List Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 15 10:23:30 2019 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 blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1guZiS-0006XG-2t for gctc-ntg-context-518@m.gmane.org; Fri, 15 Feb 2019 10:23:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9D56FEC739; Fri, 15 Feb 2019 10:22:50 +0100 (CET) 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 Vj_a4EK3U0YT; Fri, 15 Feb 2019 10:22:49 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D1BA5EC73B; Fri, 15 Feb 2019 10:22:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AF5B2EC73B for ; Fri, 15 Feb 2019 10:22:48 +0100 (CET) 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 45DHWskFbjT6 for ; Fri, 15 Feb 2019 10:22:48 +0100 (CET) Original-Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [85.215.255.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1C995EC739 for ; Fri, 15 Feb 2019 10:22:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1550222567; s=strato-dkim-0002; d=toppkieker.info; h=Message-ID:From:To:Subject:References:In-Reply-To:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=UQxzR8OLECGm/AEJCUN8Y7Vb8mGR+HrKScs2J0Gu58s=; b=Ic6ntYHeAdEiqJsQrBU2AUiYmB+ogIe4kcq7Dv6xqej1fvOTnIDrl/RqOcnvzcJsMO D9CcOwhuWTD00Dl0Vzngz8fKyNRLGQve5d+cS4d+GaeFRhG+0uinGbxHg6fajm4zwEW+ LLsW0kLdfWG/PTd5GVMsD19JMw2HXRLrZ3DhoHj67EefPXm9CD8b0uXSsjqeN76bjPBh I7ujulMdW9PNMi4KY/hnF0H97DxnD97Buy0Ai2c67CgoQLqenMTb4dR8EGMJ9IqAg4Ub ZnU+z1b1qyZRwd2878Iak9lf32p3n0BI3QpBJJLy8TM12v364g5IvfTqfeoshIu+d0KX DqJg== X-RZG-AUTH: ":IHkQbw6geuzPHokbjwREyaVCwUnRg4l4M61DnCKQiup5oU3VJYnTARnVQHs13oVJE7yuJ9mCX6SPc1s0" X-RZG-CLASS-ID: mo00 Original-Received: from [10.211.217.194] by smtp.strato.de (RZmta 44.9 SBL|AUTH) with ESMTPSA id Z081b3v1F9MlKfN (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Fri, 15 Feb 2019 10:22:47 +0100 (CET) In-Reply-To: <20190215082535.39294102@homerow> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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:103352 Archived-At: --===============8148252371441009335== Content-Type: multipart/alternative; boundary="----YNXXU1L8LGR4HJWVFRF49HH4523A3I" Content-Transfer-Encoding: 7bit ------YNXXU1L8LGR4HJWVFRF49HH4523A3I Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you Henning and Marco, but both scripts trow the same error on windows and linux-armhf: grph-downsample=2Elua:32: bad argument #2 to 'format' (number has no integ= er representation) Hans' luacode seem not to change the resolution of the pictures at all=2E It works, the size of the pictures get smaller but the resolution remains = the same=2E Greetings Lutz Am 15=2E Februar 2019 08:25:35 MEZ schrieb Marco Patzer : >On Fri, 15 Feb 2019 07:56:31 +0100 >Lutz Haseloff wrote: > >> First i tried the grph-downsample=2Elua script=2E >> Unfortunately i get an error message >> grph-downsample=2Elua:31: bad argument #2 to 'format' (number has no >> integer representation) See attached log file=2E > >I remember that error=2E The script worked up to a particular context >version=2E I believe a Lua upgrade broke it=2E The version attached >should work=2E > >Marco ------YNXXU1L8LGR4HJWVFRF49HH4523A3I Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you Henning and Marco,

but both scrip= ts trow the same error on windows and linux-armhf:

grph-downsample= =2Elua:32: bad argument #2 to 'format' (number has no integer representatio= n)

Hans' luacode seem not to change the resolution of the pictures a= t all=2E
It works, the size of the pictures get smaller but the resoluti= on remains the same=2E

Greetings Lutz

Am 15=2E Februar 2019 08:25:35 MEZ schrieb Marco Patzer <lists@homer= ow=2Einfo>:
On Fri, 15 Feb 2019 07:56:31 +0100
Lutz Haseloff = <lutz=2Ehaseloff@toppkieker=2Einfo> wrote:

First i tried the grph-downsample=2Elua scr= ipt=2E
Unfortunately i get an error message
grph-downsample=2Elua:31:= bad argument #2 to 'format' (number has no
integer representation) See = attached log file=2E

I remember that error=2E The scrip= t worked up to a particular context
version=2E I believe a Lua upgrade b= roke it=2E The version attached
should work=2E

Marco
------YNXXU1L8LGR4HJWVFRF49HH4523A3I-- --===============8148252371441009335== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8148252371441009335==--