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 <file>. Taco's talk 'mtxrun scripts' at the meeting http://meeting.contextgarden.net/2018/abstracts.shtml will hopefully show us even more magic. Thank you, Jano
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 <file>.
\starttext \externalfigure[hacker.png][conversion=cmyk.pdf,cache=mkivcache] \stoptext
Taco's talk 'mtxrun scripts' 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/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 -----------------------------------------------------------------
Nice tip, works as expected, thank you, Hans.
Jano
On Wed, 6 Jun 2018 at 15:02, Hans Hagen
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 <file>.
\starttext \externalfigure[hacker.png][conversion=cmyk.pdf,cache=mkivcache] \stoptext
Taco's talk 'mtxrun scripts' 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/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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Jano Kula