From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100946 Path: news.gmane.org!.POSTED!not-for-mail From: Jano Kula Newsgroups: gmane.comp.tex.context Subject: Re: location of converted images Date: Wed, 6 Jun 2018 16:28:39 +0200 Message-ID: References: <12a92ae2-06e3-b988-567a-3c4fe33bf9e8@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5492597638333036822==" X-Trace: blaine.gmane.org 1528295263 12256 195.159.176.226 (6 Jun 2018 14:27:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2018 14:27:43 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 06 16:27:39 2018 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 esmtp (Exim 4.84_2) (envelope-from ) id 1fQZPU-000329-CL for gctc-ntg-context-518@m.gmane.org; Wed, 06 Jun 2018 16:27:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C6BC432EEA; Wed, 6 Jun 2018 16:29:29 +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 Up6biOfpfOoo; Wed, 6 Jun 2018 16:29:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 02E3E32EEC; Wed, 6 Jun 2018 16:29:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CD6EB32EEC for ; Wed, 6 Jun 2018 16:29:27 +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 ukfnbFUa_1W7 for ; Wed, 6 Jun 2018 16:29:27 +0200 (CEST) Original-Received: from mail-ot0-f182.google.com (mail-ot0-f182.google.com [74.125.82.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id BB49332EE5 for ; Wed, 6 Jun 2018 16:29:16 +0200 (CEST) Original-Received: by mail-ot0-f182.google.com with SMTP id m11-v6so7472129otf.3 for ; Wed, 06 Jun 2018 07:29:16 -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=hlaYGFiLsMBmYRo9IiR+kiBcMM1hACpzasK68s1xMhY=; b=nsvkX7FWtHEndJQ/9+PIpks3vFlSawdytDnaZPzyEMgp0AL9zcaQLJRJAIxSecWS4h kvRKxZiiCY/QrxJnOOJvItC53kPDlxqxd9MNjCaaQju9+77vUt8DX7G0Qz+DKh8GggXB 5D5igKv6HIxdOmOwQH2uEzSzUle7vXyayIA2oi9ddIUAX7cI0+lEEVOp4O0f+2kPSfNY zAF3xz1/Kg0Ulq78dGdnVhLVRlRSVnVV03MktjfVT3CdWm9nI8aRwqwKMLJeNMQKZDIa e142GQ3pyiQGK7IsN8Ff0g7bCXlHKVYlS576BpmdF/Q6B7czfV/0GpPpsOgexUr4lVe+ gteg== 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=hlaYGFiLsMBmYRo9IiR+kiBcMM1hACpzasK68s1xMhY=; b=RWvhk84jmvY532dSUDFbab5l59JIgXhTI77/DMxTDEsCHlwMYYp3XWGB6z0Mxezk2s G1VFUoojiHAqinwc+WZ5xa2M4dz+uNZ+9YaZCce+2vZnCole+wKGuaJBNw10uZLL4ccJ XYWujnKXxl7JvflNk4x2+qs8HkZGS/qZOtmOace95//37kmf/yApl6V8GbBc9qlCQnzX 6RAwp2G5MrUFkjTn6k2d0W8+60Ya4xYn5/+UYlfOeU5tBBPKky3VWofcb3qrsujdaU4R 0SZMyp20NF7LuO7e4KkY084V61SnyE/ItiGAhRt1Oo6fzDS+ItZFr2y5Xe8z2RP6sWtr i8kA== X-Gm-Message-State: APt69E20hHyrqZEW44IRyRcDDCBYcoSHFMM6or+B1MmlvF+biKu7NS3e qwICguUznh2wYehe9l5aUc+SpDUk2LT8hbgPZO0= X-Google-Smtp-Source: ADUXVKLHp/A7ON4mDJEsVPRGAFwTRzkoPgQoktKrUSlMfMPLem/wlpaRpInQo+XTZ64vf3IR6VMyMFkyHtcA2nQ1ObM= X-Received: by 2002:a9d:1904:: with SMTP id j4-v6mr1989077ota.21.1528295355200; Wed, 06 Jun 2018 07:29:15 -0700 (PDT) In-Reply-To: <12a92ae2-06e3-b988-567a-3c4fe33bf9e8@xs4all.nl> 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:100946 Archived-At: --===============5492597638333036822== Content-Type: multipart/alternative; boundary="000000000000c248fc056df9fde1" --000000000000c248fc056df9fde1 Content-Type: text/plain; charset="UTF-8" Nice tip, works as expected, thank you, Hans. Jano On Wed, 6 Jun 2018 at 15:02, Hans Hagen wrote: > On 6/6/2018 12:31 PM, Jano Kula wrote: > > Dear list, > > > > images converted on-the-fly (m_k_i_v_*)are stored in the same folder as > > original images. Is there an option to change cache folder? Original > > files are stored in the read-only location. > > > > Script convert offers --outputpath option, but I would like to make the > > switch with script context, using mtxrun --script context . > > \starttext > \externalfigure[hacker.png][conversion=cmyk.pdf,cache=mkivcache] > \stoptext > > > Taco's talk 'mtxrun scripts' at the meeting > > will hopefully > > show us even more magic. > > > > Thank you, > > Jano > > > > > > > ___________________________________________________________________________________ > > 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://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > > ___________________________________________________________________________________ > > > > > -- > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > --000000000000c248fc056df9fde1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Nice tip, works as expected, thank you, Hans.
Jano



On Wed, 6 Jun 201= 8 at 15:02, Hans Hagen <j.hagen@xs4= all.nl> wrote:
On 6/6/2018 1= 2:31 PM, Jano Kula wrote:
> Dear list,
>
> images converted on-the-fly (m_k_i_v_*)are stored in the same folder a= s
> original images. Is there an option to change cache folder? Original <= br> > files are stored in the read-only location.
>
> Script convert offers --outputpath option, but I would like to make th= e
> switch with script context, using mtxrun --script context <file>= .

\starttext
=C2=A0 =C2=A0 =C2=A0\externalfigure[hacker.png][conversion=3Dcmyk.pdf,cache= =3Dmkivcache]
\stoptext

> Taco's talk 'mtxrun=C2=A0scripts' at the meeting
> <http://meeting.contextgarden.net/2018/= abstracts.shtml> will hopefully
> show us even more magic.
>
> Thank you,
> Jano
>
>
> ______________________________________________________________________= _____________
> 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/listin= fo/ntg-context
> webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.ne= t
> archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ______________________________________________________________________= _____________
>


--

-----------------------------------------------------------------
=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=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--000000000000c248fc056df9fde1-- --===============5492597638333036822== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5492597638333036822==--