From 70049782e787faf3f6c0f54ca8b93d0bc83437ba Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 4 Jul 2021 23:37:36 +0530 Subject: 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. --- doc/ccwl.skb | 4 ++-- doc/skribilo.scm | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'doc') 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) -- cgit v1.2.3