Here is the message.<br><br>PLaneT packager: Error generating scribble documentation: scribblings\sets.scrbl<br>:128:2: item: illegal use of syntax in: (item (scheme #:fifo) "---" (scheme item<br>) " is inserted at the end of " (scheme set) ". The " (scheme priority) ", if p<br>
rovided, is ignored.")<br><br><br><div class="gmail_quote">On Sat, Apr 25, 2009 at 9:46 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Square brackets are better, but curly braces should still work. (The<br>
`itemize' function throws out whitespace argument mingled with item<br>
values, which is a kind of hack to support curly braces.) I think the<br>
error that you're seeing is unrelated to {} vs. [].<br>
<br>
What does the syntax error say?<br>
<div><div></div><div class="h5"><br>
At Sat, 25 Apr 2009 09:38:15 -0600, Doug Williams wrote:<br>
> I read all of the Scribble documentation early on and got rather confused at<br>
> the time. [I'm sure the documentation is much better now that when it was<br>
> first rolled out.] I relied on trial and error to get things to work.<br>
> Unfortunately, I got itemized lists working with braces and that's been my<br>
> design pattern - unfortunately, my design pattern is wrong. I am curious why<br>
> it broke though. My fear is that many of my packages no longer load.<br>
><br>
> On Sat, Apr 25, 2009 at 9:33 AM, Robby Findler<br>
> <<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>>wrote:<br>
><br>
> > If you want to understand why they work and why they don't work, I<br>
> > recommend the section on @ in the scribble manual.<br>
> ><br>
> > Robby<br>
> ><br>
> > On Sat, Apr 25, 2009 at 10:33 AM, Doug Williams<br>
> > <<a href="mailto:m.douglas.williams@gmail.com">m.douglas.williams@gmail.com</a>> wrote:<br>
> > > Matthias pointed that out to me. Unfortunately, braces generally work,<br>
> > too.<br>
> > > In fact, that exact one worked until recently. I'll go back and recode<br>
> > them<br>
> > > all at some point.<br>
> > ><br>
> > > On Sat, Apr 25, 2009 at 9:29 AM, Robby Findler <<br>
> > <a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>><br>
> > > wrote:<br>
> > >><br>
> > >> You want square brackets in the itemize, not {} ones. Itemize expects<br>
> > >> item arguments only, but with the {} you get spaces and newlines and<br>
> > >> things like that as well.<br>
> > >><br>
> > >> Robby<br>
> > >><br>
> > >> On Sat, Apr 25, 2009 at 10:04 AM, Doug Williams<br>
> > >> <<a href="mailto:m.douglas.williams@gmail.com">m.douglas.williams@gmail.com</a>> wrote:<br>
> > >> > I had the following in the Scribble documentation for the simulation<br>
> > >> > collection.<br>
> > >> ><br>
> > >> > @defproc[(set-insert! (set set?) (item any/c) (priority real? 100))<br>
> > >> > any]{<br>
> > >> > Create a cell containing @scheme[item] and inserts it into<br>
> > @scheme[set]<br>
> > >> > with<br>
> > >> > the given @scheme[priority] according to the type of the set.<br>
> > >> ><br>
> > >> > @itemize{<br>
> > >> > @item{@scheme[#:fifo]---@scheme[item] is inserted at the end of<br>
> > >> > @scheme[set]. The @scheme[priority], if provided, is ignored.}<br>
> > >> > @item{@scheme[#:lifo]---@scheme[item] is inserted at the beginning<br>
> > of<br>
> > >> > @scheme[set]. The @scheme[priority], if provided, is ignored.}<br>
> > >> > @item{@scheme[#:priority]---@scheme[item] is inserted into<br>
> > >> > @scheme[set]<br>
> > >> > according to the @scheme[priority]. If @scheme[priority] is not<br>
> > >> > provided,<br>
> > >> > the default value of @math{100} is used.}<br>
> > >> > }}<br>
> > >> ><br>
> > >> > That worked fine at the time version 3.3 of the simulation collection<br>
> > >> > was<br>
> > >> > built. [That was Nov. 27, 2008 according to the SVN log, but I'm not<br>
> > >> > sure<br>
> > >> > what version of PLT Scheme I had loaded at that time.] Now it gives a<br>
> > >> > syntax<br>
> > >> > error and points to the first item in the itemized list. Removing that<br>
> > >> > one<br>
> > >> > just moves the error the the second item.<br>
> > >> ><br>
> > >> > Moving the itemized list outside of the body of the defproc block<br>
> > >> > removes<br>
> > >> > the error. The closing brace (curly bracket) was moved from the end of<br>
> > >> > the<br>
> > >> > itemized list up before the itemized list.<br>
> > >> ><br>
> > >> > @defproc[(set-insert! (set set?) (item any/c) (priority real? 100))<br>
> > >> > any]{<br>
> > >> > Create a cell containing @scheme[item] and inserts it into<br>
> > @scheme[set]<br>
> > >> > with<br>
> > >> > the given @scheme[priority] according to the type of the set.}<br>
> > >> ><br>
> > >> > @itemize{<br>
> > >> > @item{@scheme[#:fifo]---@scheme[item] is inserted at the end of<br>
> > >> > @scheme[set]. The @scheme[priority], if provided, is ignored.}<br>
> > >> > @item{@scheme[#:lifo]---@scheme[item] is inserted at the beginning<br>
> > of<br>
> > >> > @scheme[set]. The @scheme[priority], if provided, is ignored.}<br>
> > >> > @item{@scheme[#:priority]---@scheme[item] is inserted into<br>
> > >> > @scheme[set]<br>
> > >> > according to the @scheme[priority]. If @scheme[priority] is not<br>
> > >> > provided,<br>
> > >> > the default value of @math{100} is used.}<br>
> > >> > }<br>
> > >> ><br>
> > >> > Does anyone know what the problem is?<br>
> > >> ><br>
> > >> > The real problem is that building the Scribble documents failed when<br>
> > the<br>
> > >> > simulation collection was downloaded from PLaneT using PLT Scheme<br>
> > 4.1.5.<br>
> > >> > I've updated the PLaneT package so it loads now, but wonder if any<br>
> > other<br>
> > >> > packages have a similar problem.<br>
> > >> ><br>
> > >> > Doug<br>
> > >> ><br>
> > >> > _________________________________________________<br>
> > >> > For list-related administrative tasks:<br>
> > >> > <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br>
> > >> ><br>
> > >> ><br>
> > ><br>
> > ><br>
> ><br>
> _________________________________________________<br>
> For list-related administrative tasks:<br>
> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br>
</div></div></blockquote></div><br>