my Latex and Tex4ht cheat sheet
my Latex cheat sheet - 12000.org
my Latex cheat sheet - 12000.org
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
locate tex4ht.env<br />
/usr/local/texlive/2013/texmf-dist/doc/latex/latex-web-companion/ch4/tex4ht.env<br />
/usr/local/texlive/2013/texmf-dist/tex4ht/base/unix/tex4ht.env<br />
/usr/local/texlive/2013/texmf-dist/tex4ht/base/win32/tex4ht.env<br />
>cd /usr/local/texlive/2013/texmf-dist/tex4ht/base/unix<br />
>sudo cp tex4ht.env tex4ht.env.SAVED<br />
>sudo vi tex4ht.env<br />
><br />
>diff tex4ht.env tex4ht.env.SAVED<br />
153c153<br />
< <br />
---<br />
> <br />
170c170<br />
< <br />
---<br />
> <br />
183c183<br />
< <br />
---<br />
> <br />
185c185<br />
< Gdvipng -T tight -x 1400 -D 96 -bg Transparent -pp %%2:%%2 %%1 -o %%3<br />
---<br />
> Gdvipng -T tight -x 1400 -D 72 -bg Transparent -pp %%2:%%2 %%1 -o %%3<br />
187c187<br />
< Gdvipng -T tight -x 1400 -D 96 -bg Transparent -gif -pp %%2:%%2 %%1 -o %%3<br />
---<br />
> Gdvipng -T tight -x 1400 -D 72 -bg Transparent -gif -pp %%2:%%2 %%1 -o %%3<br />
192c192<br />
< <br />
---<br />
> <br />
><br />
3.16 how to insert HTML code inside the body of a latex document?<br />
Here is an example to insert only ONE HTML line<br />
\documentclass{article}%<br />
\input{commonlatex}<br />
\begin{document}<br />
\ifdefined\HCode<br />
\Css{body{width:70\%;}}<br />
\fi<br />
%this will be inserted in the HTML, only when using htlatex<br />
\end{document}<br />
To insert large amount of HTML code, use Radhakrishnan CV method:<br />
72