<div dir="ltr"><div><div><div><div>thank's for the replies!<br><br></div>my current understanding
 is that where John uses:  @(require "pr-math.rkt"), Prabhakar uses: @(require 
"math-utilities.rkt"), and that either one will work, if the file 
defined here:  <a href="https://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt" target="_blank">https://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a> is saved locally under that name.<br>
<br></div>question 1:  it seems one standard way to get these "packages" or files is the one documented here:  <a href="http://docs.racket-lang.org/planet/Using_PLaneT.html" target="_blank">http://docs.racket-lang.org/planet/Using_PLaneT.html</a>
 .   however, the list of packages on planet is very long.  is there a 
way to search it?  or to jump to all packages starting with "k" for 
example?  <br><br><br>question 2:   <a href="http://docs.racket-lang.org/pkg/Managing_Packages.html#%28def._%28%28lib._pkg/main..rkt%29._show%29%29">http://docs.racket-lang.org/pkg/Managing_Packages.html#%28def._%28%28lib._pkg/main..rkt%29._show%29%29</a> gives info on how to install packages from the command line, but I have not succeeded in doing so yet.  I think part of the problem is that I don't know how to specify what package I want.  there doesn't seem to be a function to list the available packages, at least not from the command line.  it would seem that this list of packages is provided by planet. however, I don't see any .rkt files there.  it seems to me like there must be a "slick" way of getting code like Prabhakar's, more slick than selecting, copying and pasting into a new file, naming it, then including it.  however, I don't see it yet.<br>
<br></div><div>I have now tried (following  <a href="http://docs.racket-lang.org/pkg/Package_Concepts.html#%28tech._package._source%29">http://docs.racket-lang.org/pkg/Package_Concepts.html#%28tech._package._source%29</a>  ):<br>
<br></div>mikethe1wheelnut@mikethe1wheelnut-OptiPlex-9010:~$ raco pkg install -t github github://<a href="http://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt">github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br>
raco pkg install: could not infer package name from source<br>  source: github://<a href="http://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt">github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br><br>
mikethe1wheelnut@mikethe1wheelnut-OptiPlex-9010:~$ raco pkg install -t name github://<a href="http://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt">github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br>
raco pkg install: could not infer package name from source<br>  source: github://<a href="http://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt">github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br><br>
mikethe1wheelnut@mikethe1wheelnut-OptiPlex-9010:~$ raco pkg install -t file-url github://<a href="http://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt">github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br>
URL scheme "github" not supported<br><br>mikethe1wheelnut@mikethe1wheelnut-OptiPlex-9010:~$ raco pkg install github://<a href="http://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt">github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br>
raco pkg install: could not infer package name from source<br>  source: github://<a href="http://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt">github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br><br>
<br></div><div>questions 3: it would be nice if there was a way to 1) output the results of prabhakar's code to the "DrRacket’s bottom text area", as opposed to a separate pdf document, and similarly 2), to request math formulas from there as well, as I have tried to do here (screen-shot)<br>
<br><div class="gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd">
<a href="https://docs.google.com/file/d/0B1ggRM1W8Jy9T1h1ZVRxS0VLZW8/edit?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:medium none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">ragde.png</span></a></div>
<br></div><div>any tips would be appreciated.  in the meantime, I'll continue reviewing the racket documentation.<br><br></div><div>-mike<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 1:58 PM, Jens Axel Søgaard <span dir="ltr"><<a href="mailto:jensaxel@soegaard.net" target="_blank">jensaxel@soegaard.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/12/6 Prabhakar Ragde <<a href="mailto:plragde@uwaterloo.ca">plragde@uwaterloo.ca</a>>:<br>
<div><div class="h5">> On 2013-12-06 9:48 AM, John Clements wrote:<br>
><br>
>> Yes, that code definitely has a dependency on an outside file called<br>
>> "math-utilities.rkt".<br>
><br>
> The contents of Jens Axel's file:<br>
><br>
>>> <a href="https://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt" target="_blank">https://github.com/soegaard/bracket/blob/master/docs/pr-math.rkt</a><br>
><br>
> is pretty much my "math-utilities.rkt". --PR<br>
<br>
</div></div>Yes, the pr-math code is from <a href="http://con.racket-lang.org/pr-slides.pdf" target="_blank">http://con.racket-lang.org/pr-slides.pdf</a><br>
<a href="http://lists.racket-lang.org/users/archive/2012-July/052976.html" target="_blank">http://lists.racket-lang.org/users/archive/2012-July/052976.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
/Jens Axel<br>
</font></span></blockquote></div><br></div>