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 2<br />

<strong>Latex</strong> specific HowTo<br />

2.1 How to use Maple style <strong>sheet</strong>s (packages) with texlive?<br />

I have $HOME/texmf <strong>and</strong> so did these steps<br />

cd $HOME/texmf/tex/latex<br />

mkdir maple<br />

cd maple<br />

cp C:\Program Files\Maple 18\etc\*.sty .<br />

%I use Vbox<br />

in other words<br />

cp /maple_location/etc/*.sty .<br />

%copy all style files over<br />

If using miketex, then use the GUI, add ROOT, <strong>and</strong> click apply.<br />

2.2 How to install <strong>and</strong> use pdf2htmlEX?<br />

To install<br />

sudo apt-get update<br />

sudo apt-get install pdf2htmlex<br />

To use<br />

pdf2htmlEX --zoom 1.3 HW2_solution.pdf<br />

To remove the side-bar which has extra TOC do<br />

pdf2htmlEX --zoom 1.3 --embed-outline 0<br />

foo.pdf<br />

pdf2htmlEX seems to use html as extension. no option to change it so use this to make it use .htm which is<br />

what I use<br />

pdf2htmlEX --zoom 1.3 --embed-outline 0<br />

foo.pdf > foo.htm<br />

One thing that I still do not underst<strong>and</strong> about this program. It converts the whole pdf file to html page.<br />

Ok. But then what is the difference between this <strong>and</strong> using the build-in pdf reader in a browser, such as with<br />

Chrome for example?<br />

I could not find how to make it split pages by sections <strong>and</strong> chapters <strong>and</strong> such as I can do with tex4ht.<br />

Without this ability, I am not sure how useful this will be for me. It is just like using the pdf itself this way.<br />

Will try to find out about this.<br />

5

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

Saved successfully!

Ooh no, something went wrong!