From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111724 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jano Kula Newsgroups: gmane.comp.tex.context Subject: Re: names of cached images Date: Wed, 9 Jun 2021 15:23:45 +0200 Message-ID: References: <0ffc6982-d46b-8341-c31f-a3a4af2ec893@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2839232395258013844==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 09 15:24:55 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqyCT-0008LH-N6 for gctc-ntg-context-518@m.gmane-mx.org; Wed, 09 Jun 2021 15:24:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BA9F728441F; Wed, 9 Jun 2021 15:24:28 +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 LM9S_5-HlVvV; Wed, 9 Jun 2021 15:24:26 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 95FD0284396; Wed, 9 Jun 2021 15:24:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B55FA28439C for ; Wed, 9 Jun 2021 15:24:24 +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 fYpGPO85OyHQ for ; Wed, 9 Jun 2021 15:24:24 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.53; helo=mail-ot1-f53.google.com; envelope-from=jano.kula@gmail.com; receiver= Original-Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A9646284317 for ; Wed, 9 Jun 2021 15:24:23 +0200 (CEST) Original-Received: by mail-ot1-f53.google.com with SMTP id 102-20020a9d0eef0000b02903fccc5b733fso863231otj.4 for ; Wed, 09 Jun 2021 06:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=S8qnGogfRXYLgKMLcbJ3FwVf/UM0IqfNiLwm5KWMjfw=; b=HnU1/iiKVyGEBaUWzohn75gukuC9+ao+0qGFV+FT+lYk9f1LIWPv47vynO+iokaXVA TtaDzfuBbZt3rCw5CsDcuz1+Fc2xQskLEeQA1hZK/cMjms/C8gao6QFUkM430oa+bWHx +ADWZokVV1HT1KHuwNXJA0rB72j7XYMbvvdl54fmN1qH/nJF1hsotyj2iyiqbnNcbfMi 0aeLcUgwoYNMw4P8XOiUTrFIXM5G+xy/RKW/xQiQEe5wZsLmgLvXMpPKka7zQkZwrwkH F7tkv5N6OAevsZg9SVazpCktUrOTRcnYVDne8DA5yNS9GU/eJguKPIcHFJVIqpZZ4NiL ywfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=S8qnGogfRXYLgKMLcbJ3FwVf/UM0IqfNiLwm5KWMjfw=; b=i7dUWWi2VI3OIoWm2rCdzvINZyHP3yoluAhuxbQxCbUeBaUk1U+A7oKIBVmI/HtKsZ dc6Y8ffH4Yi5lCkXM53l5+1bCf/bwuywzwGJKDMrXVo/nBQyjotqeA3i4+aojEHKw/vh vR2ohFGK8oVmUuYrspM1Kf1fSNn4bD0Nt0RLM9MmhUUGlsSGIssXF7ddx8AJvNQgIFDc QkDJHYUL433zxHf9hoHxBG85f7SG1KL5hJjxexol60cA0ZbtR1usT2BSK3EQ6w+/hLB5 FfztbUeojgIZQkLngZ1cP3++82YGVWdNXZ5n+gwoua+xu6mENuPbZzhFgJrI9rIo+FQ/ WS6w== X-Gm-Message-State: AOAM532pSPRWiut+Y0kndZyiWFDkBJ2dv4t/LgVAEdyJPAKAJv6+wh0O mX0G8eXv23r/16Q1JmCcu1iKfnA9WJ+AKfInA1M= X-Google-Smtp-Source: ABdhPJxNVTg5v1n8SrJHkNnG4gRihwbYNDMAeJzYNqDN9oXxr2PlA+qJM+lI28+3dJC7mJa5lu8SaV7YALXXAhxFGFA= X-Received: by 2002:a05:6830:19fd:: with SMTP id t29mr17950215ott.296.1623245062016; Wed, 09 Jun 2021 06:24:22 -0700 (PDT) In-Reply-To: <0ffc6982-d46b-8341-c31f-a3a4af2ec893@xs4all.nl> 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.io gmane.comp.tex.context:111724 Archived-At: --===============2839232395258013844== Content-Type: multipart/alternative; boundary="0000000000004e19a605c45531bd" --0000000000004e19a605c45531bd Content-Type: text/plain; charset="UTF-8" Hello Hans, On Sun, Jun 6, 2021 at 4:56 PM Hans Hagen wrote: > On 6/6/2021 1:16 PM, Jano Kula wrote: > > Hello list, > > > > usingconversion=gray.pdf in lmtx the cached images' names have some > > string in their name. I thought it's a name of random sequence of luatex > > cache, but the string is the same on other machines and I don't know, > > where it comes from. mkiv used to have m_k_i_v_ string there. > > > > hacker.pdf = source image > > hacker_jpg_c60ccda70ef92e32d7a6334f31c23259.gray.pdf = cached linux > > hacker_jpg_c60ccda70ef92e32d7a6334f31c23259.gray.pdf = cached win > > > > MWE > > \starttext > > \externalfigure[hacker] > > [cache=./, > > conversion=gray.pdf] > > \stoptext > > > > Is it intended behavior? > sure, something like that is always intended; it's an md5 of a hash of > all relevant parameters so that when you change one (say the resolution) > we now that we need to update > Thank you, wiki updated. J. --0000000000004e19a605c45531bd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Hans,

On Sun, Jun 6, 2021 at 4:56 PM= Hans Hagen <j.ha= gen@xs4all.nl> wrote:
On 6/6/2021 1:16 PM, Jano Kula wrote:
> Hello list,
>
> usingconversion=3Dgray.pdf in lmtx the cached images' names have s= ome
> string in their name. I thought it's a name of random sequence of = luatex
> cache, but the string is the same on other machines and I don't kn= ow,
> where it comes from. mkiv used to have=C2=A0m_k_i_v_ string there.
>
> hacker.pdf =3D source image
> hacker_jpg_c60ccda70ef92e32d7a6334f31c23259.gray.pdf =3D cached linux<= br> > hacker_jpg_c60ccda70ef92e32d7a6334f31c23259.gray.pdf =3D cached win >
> MWE
> \starttext
> \externalfigure[hacker]
>=C2=A0 =C2=A0 =C2=A0 [cache=3D./,
>=C2=A0 =C2=A0 =C2=A0 conversion=3Dgray.pdf]
> \stoptext
>
> Is it intended behavior?
sure, something like that is always intended; it's an md5 of a hash of =
all relevant parameters so that when you change one (say the resolution) we now that we need to update

Thank you= , wiki updated.
J.=C2=A0
--0000000000004e19a605c45531bd-- --===============2839232395258013844== 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== --===============2839232395258013844==--