On Mar 25, 7:18 am, Marshall Hampton <[EMAIL PROTECTED]> wrote:
> I would be interested in learning other ways to do this, but here is
> one way.   You can include arbitrary html with the html command.  So
> for example, to show a picture of a steam engine from wikipedia you
> could do:
>
> html('<img src="http://upload.wikimedia.org/wikipedia/commons/9/9e/
> Maquina_vapor_Watt_ETSIIM.jpg">')
>
> inside a sage cell.
>
> I had some trouble doing this with local files but I'm sure it can be
> done - this is not my forte.
>
Hi,

I thought of that, but while a local file would work on the computer I
_originally_ develop the notebook worksheet on, it won't work as a
shared resource (it won't be saved as part of the notebook) will it? I
mean, if I embed a file in the HTML from my hard drive, it doesn't get
stored as a binary part of the worksheet on the server, does it?

I would like the image to be stored _with_ (or as part of) the
worksheet, on the server, so it is available for anyone who views the
worksheet.

I hope that is clear enough. Thanks for the suggestion though,
Duane

> Cheers,
> Marshall Hampton
>
> On Mar 25, 6:48 am, DuaneKaufman <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have looked through the documentation for the Sage notebook, but I
> > couldn't find any information on how to embed arbitrary images in a
> > notebook.
>
> > Let's say I have a calculation I want to illustrate, and I would like
> > a pictorial representation of the physical system (indicating lengths,
> > angles, etc) I can create this image in an outside utility, but how do
> > I get it into a Sage notebook, so that when, perhaps another person,
> > at another computer views it, the picture is there to illustrate the
> > problem?
>
> > Thanks,
> > Duane
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to