[LON-CAPA-admin] [External] tex rendering problem?

Raeburn, Stuart raeburn at msu.edu
Wed Sep 7 16:57:32 EDT 2022


Nathan,

LON-CAPA 2.11.3 and later include a Domain configuration to set the default math render in your LON-CAPA domain.  Unless a Domain Coordinator has set a configuration, it will currently be tth.  To change it, select your Domain Coordinator role and use:

Main Menu > Set domain configuration > Display (Course/Community defaults checked)

Then in the "Defaults which can be overridden in each course by a CC" for this item:
Default method to display mathematics, select MathJax
and push "Save Changes"

Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> on behalf of Lucas, Mark via LON-CAPA-admin <lon-capa-admin at mail.lon-capa.org>
Sent: Wednesday, September 7, 2022 4:37 PM
To: Moore, Nathan T; list about administration and system updating
Subject: Re: [LON-CAPA-admin] [External]  tex rendering problem?

Nathan,

The text the student is seeing is from the tth (TeX to HTML) processor.

There are three options for display right now:
MathJax, Convert to Images (mimetex: converts latex to a graphic and displays the graphic) or TeX to HTML.

On a course basis under Course Settings -> Display of Resources you can force the math rendering
engine to one of those three choices or “None Specified - Use Student Choice”.

A student (or other user) can select the math rendering type under their own user preferences. The
default may still be tth.

Under your course settings you can change this to MathJax. My impression is that is now pretty safe,
but the mathematicians may be able to chime in better. This will guaranteed MathJax is used.

(Renderers can be forced in the problem code, but I remember that being frowned upon.)

Hope this helps,
Mark

> On Sep 7, 2022, at 4:10 PM, Moore, Nathan T via LON-CAPA-admin <lon-capa-admin at mail.lon-capa.org> wrote:
>
> Use caution with links and attachments.
>
> 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


More information about the LON-CAPA-admin mailing list