2008/05/17

LaTex

Tex full installation on Debian

A full installation of LaTex is provided by the package texlive-full. However, as it is cumbersome mostly due to the languages packages, one may select the languages gaining a lot of space and time.
The following command install Tex with English, French and Italian language packages:

sudo apt-get install cm-super cm-super-minimal context dvipng feynmf fragmaster ko.tex-extra-hlfont latexmk lcdf-typetools libreadline5 libruby1.8 musixtex pfb2t1c2pfb psutils ruby ruby1.8 swath t1utils tex-gyre tex4ht tex4ht-common texinfo texlive-bibtex-extra texlive-doc-en texlive-fonts-extra texlive-fonts-extra-doc texlive-formats-extra texlive-games texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-lang-french texlive-lang-italian texlive-lang-ukenglish texlive-lang-vietnamese texlive-latex3 texlive-math-extra texlive-metapost texlive-metapost-doc texlive-music texlive-omega texlive-plain-extra texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc texlive-xetex thailatex ttf-gfs-artemisia ttf-gfs-baskerville ttf-gfs-bodoni-classic ttf-gfs-didot ttf-gfs-didot-classic ttf-gfs-gazis ttf-gfs-neohellenic ttf-gfs-olga ttf-gfs-porson ttf-gfs-solomos ttf-gfs-theokritos ttf-sil-gentium

Prototipo per LaTex

Il seguente script:

#! /bin/bash
echo Nome del documento:
read NOME
cp /percorso/prototipo.tex ./$NOME
nano ./$NOME &

chiede il nome da dare al nuovo documento che si vuole creare nella cartella corrente, e copia il file prototipo.tex (contenuto in /percorso) nella cartella corrente, rinominandolo come appena specificato. Comodo nel caso di documenti .tex, in cui si vuole utilizzare un preambolo personalizzato (scritto in prototipo.tex).

Esempio di prototipo.tex:

[ UPDATING ]

No comments:

Post a Comment