Tag Archives: latex

LaTeX to Blogger powered by MathJax (Experimental)

The past weekend I was trying to figure out how to convert \LaTeX source to Blogger compatible sources with the support of the powerful MathJax mechanism to display math.

There’s already an excellent tool (latex2wp) that serves the conversion from \LaTeX to WordPress as I noted before (and best advertised by Terry Tao’s WP blog). But there seem to be numerous legitimate reasons for doing similar thing on Blogger, the most notable one is Blogger allows network scripts to run for the blog (check out the concept of content distribution network, or CDN) and the powerful MathJax engine *happens* to provide such CDN service from recently. If you don’t appreciate why the bother to create yet another math display protocol MathJax, just come down here and have a look at the wonderful demos while imagining what would happen to image-based rendering of math at scaling.

A moment’s research revealed the major difference WordPress and blogger (precisely MathJax) are on handling \LaTeX math: the former uses “$1atex … $” format (I intentionally put the number “1” instead of the letter “l” to avoid invoking the WP interpreter) while the latter just directly the \LaTeX code as “$ … $“. Another major piece lies at how they handle displaying style (vs. the inline style delimited by “$ … $“). WP is to handle the following “<p align=center> $ latex \displaystyle … $ </p>\n“, whereas MathJax can handle “\[ … \] ” directly (“\begin{equation} … \end{equation}” alike are converted to “\[ … \]” with proper numbering). Other minor details are different formats of line breaks and so on.

So I have worked on the latex2wp package directly and made necessary changes as discussed. Some simple tests tell that it’s working fine. Probably you’d like to have a try! (Albeit my great admiration for MathJax and blogger, I have no intention to move to Blogger.com yet since it’ll definitely expend a considerable amount of work. ) Here’s the download link from my dropbox

Latex2Blogger.0.6.2b.tar.gz

Advertisements
Tagged , , , ,

ModernCV–A cool LaTeX Class for CV

Buzzing with preparation of application materials … you know some university requires more than one statement and you have to be careful about this kind of writing.

During my last several minutes to go to bed, I would like to recommend one Latex class for CV creation, ModernCV. It’s very handy and gets pretty cool features. And as the name suggests, the template generates fashionable CV in one shot.  You may take a look at my CV (apparently not optimized Smile , and it’s in Google Docs … sorry, forks). The only catch is there’s no official documentation there, so you need to know something (advanced) about LaTeX code to modify it if you really desire to do so …  

There’s one blog article summing up all the nice LaTeX tools for CV creation, enjoy! and bye!

Tagged , ,

TeX杂文——转自ChinaTeX新浪博客

看到ChinaTex 新浪博客上的一些有趣的博文,多是LaTeX使用技巧及工具推荐。摘录一些比较高级的文章,链接如下。

Tagged , , , ,