about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorArun Isaac2021-07-04 23:37:36 +0530
committerArun Isaac2021-07-04 23:49:56 +0530
commit70049782e787faf3f6c0f54ca8b93d0bc83437ba (patch)
treeb738d865bab9d1d6eaf2c575a0ea1fd9af059083 /doc
parentd470c081ed7c12c610905bfc4fe1dc37cc797cf2 (diff)
downloadccwl-70049782e787faf3f6c0f54ca8b93d0bc83437ba.tar.gz
ccwl-70049782e787faf3f6c0f54ca8b93d0bc83437ba.tar.lz
ccwl-70049782e787faf3f6c0f54ca8b93d0bc83437ba.zip
doc: Use PNG images instead of SVG.
PNG images are supported by both the info and html engines.

* doc/ccwl.skb (Tutorial)[Workflow with multiple steps]: Use PNG
images instead of SVG.
* Makefile.am (CLEANFILES): Replace doc/*.svg with doc/*.png.
(%.svg): Delete rule.
(%.png): New rule.
* .gitignore: Replace doc/*.svg with doc/*.png.
Diffstat (limited to 'doc')
-rw-r--r--doc/ccwl.skb4
-rw-r--r--doc/skribilo.scm2
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/ccwl.skb b/doc/ccwl.skb
index 5fa7b40..b15f861 100644
--- a/doc/ccwl.skb
+++ b/doc/ccwl.skb
@@ -207,7 +207,7 @@ nothing to do with the Unix pipe. The inputs/outputs passed between
 steps are general CWL inputs/outputs. They need not be the standard
 stdin and stdout streams.])
 
-        (image :file "doc/decompress-compile-run.svg")
+        (image :file "doc/decompress-compile-run.png")
 
         (p [Writing this worklow to
 ,(file "decompress-compile-run.scm"), compiling and running it with
@@ -234,7 +234,7 @@ that are independent of each other. The workflow inputs coming into
 ,(code "tee"). The outputs of each step are collected together and
 unioned as the output of the ,(code "tee").])
 
-        (image :file "doc/checksum.svg")
+        (image :file "doc/checksum.png")
 
         (p [Writing this workflow to ,(file "checksum.scm"), compiling
 and running it with some file ,(file "hello.txt") gives us the
diff --git a/doc/skribilo.scm b/doc/skribilo.scm
index 4a5d0c1..22d31f9 100644
--- a/doc/skribilo.scm
+++ b/doc/skribilo.scm
@@ -129,8 +129,6 @@ and END are line numbers indexed from 1."
 (let ((html-engine (find-engine 'html)))
   (engine-custom-set! html-engine 'css "/style.css")
   (engine-custom-set! html-engine 'charset "UTF-8")
-  (engine-custom-set! html-engine 'image-format
-                      (list "svg" "png" "gif" "jpg" "jpeg"))
   (markup-writer 'abbr html-engine
                  #:options '(#:short #:long)
                  #:action (lambda (markup engine)