[racket] Generating svg-images rather than png-images from Scribble
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