Re: [racket] Scribble source file with inline images

2014-06-04 Thread Jens Axel Søgaard
2014-06-03 22:14 GMT+02:00 Matthew Flatt : > The piece that can't handle non-character input is the `@` reader. > > You can avoid it by a kind of `include`, so that a plain Racket reader > is used to get the source. This almost works: ... > The enclosed "flappy.scrbl" fills in the last step. The `b

Re: [racket] Scribble source file with inline images

2014-06-03 Thread Matthew Flatt
The piece that can't handle non-character input is the `@` reader. You can avoid it by a kind of `include`, so that a plain Racket reader is used to get the source. This almost works: #lang scribble/manual @(require (for-syntax racket/base syntax/strip-context

[racket] Scribble source file with inline images

2014-06-03 Thread Jens Axel Søgaard
Hi all, I have the following source file which contains inline images: https://github.com/soegaard/flappy-bird/blob/master/flappy-bird.rkt I'd like to use Scribble to pretty print it to html. I tried wrapping the source in a racketblock, but I get an error concerning the inline images "Onl