|image||topic started 3/26/2003; 10:21:49 PM
last post 3/26/2003; 10:21:49 PM
|Michael Gage - image
3/26/2003; 10:21:49 PM (reads: 1448, responses: 0)
Takes a relative path to an image file and creates a URL string to the file. In TeX mode it also creates an eps file and links to it.
In the various HTML modes it creates a string with an <IMG> tag with the url provided by "alias".
Either an array of strings (each with an image tag or macro) OR the FIRST string in the array, depending on whether it is called in scalar or array context. (It does not return the size of the array when used in scalar context.) The most common usage is the array context.
The "alias" macro defined in dangerousMacros.pl does much of the work of determining the correct URL for the image file and in directing the creation of an eps file if it is needed.
Macro Definition File