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

2019-04-10 Thread Matt Jadud
On Tue, Apr 9, 2019 at 3:55 PM Matthew Flatt wrote: > > Are you running into problems where you really need GUI functionality > to create the image? Or it is just a library is bundled with GUI > functionality --- like `plot`, and maybe the `plot/no-gui` analog is > missing? Or is it more a

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

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,

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

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

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

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

2019-04-08 Thread Ben Greenman
On 4/8/19, Ben Greenman wrote: > I think you want to require slideshow/base instead > Nevermind, that's not right --- at least not on Mac OS where its not possible to instantiate racket/gui in a non-main place. The problem is that requiring slideshow ends up starting the GUI and (I think) a

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

2019-04-08 Thread Ben Greenman
I think you want to require slideshow/base instead -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options,

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

2019-04-08 Thread Stephen Foster
P.S. Sorry about the formatting there. Part of my brain must have thought I was writing markdown. On Monday, April 8, 2019 at 3:49:55 PM UTC-7, Stephen Foster wrote: > > I ran into the following bewildering error from `raco setup` and I was > wondering if anyone knows what's going. > > Here's