[OS X TeX] xhmlatex
David Arnold
dwarnold45 at suddenlink.net
Thu Feb 16 19:27:20 CET 2012
Yep, I like MathJax a lot. Made this web page with MathJax:
http://msemac.redwoods.edu/~darnold/math50c/mathjax/spherical/index.xhtml
D.
On Feb 16, 2012, at 10:20 AM, Alain Schremmer wrote:
>
> On Feb 16, 2012, at 1:04 PM, Victor Ivrii wrote:
>
>> On Thu, Feb 16, 2012 at 6:42 AM, Alain Schremmer
>> <schremmer.alain at gmail.com> wrote:
>>>
>>> On Feb 16, 2012, at 1:28 AM, Michael Sharpe wrote:
>>>
>>>> a means of translating a tex file written with $ delimiters to one [with
>>>> \(..\)]
>>>
>>>
>>> That would also be great with MathJax(*) because with, say, "apples cost $3
>>> and bananas cost $4", MathJax will typeset "3 and bananas cost " as
>>> mathematics.
>>
>> Setting processEscapes: true in MJ configuration you can type
>> "apples cost \$3
>> and bananas cost \$4" without triggering MJ
>
> I went back to <http://www.mathjax.org/docs/1.1/start.html> where I had read about the issue:
>
>> The default math delimiters are $$...$$ and \[...\] for displayed mathematics, and \(...\) for in-line mathematics. Note in particular that the $...$ in-line delimiters are not used by default. That is because dollar signs appear too often in non-mathematical settings, which could cause some text to be treated as mathematics unexpectedly. For example, with single-dollar delimiters, ”... the cost is $2.50 for the first one, and $2.00 for each additional one ...” would cause the phrase “2.50 for the first one, and” to be treated as mathematics since it falls between dollar signs. For this reason, if you want to use single-dollars for in-line math mode, you must enable that explicitly in your configuration:
>
> And, of course, sure enough, there it was, script and all. What happened of course is that when I see "configuration" my eyes glaze over. So thanks for waking me up because MathAjax is truly the best thing to happen for a long time and now it is even better.
>
> Grateful regards
> --schremmer----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
More information about the macostex-archives
mailing list