Difference between revisions of "LaTeX"

From RobolaboWiki
Jump to: navigation, search
Line 50: Line 50:
 
</pre>
 
</pre>
  
 +
Unzip the downloaded file.
 
Substitute the old pgp package by the new downloaded one:
 
Substitute the old pgp package by the new downloaded one:
  
 
<pre>
 
<pre>
mv <USER_DIR>/pgf/* /usr/share/texmf/tex/generic/pgf/*
+
mv tex/generic/pgf/* /usr/share/texmf/tex/generic/pgf/*
 
</pre>
 
</pre>
  
As root execute:
+
Execute as superuser:
  
 
<pre>
 
<pre>
 
texhash
 
texhash
 
</pre>
 
</pre>

Revision as of 00:03, 5 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