[LON-CAPA-users] Evaluation of variable in tex mode
Michael T Hamlin
Wed, 1 Oct 2003 14:33:12 -0400 (EDT)
to prevent breaking problems, don't change the current behavior.
Instead, add the eval parameter for <tex> <web> and <display>
tags, which acts exactly like the eval parameter for <m> tag.
Only the default value of the parameter will be "on" for these
three, instead of "off" as it is for <m> (i think?).
So if someone really wants no variable interpolation, they can do
> But this does bring up a more interesting question, should <display>
> (and <tex>/<web>) be doing what it is doing here, meaning it is
> currently doing the variable value replacement on the results of the
> <display>, <tex> and <web> tags.
> Should it be doing this? (I can make it stop, but I am not sure it is
> a good idea.)
> Is anyone using this effect?
> Is anyone annoyed by this effect?
> <display>$x=4;&tex('$x$','x')</display> should this put out 4$ or $x$
> in the tex file?
> firstname.lastname@example.org LON-CAPA Developer 0-7-5-6-
> LON-CAPA-users mailing list