[LON-CAPA-users] CAPA translator

Felicia Berryman lon-capa-users@mail.lon-capa.org
Thu, 07 Mar 2002 14:39:38 -0500

Hi Ray,

> <m> is good but there seem to be various things that don't translate well.
>  So I expect to be relying on <web> and <tex> tags a bit.
> I believe  that <web> and <tex>  are supposed to work respectively to send
> output to  the HTML parser (for the web only) and to the TeX parser (for
> printing only).  If that is not how they work I would like to know.

That is how they work.

>   Anyway, I eagerly await  PRT to see how this all pans out in practice.
> I am trusting that the &web function (in particular) will work well.
> If there is a better way to do what Hon-Kie is asking about, I'd also like to
> know.

In my opinion, I don't think it really matters how you convert.  You can
let a script do as much as possible and get things done quickly with
less people, but you will probably have hard to read code.  On the other
hand, you can do the opposite extreme and have your problems look more
LON-CAPA than CAPA, but it will take more time.  In either case, you can
get problems to be usable.  Please note, that certain HTML tags, such as
<b>, will be converted to TeX from the PRT button.  I've directed my
students to use html if possible.  I did this mostly, because I have a
bad habit of avoiding TeX (so I can't teach them much) and I figure that
the trend will be that students will not expect a printout.  

Felicia Berryman
LON-CAPA Coordinator
Michigan State University
  Email:  felicia@lon-capa.org
  Phone:  (517)432-9866