<div dir="ltr">[ adding the list back to the cc line ]<div><br></div><div style>You are right: you cannot. You need to use a different mechanism, the one described at the link I sent.</div><div style><br></div><div style>Did you try that and get stuck? If so, it would be great to hear how so I can improve those docs to help future users.</div>
<div style><br></div><div style>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 21, 2013 at 8:51 AM, Eduardo Costa <span dir="ltr">&lt;<a href="mailto:edu500ac@gmail.com" target="_blank">edu500ac@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I am afraid I will not understand how to make @image{..} accept an url without a concrete example. I tried everything that occurred to me, but it still does not work.  Could you just tell me how to make image accept an url? I think that I will be able to add other things after seeing this example.<br>

<br></div>I used grep to  look for an example in the scribble folder, but I failed in finding one.  Thank you for replying and making suggestions.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">2013/4/20 Robby Findler <span dir="ltr">&lt;<a href="mailto:robby@eecs.northwestern.edu" target="_blank">robby@eecs.northwestern.edu</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You would need to use Scribble&#39;s extension mechanism to tell it to generate an &lt;img&gt; tag (and either don&#39;t compile to pdf or do something clever for that case). Here are the docs for that:<div>


<br></div><div>  <a href="http://docs.racket-lang.org/scribble/config.html?q=scribble" target="_blank">http://docs.racket-lang.org/scribble/config.html?q=scribble</a><br><div><br></div><div>Robby</div></div></div><div class="gmail_extra">


<br><br><div class="gmail_quote"><div><div>On Sat, Apr 20, 2013 at 6:00 PM, Eduardo Costa <span dir="ltr">&lt;<a href="mailto:edu500ac@gmail.com" target="_blank">edu500ac@gmail.com</a>&gt;</span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div><div>I need to use scribble to present cgi generated chemical and mathematical equations. I mean, the figures will be generated on demand; they don&#39;t exist when I compile the program. According to the principle of least astonishment, I tried something like that:<br>



<br><br>#lang scribble/base<br><br>@title{Equations}<br><br>@image{<a href="http://strues.org/cgi-bin/tex.cgi" target="_blank">http://strues.org/cgi-bin/tex.cgi</a>?\sqrt{2}}<br><br><br></div>When I tried to compile the program, I got an error message:<br>



<br>~/wrk/scb$ scribble simple.scb<br> [Output to simple.html]<br>copy-file: cannot open source file<br>  source path: /home/rosa/wrk/scb/http:/<a href="http://strues.org/cgi-bin/tex.cgi" target="_blank">strues.org/cgi-bin/tex.cgi</a>?\sqrt{2}<br>



  destination path: /home/rosa/wrk/scb/tex.cgi?\sqrt{2}<br>  system error: No such file or directory; errno=2<br><br></div>It seems that Scribble wants a ready made image on the path offered to @image{...}. Is there a way around?<br>



<br><br></div>
<br></div></div>____________________<br>
  Racket Users list:<br>
  <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>