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

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon Oct 14 16:27:51 EDT 2013

2013/10/14 Matthew Flatt <mflatt at cs.utah.edu>:
> At Mon, 14 Oct 2013 21:45:43 +0200, Jens Axel Søgaard wrote:
>> 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.
>
> It looks like I pointed you to the multi-page HTML method, only. For
> single-page HTML, the `render-part` method is inherited from
> "base-render.rkt".
>
> Both paths get to `render-part-content`, and probably that's the right
> place to parameterize.

That seems to work.

I have pushed the changes.

/Jens Axel


Posted on the users mailing list.