Re: [racket-users] Is it necessary to print after expansion?

2019-04-09 Thread jackhfirth
> > Still, because I'm writing for people new to Racket, I think it's wiser to > promote a habit of explicitly calling an output function. Why? Because as > you move code around, you may be surprised when something stops printing > (because it's no longer at the top level). For instance, new Ra

Re: [racket-users] Re: raco setup conflicting with slideshow

2019-04-09 Thread Robby Findler
I think it would be nice if there were a new library, pulled out of the current slideshow/base that exported more pict-making functions and didn't depend on these various things. I've looked into this before and I came to the conclusion that it didn't belong in pict because of the way it does font

Re: [racket-users] Re: raco setup conflicting with slideshow

2019-04-09 Thread Stephen Foster
P.S. I guess it's mainly just the para, item, and subitem functions. The rest of the text functions (e.g. (tt ...)) seem pretty straightforward to get pict to do -- and in many cases the pict translation is specified in the docs. On Tue, Apr 9, 2019 at 2:57 PM Stephen Foster wrote: > Thanks, Ma

Re: [racket-users] Re: raco setup conflicting with slideshow

2019-04-09 Thread Stephen Foster
Thanks, Matthew. That does help me understand what's going on a bit better. I do want to point out that, as far as I know, there are some pict functions that are only provided through slideshow. For example, the (para ...) function -- which was what I was using when I ran into the aforementioned

Re: [racket-users] Re: raco setup conflicting with slideshow

2019-04-09 Thread Matthew Flatt
At Tue, 9 Apr 2019 14:50:15 -0400, Matt Jadud wrote: > On Tue, Apr 9, 2019 at 2:44 PM Stephen Foster > wrote: > > > > > I've always assumed that any correct Racket code can be run during setup's > > documentation-building time. If this isn't true, how can I know which > > Racket code can be used

Re: [racket-users] Re: raco setup conflicting with slideshow

2019-04-09 Thread Matthew Flatt
At Tue, 9 Apr 2019 11:44:26 -0700 (PDT), Stephen Foster wrote: > The weird thing is that (require slideshow) doesn't cause problems when I > run that file in Racket, or when I the docs with scribble. It's only a > problem when I use raco setup. The problem is that `slideshow` weird. Unlike most

Re: [racket-users] Re: raco setup conflicting with slideshow

2019-04-09 Thread Matt Jadud
On Tue, Apr 9, 2019 at 2:44 PM Stephen Foster wrote: > > I've always assumed that any correct Racket code can be run during setup's > documentation-building time. If this isn't true, how can I know which > Racket code can be used in this way and which can't? > > I just wanted to +1 this thread;

Re: [racket-users] Re: raco setup conflicting with slideshow

2019-04-09 Thread Stephen Foster
Thanks, Ben. The weird thing is that (require slideshow) doesn't cause problems when I run that file in Racket, or when I the docs with scribble. It's only a problem when I use raco setup. My assumption is that raco setup is supposed to build my docs in the same way I could have done myself (e