13.11.2015 Views

my Latex and Tex4ht cheat sheet

my Latex cheat sheet - 12000.org

my Latex cheat sheet - 12000.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6<br />

Trying latexml<br />

see http://jblevins.org/log/xml-tools for how to install <strong>and</strong> use latexml. And an online convertor<br />

for binding see http://trac.mathweb.org/LaTeXML/browser/trunk/lib/LaTeXML/Package<br />

See http://www.albany.edu/~hammond/demos/Html5/arXiv/lxmlexamples.html for examples of Math<br />

papers translated to HTML using <strong>Latex</strong>ml<br />

Tried to install version 0.8 on August 10, 2013, on linux, but getting errors from Make, something about<br />

perl, even though I followed all instructions.<br />

/usr/bin/perl -MParse::RecDescent - lib/LaTeXML/MathGrammar LaTeXML::MathGrammar<br />

Can't locate Parse/RecDescent.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/shar<br />

BEGIN failed--compilation aborted.<br />

make: *** [blib/lib/LaTeXML/MathGrammar.pm] Error 2<br />

>make test<br />

/usr/bin/perl -MParse::RecDescent - lib/LaTeXML/MathGrammar LaTeXML::MathGrammar<br />

Can't locate Parse/RecDescent.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/shar<br />

BEGIN failed--compilation aborted.<br />

make: *** [blib/lib/LaTeXML/MathGrammar.pm] Error 2<br />

><br />

6.1 Fixing decoration fbox<br />

When adding a frame in SW, around math equation such as displayed formula, it will add \fbox to do it. To<br />

improve how the math looks inside, added this to the preamble of the document<br />

\usepackage{amsmath}<br />

\let\latexfbox\fbox<br />

\renewcomm<strong>and</strong>{\fbox}[1]{%<br />

\latexfbox{\everymath{\displaystyle}#1}%<br />

}<br />

Thanks for http://tex.stackexchange.com/<br />

93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!