[LON-CAPA-users] FW: printing of math
Carl Lira
lira at egr.msu.edu
Wed Dec 2 15:08:27 EST 2015
OK, this seems to occur with the 'simple course page'.
I created a 'Blank Web Page' and copied/pasted my html code from the 'simple
course page', and the pdf rendered fine (using $).
I still would like a good explanation of $ and \[.
-----Original Message-----
From: lon-capa-users-bounces at mail.lon-capa.org
[mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Carl Lira
Sent: Wednesday, December 02, 2015 2:53 PM
To: 'Discussion list for LON-CAPA users' <lon-capa-users at mail.lon-capa.org>
Subject: Re: [LON-CAPA-users] FW: printing of math
Hmm, I removed the $ before I send my inquiry. I could not recall why I had
them inserted, so I removed them and it did not work with or without the $ -
documentation needs to be improved about the function/need of the $ and \[
variants. I also tried using \[ and \], and that did not work either. Maybe
something with my math rendering settings (currently set to MathJax)?
This error is on a simple web page (I don't see a capability to envoke the
mathjax editor on a simple web page). I manually inserted the <m> and/or $
\[ so the equation occurs within the <p> tag. I tried changing the spacing
also in the event that a space was needed before/after the $ but that did
not help.
Can someone give me a good explanation of $ and \[?
Carl Lira
-----Original Message-----
From: lon-capa-users-bounces at mail.lon-capa.org
[mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Peter Dencker
Sent: Wednesday, December 02, 2015 10:42 AM
To: Discussion list for LON-CAPA users <lon-capa-users at mail.lon-capa.org>
Subject: Re: [LON-CAPA-users] FW: printing of math
OK, the inconsistency is the point. Now, the question arises how to fix.
In the interests of backward compatibility I would prefer that once working
problems should also in the future...
- Peter
On 12/02/2015 04:25 PM, Damien Guillaume wrote:
>> Why it is a bug? It seems to be import to distinguish between
>>
>> <m> $ \widetilde{\nu}=1/\lambda $ </m> or <m> \(
>> \widetilde{\nu}=1/\lambda \) </m>
>>
>> and, on the other hand,
>>
>> <m> \[ \widetilde{\nu}=1/\lambda \] </m>
>
> The current behavior, with MathJax displaying equations as if there
> were $ delimiters while other renderers do not, is a bug because it
> leads to errors. I am not suggesting we remove delimiters at this
> point: the easiest fix (which is probably what we will do if it is not
> already
> done) is to make MathJax display fail when it is missing $ delimiters.
> It makes sense especially since MathJax only supports equations, while
> <m> is supposed to handle LaTeX outside of equation delimiters.
>
> In the future I think we should move away from non-math LaTeX (which
> would reduce this problem), but that is another topic of discussion.
>
> Damien
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
--
Dr. Peter Dencker
wissenschaftl. Mitarbeiter
UNIVERSITÄT ZU LÜBECK
INSTITUT FÜR MATHEMATIK
Ratzeburger Allee 160
23562 Lübeck
Tel +49 451 500 4254
Fax +49 451 500 3373
dencker at math.uni-luebeck.de
www.math.uni-luebeck.de
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
More information about the LON-CAPA-users
mailing list