mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: website
Date Tue, 11 Mar 2014 07:38:59 GMT
Looks like math to me.

Nice.


On Mon, Mar 10, 2014 at 3:54 PM, Dmitriy Lyubimov <dlieu.7@gmail.com> wrote:

> Well -- i kinda succeeded following this recipe [1] and got [2] look almost
> as expected. I adjusted global.css to set ajax font and style different
> from that of inline code block. At least one can do inline using markdown's
> code block quoting + mathjax inline `\( ... \)` style.
>
>
> [1] http://doswa.com/2011/07/20/mathjax-in-markdown.html
>
> [2] http://mahout.staging.apache.org/users/dim-reduction/ssvd.html
>
>
> On Mon, Mar 10, 2014 at 6:31 AM, Ted Dunning <ted.dunning@gmail.com>
> wrote:
>
> > Ah..
> >
> >
> >
> >
> > On Sun, Mar 9, 2014 at 11:44 PM, Dmitriy Lyubimov <dlieu.7@gmail.com>
> > wrote:
> >
> > > 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 <ted.dunning@gmail.com>
> > > 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 <dlieu.7@gmail.com
> >
> > > > 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 <
> ted.dunning@gmail.com>
> > > > > 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 <
> > dlieu.7@gmail.com>
> > > > > > 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.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message