[LON-CAPA-users] CAPA translator

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Thu, 7 Mar 2002 13:47:26 -0500 (EST)

Hi Hon-Kie,

> 1. What is the "correct" way to translate &web, &tex and &html functions 
> when they are called from the problem narrative? Is <display> a no-no?

It would be best to eliminate them, since most times they were their
to mask deficiencies in how CAPA handled things. (Meaning that usually
either the TeX code or the HTML was the superior version, and thus
retain the superior version, and let the cautoconversion handle the

Almost all &web functions I convert to be <m>tex arg</m>

When it is a image display I throw away all of the tex code and just
put in.

<img src="something.gif" />

As the HTML->TeX conversion deals with this well.

I have left some tables in <m> tags, they have worked well and will
convert nicely.

Longer sections of tex that make sense for the printed output I have
been putting inside <tex> </tex>. (We have problems that make two side
by side parboxes 1 with problem text and 1 with the image, this parbox
code gets hidden from the screen but would be preserved for the
printed page.)

> 2. How should files like StdUnits, StdMacros etc be handled? Has a decision 
> been made as to where the files should be placed?

Mark Lucas has continued to use these files.

I have eliminated them. I have been converting $m_u to 
<m>$m$</m> etc.

albertel@msu.edu        BM: n^20 t20 z20 qS 
Guy Albertelli -7-9-8-  O-
    I have the power to channel my imagination into ever-soaring levels
    of suspicion and paranoia.