I have the arara rule ghostscript.yaml
written by @clemens and @esdd and some lints added by myself, which converts pdf-files into graphic files, like png, using ghostscript.
I set up TeXLive 2018. My old arara rules do not work any more.
I tried the rule converter rc.jar without succes.
What have I to do?
!config
# GhostScript rule for arara
# author: Clemens Niederberger, Elke Schubert
# version: 0.4b 2014/30/06
# requires arara 3.0+
identifier: ghostscript
name: GhostScript
command: <arara> @{program} @{options} -r@{resolution}
-sDEVICE=@{device} -dGraphicsAlphaBits=@{alphabits} -dTextAlphaBits=@{alphabits}
-sOutputFile=@{outputfilename}@{allpages}.@{format} @{getBasename(file)}.pdf
arguments:
- identifier: program
flag: <arara> @{parameters.program}
default: <arara> @{ isWindows("gswin32c", "gs") }
- identifier: options
flag: <arara> @{parameters.options}
default: -q -dNOPAUSE -dBATCH -dEPSCrop
- identifier: allpages
flag: <arara> @{ isTrue( parameters.allpages , "-%d" ) }
- identifier: resolution
flag: <arara> @{parameters.resolution}
default: 300
- identifier: device
flag: <arara> @{parameters.device}
default: png16m
- identifier: alphabits
flag: <arara> @{parameters.alphabits}
default: 4
- identifier: outputfilename
flag: <arara> @{parameters.outputfilename}
default: <arara> @{getBasename(file)}
- identifier: format
flag: <arara> @{parameters.format}
default: png
-dNOSAFER
to thegs
options. See tex.stackexchange.com/a/453786GPL Ghostscript 9.25: Can't find initialization file gs_init.ps
- I think I have to solve that, if I can.