Difference between revisions of "LaTeX"

From RobolaboWiki
Jump to: navigation, search
Line 62: Line 62:
 
texhash
 
texhash
 
</pre>
 
</pre>
 +
 +
<h2> DVI problems </h2>
 +
 +
dvipdfm does not completelly supports tikz options.
 +
Modify it by dvipdfmx

Revision as of 10:58, 7 June 2012


TikZ

Some problems have been reported when compiling TikZ with TexLive 2009.

Compilation Problems

Whether compiling you get:

I can't  find file tikzlibrary

Then, it is possible you have problems with TexLive and need to install new TexLive version.

Download TexLive 2011 image:

wget http://ftp.oleane.net/pub/CTAN/systems/texlive/Images/texlive2011.iso

Mount the .iso image as root:

mount -o loop -t iso9660 texlive2011.iso /media/cdrom

Install TexLive:

./install-tl

Choose the following options:

Options -> Create SymLinks -> [Chose Standar Dirs]
Install

Compilation works, but not pictures shown

Get last pgf package:

wget http://downloads.sourceforge.net/project/pgf/pgf/version%202.10/ \
  pgf_2.10.tds.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpgf%2F&ts= \
  1338847489&use_mirror=netcologne

Unzip the downloaded file. Substitute the old pgp package by the new downloaded one:

mv tex/generic/pgf/* /usr/share/texmf/tex/generic/pgf/*

Execute as superuser:

texhash

DVI problems

dvipdfm does not completelly supports tikz options. Modify it by dvipdfmx