latextips
 

To install pdflatex in ubuntu 8.10:

 sudo apt-get install tetex-base tetex-bin tetex-extra latex-ucs

----

If you have lots of images, use latex2rtf with -D option "latex2rtf -D 75 FILENAME.tex" as documented in the 'man page' will speed up the process by limiting the resolution of the images to 75 dpi.

If you have a local version of latex2rtf (and use catalan):

 /home/avilella/instalats/latex2rtf/latex2rtf-1.9.17/latex2rtf -P ./cfg/catalan.cfg -D 25 /home/avilella/0_t/activities/thesis_report/report.tex

==== 

sudo apt-get install preview-latex preview-latex-style

M-x list-load-path-shadows RET

==== 

vmargin

sudo apt-get install texlive-latex-extra

or 

download the zip file from ctan

unzip vmargin.zip

cd vmargin

make

sudo cp -r ./vmargin/  /usr/share/texmf-texlive/tex/latex/

==== 

pstricks

sudo apt-get install texlive-pstricks

====

 If all the graphics in your document are in eps, you cannot use pdflatex (or I don't know how) . So, to convert eps files to pdf so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox, you can use epstopdf:

sudo apt-get install texlive-extra-utils

epstopdf -hires file.eps


====

using pdfpages to embed a multi-page pdf file in a LaTeX document splitting it up into individual pages and insert each one as a figure

apt-cache search pdfpages

sudo apt-get install texlive-latex-recommended

\usepackage{pdfpages}
%% then
\includepdf[pages=1,5]{file-name.pdf}

====


how to convert eps files to pdf so that you can use pdflatex:

if your files are of unusal size, the default ps2pdf options would be a A4 or letter page, which borks your figures. use the (EPSCrop) option instead:

ps2pdf -dEmbedAllFonts=true -dEPSCrop drosotree.eps

funnily enough, there is a multidot limitation in the filenames. to solve this, use:

\usepackage{grffile}

whic comes with oberdiek bundle wich comes with:

sudo apt-get install texlive-latex-recommended

====

if you have metapost (mp) files and want to convert them to pdf, install:

sudo apt-get install context

then do:

mptopdf file.mp

====

Fancy chapters:

\usepackage[Lenny]{fncychap}

you need to install:

sudo apt-get install texlive-fonts-recommended

sudo apt-get install texlive-fonts-extra