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.

2.22 Installation of texlive 2014 on Linux<br />

Download the .gz file from http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/<br />

install-tl-unx.tar.gz 16-Jun-2014 18:26 3.2M<br />

Then extract<br />

gunzip install-tl-unx.tar.gz<br />

tar -xvf install-tl-unx.tar<br />

Then move to the folder created from the above <strong>and</strong> do<br />

sudo ./install-tl<br />

Make sure to change the paper type to letter. The default is<br />

A4.<br />

Enter comm<strong>and</strong>: I<br />

Installing to: /usr/local/texlive/2014<br />

....<br />

TeX Live is a joint project of the TeX user groups around the world;<br />

please consider supporting it by joining the group best for you. The<br />

list of user groups is on the web at http://tug.org/usergroups.html.<br />

Add /usr/local/texlive/2014/texmf-dist/doc/info to INFOPATH.<br />

Add /usr/local/texlive/2014/texmf-dist/doc/man to MANPATH<br />

(if not dynamically found).<br />

Most importantly, add /usr/local/texlive/2014/bin/i386-linux<br />

to your PATH for current <strong>and</strong> future sessions.<br />

Welcome to TeX Live!<br />

Summary of warning messages during installation:<br />

Partial download of http://mirror.jmu.edu/pub/CTAN/systems/texlive/tlnet/archive/chletter.doc.tar.xz found, removing<br />

Logfile: /usr/local/texlive/2014/install-tl.log<br />

><br />

2.22.1 post installation for tex4ht issues<br />

I need to fix/add few things after texlive is installed for tex4ht. This is a summary of the items to do.<br />

1. When using st<strong>and</strong>alone package, this error will show up with tex4ht only<br />

(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkeyval.tex<br />

(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/keyval.tex)))<br />

! Extra \else.<br />

l.227 \else<br />

? x<br />

There is a patch for this. Get the updated st<strong>and</strong>alone.sty <strong>and</strong> replace the current installed one with<br />

it. The st<strong>and</strong>along.sty can be found at https://bitbucket.org/martin_scharrer/st<strong>and</strong>alone/raw/<br />

635aacfa0e8f2cba4f4086f4f15d57791b18bf64/st<strong>and</strong>alone.sty<br />

Replace the file /usr/local/texlive/2013/texmf-dist/tex/latex/st<strong>and</strong>alone/st<strong>and</strong>alone With it.<br />

Now this problem will go away.<br />

26

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

Saved successfully!

Ooh no, something went wrong!