thanks Ted. I mean when one enters latex formula content as a part of
markdown document, it mangles it unless one escapes every single {, }, (, \
etc.etc. with yet another \.

On the other hand, putting mathjax script tag in the document itself is
just as good. That part is not a problem.


On Sun, Mar 9, 2014 at 10:48 PM, Ted Dunning <[email protected]> wrote:

> If you check out the site (svn co
> https://svn.apache.org/repos/asf/mahout/site) then you will see a
> templates
> directory.  Inside that is the file templates/standard.html which contains
> the overall page template.  You should be able to insert the mathjax
> reference in that with no quoting needed.
>
>
> On Sun, Mar 9, 2014 at 10:18 PM, Dmitriy Lyubimov <[email protected]>
> wrote:
>
> > actually just putting the mathjax script reference at the end of the page
> > seems to be working (just like they promised). However, cms markdown
> > requires tons of escapes to show this correctly... no  simple
> cut-and-paste
> > so far for me...
> >
> >
> > On Sun, Mar 9, 2014 at 10:07 PM, Ted Dunning <[email protected]>
> > wrote:
> >
> > > I think it is possible to put custom headers in via CMS.  That would
> > allow
> > > mathjax magic to apply, I think.
> > >
> > >
> > > On Sun, Mar 9, 2014 at 8:47 PM, Dmitriy Lyubimov <[email protected]>
> > > wrote:
> > >
> > > > Hi,
> > > > i tend to write manuals in latex (guess picked a bad habit from R's
> > > > vignettes). Or, rather, LyX (which comes standard on linux).
> > > >
> > > > is there any known way to write tex formulas in cms's markdown? i
> would
> > > > then export some of the essential parts of my manuals into web.
> > > >
> > > > There's knitr, but it only generates html and doesn't use math jax i
> > > think.
> > > > i don't want to deal with editing the html.
> > > >
> > > > Ideally i would probably like to use mathjax with markdown, the way i
> > use
> > > > it in the blogs. I guess we could put mathjax headers into cvs
> markdown
> > > > too, somehow, or into CSS ? I think Sebastian spend some times on it,
> > > > perhaps there's some single point where it can be done?
> > > >
> > > > In terms of design, i really like sklearn site.
> > > >
> > >
> >
>

Reply via email to