[racket] Passing command-line parameters *into* Scribble

From: Laurent (laurent.orseau at gmail.com)
Date: Tue Dec 10 06:13:35 EST 2013

I think you want to use "--":

> raco scribble --pdf example.scrbl -- param1 param2

Btw, you can also use scribble directly:

> scribble --pdf example.scrbl -- param1 param2

Laurent



On Tue, Dec 10, 2013 at 11:09 AM, Daniel Prager
<daniel.a.prager at gmail.com>wrote:

> Say I want to pass a command-line parameter into a Scribble file. E.g. in
> a naive attempt I tried
>
> > raco scribble --pdf example.scrbl param1 param2
>
> This doesn't work because param1 is interpreted as an additional input
> file.
>
> Is there a straightforwardway to pass in parameter(s) that bypass the
> watchful eye of raco?
>
>
> Thanks
>
> Dan
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131210/d722cf3f/attachment.html>

Posted on the users mailing list.