Consider the following Scribble document:
#lang scribble/manual
@title[#:tag "MyTitle"]{MyTitle}
@(module bq racket/base
(require scribble/html/html)
(provide blockquote))
@(require 'bq)
@blockquote{
"Ho, ho, ho! -- Santa Claus."
}
If I try building this with scribble --dest . test.scrbl
, it fails with
/Users/varun/Code/test.scrbl:10:0: not valid in document body (need a pre-part for decode) in: (element 'blockquote '() '("\"Ho, ho, ho! -- Santa Claus.\"") #f)
context...:
body of "/Users/varun/Code/test.scrbl"
.../private/map.rkt:40:19: loop
.../racket/cmdline.rkt:191:51
body of "/Applications/Racket v8.0/share/pkgs/scribble-lib/scribble/run.rkt"
I don't understand the error. What "pre-part" is it referring to? I found a blog post "Writing a paper in Scribble" which describes a similar error; there, the problem is that a number isn't converted to a string. However, I do have a string here, so I don't understand what the issue is.