Child pages
  • How to install pdftex and xypic
Skip to end of metadata
Go to start of metadata

This is primary a note to myself so that I remember what I have done on asterix.  Some of the procedures (such as mktexlsr and "fmtutil --refresh" will be needed when adding/modifying tex/latex packages or change the tex/latex/pdftex themselves.

1) Install xypic 3.8.5.

  1. download the source from xy-pic source from Sourceforge (http://cdnetworks-us-1.dl.sourceforge.net/project/xy-pic/3.8.5/xy385.tar.gz)
  2. untar it as /usr/src/local/cy-3.8.5
  3. cp -p texinputs/* /usr/share/texmf/tex/generic/xypic/
  4. cp -p texfonts/*.tfm /usr/share/texmf/fonts/tfm/public/xypic/
  5. cp -p mfinputs/*.mf /usr/share/texmf/fonts/source/public/xypic/
  6. cp -p type1/*.pfb /usr/share/texmf/fonts/type1/public/xypic/
  7. cp -p pfm/*.pfm /usr/share/texmf/fonts/pfm/public/xypic/
  8. cp -p afm/*.afm /usr/share/texmf/fonts/afm/public/xypic/
  9. cp -p map/* /usr/share/texmf/fonts/map/dvips/xypic/
  10. mkdir /usr/share/texmf/fonts/enc/dvips/xypic
  11. cp -p ps/xy385dict.pro /usr/share/texmf/dvips/xypic
  12. cp -p enc/* /usr/share/texmf/fonts/enc/dvips/xypic
  13. mktexlsr

2) Install pdftex:

  1. download source from http://sarovar.org/frs/download.php/1292/pdftex-1.40.10.tar.bz2.
  2. untar it into /usr/local/src
  3. cd /usr/local/src/pdftex-1.40.10/
  4. chown -R root:root .
  5. ./build-pdftex.sh
  6. cp -p build-pdftex/texk/web2c/pdftex /usr/bin/pdfetex
  7. cp -p build-pdftex/texk/web2c/pdftex.pool /usr/share/texmf/web2c/
  8. fmtutil --refresh
  9. cp -p /root/.texmf-var/web2c/pdf* /usr/share/texmf-var/web2c/
  10. mkdir -p /usr/share/texmf/tex/generic/pdftex/
  11. cp -p texmf/tex/generic/pdftex/glyphtounicode.tex /usr/share/texmf/tex/generic/pdftex/
  • No labels