Site perso : Emmanuel Branlard

Subsections

2. Latex


2.1 Install new latex font

Go on the CTAN page concerning urw arial and read the readme, that's the best option!

as root or staff or user???
getnonfreefonts-sys --help
getnonfreefonts-sys --lsfonts
getnonfreefonts-sys arial-urw
getnonfreefonts-sys --all

%%% 
getnonfreefonts-sys arial-urw
% look now for ua1.map  (sudo updatedb , locate ua1.map) probably in /usr/local/texmf/
echo 'Map ua1.map' > /etc/texmf/updmap.d/25-arial
update-updmap
vim /var/lib/texmf/web2c/updmap.cfg
udpmap-sys

texhash

updmap --enable Map utopia.map

2.2 Tkz and gnuplot - problem with gnuplot 4.4

Edit /usr/share/texmf/tex/generic/pgf/modules/pgfmoduleplot.code.tex
Replace 
   \xdef\pgf@gnuplot@head#1{set terminal table; set output "#1.table"; set format "%.5f"}
By   
  \xdef\pgf@gnuplot@head#1{settable; set output "#1.table"; set format "%.5f"}

2.3 svg2latex

With inkscape 0.48-1-2, no need to use the script svg2latex.py: 
inkscape -z -D --file=A.svg --export-pdf=A.pdf --export-latex

Better, this can be run when the file is changed direclty from latex with:
an svg inluded with the a defined command "includesvg"

\newcommand{\executeiffilenewer}[3]{%
\ifnum\pdfstrcmp{\pdffilemoddate{#1}}%
{\pdffilemoddate{#2}}>0%
{\immediate\write18{#3}}\fi%
}
\newcommand{\includesvg}[1]{%
\executeiffilenewer{#1.svg}{#1.pdf}
{inkscape -z -D --file=#1.svg --export-pdf=#1.pdf --export-latex}%
\input{#1.pdf_tex}%
}

2.4 Latex et packages

editer
/etc/texmf/texmf.cnf, repère la ligne TEXMFHOME = $HOME/texmf
comenter%, remplacer par TEXMFHOME = /home/manu/Config/texmf,
creer l'arborescence texmf/tex/latex/ et y mettre tous ses .sty
Puis faire un :
 texhash ~/Config/texmf 
possibilite d'installer aussi texline-generic-extra

2.5 Latex et windows

Les fichiers creer sous windows peuvent etre utilises. Il faut les ouvrir en 8859-16 pour detecter les accents.
L'entete doit etre 
%\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}







Emmanuel Branlard