[LON-CAPA-admin] tex rendering problem?

Moore, Nathan T nmoore at winona.edu
Wed Sep 7 16:10:03 EDT 2022


Hi,

I have a few problems that use the <m>$x^2=4$</m> latex syntax for math rendering.  

Some of my students tell me that the problem code

<p>
What is <m>$\vec{A}\cdot\vec{C}$</m>?
</p>

renders on their screen as the bare ASCII text:

What is [(A)\vec].[(C)\vec]?

When I look at this problem on my laptop I see normally rendered Computer Modern tex output.  Is there a security or config setting on my students' computers that I should attend to?  

These problems live in the public repository, /res/winona/NMoore/openstax-university-physics-1/ch2-vectors/

Any suggestions appreciated!

Nathan



Problem follows
<problem>

<script type="loncapa/perl">
#Enter the computations here
$a=&random(1,10,1);
$b=&random(1,10,1);
$c=$a+$b;
$i_dot_b=5.0*&cos(53*&acos(-1.0)/180.0)
</script>

<startouttext />
<img alt="images from the book's chapter 2, problem 62" src="vectors.jpg"></img>

<p>
What is <m>$\vec{A}\cdot\vec{C}$</m>?
</p>
<endouttext />

<numericalresponse id="11" answer="0">
    <responseparam name="tol" type="tolerance" description="Numerical Tolerance" default="5%" />
    <textline spellcheck="none" readonly="no" />
</numericalresponse><startouttext /><p>
What is <m>$\vec{A}\cdot\vec{F}$</m>?
</p><endouttext />
<numericalresponse answer="-200" id="12">
<responseparam description="Numerical Tolerance" type="tolerance" name="tol" default="5%" />
<responseparam default="0,15" name="sig" type="int_range,0-16" description="Significant Figures" />
    <textline spellcheck="none" readonly="no" />
    
</numericalresponse><startouttext />
<p>
What is <m>$\hat{i}\cdot\vec{B}$</m>?
</p><endouttext />
<numericalresponse id="13" answer="$i_dot_b">
<responseparam default="5%" description="Numerical Tolerance" type="tolerance" name="tol" />
<responseparam default="0,15" name="sig" description="Significant Figures" type="int_range,0-16" />
    <textline readonly="no" spellcheck="none" />
    <hintgroup showoncorrect="no">
    <startouttext /><endouttext />
    </hintgroup>
</numericalresponse><startouttext /><p>
What is <m>$\vec{B}\cdot\hat{B}$</m>?
</p><endouttext />
<numericalresponse id="14" answer="5.0">
<responseparam default="5%" name="tol" description="Numerical Tolerance" type="tolerance" />
<responseparam default="0,15" name="sig" type="int_range,0-16" description="Significant Figures" />
    <textline readonly="no" spellcheck="none" />
    <hintgroup showoncorrect="no">
    <startouttext /><endouttext />
    </hintgroup>
</numericalresponse>
<allow src="/res/winona/NMoore/openstax-university-physics-1/ch2-vectors/vectors.jpg" />
</problem>




More information about the LON-CAPA-admin mailing list