summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/grph-con.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-04-26 00:56:11 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-04-26 00:56:11 +0200
commit0189223a1a40debb4cb3b146ce182eb806cd28f2 (patch)
treeef50df44125284834b25f5eb59a58afadfe5a4d3 /tex/context/base/mkiv/grph-con.lua
parent32e6c720c4f84f112596c6b4a75193f99e9be158 (diff)
downloadcontext-0189223a1a40debb4cb3b146ce182eb806cd28f2.tar.gz
2019-04-25 10:44:00
Diffstat (limited to 'tex/context/base/mkiv/grph-con.lua')
-rw-r--r--tex/context/base/mkiv/grph-con.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/tex/context/base/mkiv/grph-con.lua b/tex/context/base/mkiv/grph-con.lua
index f106e1036..ab6651f97 100644
--- a/tex/context/base/mkiv/grph-con.lua
+++ b/tex/context/base/mkiv/grph-con.lua
@@ -68,9 +68,9 @@ do -- eps | ps
-dPDFSETTINGS=/%presets%
-dEPSCrop
-dCompatibilityLevel=%level%
- -sOutputFile="%newname%"
+ -sOutputFile=%newname%
%colorspace%
- "%oldname%"
+ %oldname%
-c quit
]],
checkers = {
@@ -197,9 +197,9 @@ do -- svg
name = "svg to something",
program = "inkscape",
template = longtostring [[
- "%oldname%"
+ %oldname%
--export-dpi=%resolution%
- --export-%format%="%newname%"
+ --export-%format%=%newname%
]],
checkers = {
oldname = "readable",
@@ -324,7 +324,7 @@ do -- png | jpg | profiles
local pngtocmykpdf = sandbox.registerrunner {
name = "png to cmyk pdf",
program = "gm",
- template = [[convert -compress Zip -strip +profile "*" -profile "%rgbprofile%" -profile "%cmykprofile%" -sampling-factor 1x1 "%oldname%" "%newname%"]],
+ template = [[convert -compress Zip -strip +profile "*" -profile %rgbprofile% -profile %cmykprofile% -sampling-factor 1x1 %oldname% %newname%]],
checkers = checkers,
defaults = defaults,
}
@@ -332,7 +332,7 @@ do -- png | jpg | profiles
local jpgtocmykpdf = sandbox.registerrunner {
name = "jpg to cmyk pdf",
program = "gm",
- template = [[convert -compress JPEG -strip +profile "*" -profile "%rgbprofile%" -profile "%cmykprofile%" -sampling-factor 1x1 "%oldname%" "%newname%"]],
+ template = [[convert -compress JPEG -strip +profile "*" -profile %rgbprofile% -profile %cmykprofile% -sampling-factor 1x1 %oldname% %newname%]],
checkers = checkers,
defaults = defaults,
}
@@ -340,7 +340,7 @@ do -- png | jpg | profiles
local pngtograypdf = sandbox.registerrunner {
name = "png to gray pdf",
program = "gm",
- template = [[convert -colorspace gray -compress Zip -sampling-factor 1x1 "%oldname%" "%newname%"]],
+ template = [[convert -colorspace gray -compress Zip -sampling-factor 1x1 %oldname% %newname%]],
checkers = checkers,
defaults = defaults,
}
@@ -348,7 +348,7 @@ do -- png | jpg | profiles
local jpgtograypdf = sandbox.registerrunner {
name = "jpg to gray pdf",
program = "gm",
- template = [[convert -colorspace gray -compress Zip -sampling-factor 1x1 "%oldname%" "%newname%"]],
+ template = [[convert -colorspace gray -compress Zip -sampling-factor 1x1 %oldname% %newname%]],
checkers = checkers,
defaults = defaults,
}
@@ -401,7 +401,7 @@ do -- png | jpg | profiles
local recolorpng = sandbox.registerrunner {
name = "recolor png",
program = "gm",
- template = [[convert -recolor "%color%" "%oldname%" "%newname%"]],
+ template = [[convert -recolor %color% %oldname% %newname%]],
checkers = checkers,
defaults = defaults,
}