Latex Tips Tricks And Docs

This is a more concrete variation of http://www.arcetri.astro.it/CC/guides/truetype/index.html specialized for debian etch.

 # for f in *.ttf; do \
       ttf2pt1 -a -e $f ${f%.ttf} 2>/dev/null; \
       name="`ttf2pt1 -a -b $f ${f%.ttf} 2>&1 | grep -F FontName | cut -d ' ' -f 2-`"; \
       echo ${f%.ttf} $name; \
   done | tee fontnames.txt

 # tex "\input fontinst.sty \latinfamily{$namebase}{} \bye"

 # for a in *.pl; do pltotf $a; done
 # for a in *.vpl; do vptovf $a; done
 # rm *.pl *.vpl *.mtx

 # texmf="/usr/local/stow/latex-font-$supplier-$fontname/share/texmf"; \
   for ext in tfm vf pfa afm ttf; do \
       sudo mkdir -p $texmf/fonts/$ext/$supplier/$fontname; \
       sudo mv *.$a $texmf/fonts/$ext/$supplier/$fontname; \
   done; \
   sudo mkdir -p $texmf/fonts/type1/$supplier/$fontname; \
   sudo mv *.pfb $texmf/fonts/type1/$supplier/$fontname; \
   sudo mkdir -p $texmf/tex/latex/psnfss; \
   sudo mv *.fd $texmf/tex/latex/psnfss

 # while read tex ps; do \
       name="${tex%8a}8r"; \
       echo "$name $ps \"TeXBase1Encoding ReEncodeFont\" <8r.enc <$tex.pfb"; \
   done <fontnames.txt >$supplier-$fontname.map; \
   sudo mkdir -p $texmf/dvips/config; \
   sudo mv $supplier-$fontname.map $texmf/dvips/config

 # ( cd /usr/local/stow; \
     sudo chown -R root.staff latex-font-$supplier-$fontname; \
     sudo stow latex-font-$supplier-$fontname ); \
   echo "Map $supplier-$fontname.map" >50$supplier-$fontname.cfg; \
   sudo cp 50$supplier-$fontname.cfg /etc/texmf/updmap.d; \
   sudo texhash; \
   sudo update-updmap; \
   sudo updmap-sys

\NeedsTeXFormat{LaTeX2e}

\def\fileversion{1.0}
\def\filename{georgia}
\def\filedate{2004/08/10}

\ProvidesPackage{\filename}[\filedate\space\fileversion\space MS
  Georgia font for LaTeX]

\newcommand{\georgia}{\usefont{T1}{jgi}{m}{n}\selectfont}