[LON-CAPA-users] best way to include image?

Mark Lucas lon-capa-users@mail.lon-capa.org
Wed, 5 Feb 2003 17:01:31 -0500 (EST)


Lars,

	What I have been doing is the following:

Our images are dual-published with .jpg and .eps.

I include

<img src="/res/ohiou/OUp200lib/pictures/picture.jpg" 
alt="Figure description for attempt at ADA compliance"
TeXwidth="60" align="center" />

I then place an allow at the bottom:

<allow src="/res/ohiou/OUp200lib/pictures/picture.*" />


The TeXwidth="60" is 60mm. I think there are supposed to be percentage 
options now, but this was not available when I did it.

If the .eps is missing (or not allowed), it will autoconvert the jpg and 
the eps will look somewhat shabby. I guess I haven't tried the other way
around (publish eps and see if it converts to jpg). It might get a bit 
resource intensive to do this on the fly (printing happens a lot less than 
viewing).

The allow at the end can be more specific (one allow for the jpg, one for 
the eps).

Anybody want to comment on the current style at MSU? Felicia, what have 
you guys been doing with images?

Later,
	Mark

On Wed, 5 Feb 2003, Lars Jensen wrote:

> When including a tex-source in lon-capa, included images are usually in
> e-s format. What us the best way to include the image in lon-capa?
> 
> Should I:
> 
> 1) Convert manually to another format (png?) for the html view format 
>    and include both eps and the other format when publishing
> 
> 2) Only include eps, and let lon-capa do conversions?
> 
> Is it correct to assume that I exclude the file-extension of the image 
> in the specification of the image resource...
> 
> Does lon-capa understand \includegraphics so that there are no
> ambiguities when printing or viewing the file? In other words, can I
> semple include an image by inserting:
> <m>
> \includegraphics{epsimage}
> </m>
> and get both correct printing and viewing?
> 
> Lars.
> 
> --
> Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. 
> Internet: <jensen@physics.unr.edu>, http://www.scsr.nevada.edu/~jensen
> Tel: 775.673.7113  FAX: 775.674.7592
> 
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
> 

----------------------------------------------------------------------------
Mark Lucas					email: lucasm@ohiou.edu
252D Clippinger Lab  				phone: (740)597-2984
Department of Physics and Astronomy             fax:   (740)593-0433
Ohio University
Athens, OH 45701