[racket] Generating svg-images rather than png-images from Scribble

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon Oct 14 15:45:43 EDT 2013

2013/10/14 Matthew Flatt <mflatt at cs.utah.edu>:
> You did set the style for the whole document: The style provided to
> `title` becomes the style for the `part` that represents the document.

Then I must have made a mistake. The following renders
the fish as a png and not as an svg.

#lang scribble/base
@(require scribble/core scribble/html-properties)
@(define svg-style (make-style "svg" (list (render-pict-as 'svg-images))))
@(require (only-in pict standard-fish))
@title[#:style svg-style]{}
@(standard-fish 100 100)

My changes can be seen here:

http://www.pasterack.org/pastes/2659
http://www.pasterack.org/pastes/7339

/Jens Axel

Posted on the users mailing list.