summaryrefslogtreecommitdiff
path: root/tex/context/base/rlxtools.rlx
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/rlxtools.rlx')
-rw-r--r--tex/context/base/rlxtools.rlx11
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/rlxtools.rlx b/tex/context/base/rlxtools.rlx
index 308d533d5..2c5c3c6ce 100644
--- a/tex/context/base/rlxtools.rlx
+++ b/tex/context/base/rlxtools.rlx
@@ -78,4 +78,15 @@
</rl:step>
</rl:manipulator>
+ <rl:manipulator name='pdf' suffix='gif'>
+ <rl:old><rl:value name='path'/>/<rl:value name='file' method='nosuffix'/>.gif</rl:old>
+ <rl:new><rl:value name='cache' default='.'/>/<rl:value name='file' method='nosuffix'/>.pdf</rl:new>
+ <rl:step>
+ texmfstart pstopdf --convert
+ --inputpath=<rl:value name='path'/>
+ --outputpath=<rl:value name='cache' default='.'/>
+ <rl:value name='file' method='nosuffix'/>.gif
+ </rl:step>
+ </rl:manipulator>
+
</rl:manipulators>