Ticket #237 (new defect)

Opened 4 years ago

scribble text renderer dies with a type error

Reported by: dyoo Owned by: robby
Priority: major Milestone:
Component: _default-component Keywords:
Cc: Version:
Racket Version: 4.2.3

Description

I'm trying to generate my Moby documentation as a text file through Scribble. I'm running into the following error:

MITHRIL:moby dyoo$ ~/local/plt-svn/bin/scribble manual.scrbl

[Output to manual.txt]

car: expects argument of type <pair>; given #<paragraph>

context


/Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:46:6: render-flow method in ...ibble/text-render.ss:8:4
/Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:23:17: loop
/Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:23:17: loop
/Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:57:6: render-table method in ...ibble/text-render.ss:8:4
/Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:23:17: loop
/Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:46:6: render-flow method in ...ibble/text-render.ss:8:4
/Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:21:6: render-part method in ...ibble/text-render.ss:8:4
/Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:21:6: render-part method in ...ibble/text-render.ss:8:4
/Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:18:11: map
/Users/dyoo/local/plt-svn/collects/scribble/run.ss:90:0: build-docs
/Users/dyoo/local/plt-svn/collects/scribble/run.ss: [running body]

I can't make heads or tails of the types yet. I see the html renderer is doing something special with tables, so I suspect that the text renderer should be doing something similar.

Note: See TracTickets for help on using tickets.