Difference between revisions of "LaTeX"

From RobolaboWiki
Jump to: navigation, search
Line 6: Line 6:
 
Some problems have been reported when compiling  TikZ with TexLive 2009.
 
Some problems have been reported when compiling  TikZ with TexLive 2009.
  
<h2> Whether compiling you get: </h2>
+
<h2> Compilation Problems </h2>
 +
Whether compiling you get:  
  
 
<pre>
 
<pre>
Line 41: Line 42:
 
<h2> Compilation works, but not pictures shown </h2>
 
<h2> Compilation works, but not pictures shown </h2>
  
Get last pgp package:
+
Get last pgf package:
  
 
<pre>
 
<pre>
 +
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
 +
</pre>
  
 +
Substitute the old pgp package by the new downloaded one:
 +
 +
<pre>
 +
mv <USER_DIR>/pgf/* /usr/share/texmf/tex/generic/pgf/*
 +
</pre>
 +
 +
As root execute:
 +
 +
<pre>
 +
texhash
 
</pre>
 
</pre>

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

Substitute the old pgp package by the new downloaded one:

mv <USER_DIR>/pgf/* /usr/share/texmf/tex/generic/pgf/*

As root execute:

texhash