University of California at Berkeley Department of Electrical Engineering & Computer Sciences Instructional & Eletronics Support /share/b/pub/tex.help /share/b/pub/latex.help Aug 15, 2017 CONTENTS Using TeX on the Instructional UNIX systems Troubleshooting Using TeX on the Instructional UNIX systems ------------------------------------------- The TeX suite of page editing software (tex, latex, dvips, xdvi) is available /usr/bin/latex is on our Centos servers (hpse-10.EECS, etc; see http://inst.eecs.berkeley.edu/connecting.html#labs for a list). Troubleshooting --------------- [below may be out of date, about older versions...][July 2004] Problem: 'pdflatex' fails to load an file with Embedded Postscript, error is ! LaTeX Error: Unknown graphics extension: .eps. Solution: The PDF standard does not allow for embedding postscript. There are two alternatives: 1. Convert your eps file over to either jpeg or tiff and then use the corresponding latex commands to use this image during pdf generation. 2. Convert the dvi file to ps and then convert the ps file to pdf. You can now run tex or latex on a .tex file to produce a .dvi file. If you have an X terminal, you can view this file with "xdvi". To print this file, we recommend you use "dvips". This program has a number of advantages over the older "dvi2ps" program. For example, the dvips program will automatically generate required fonts in the correct resolution using metafont if it requires a font that doesn't exist. However, to use this feature, the "source" for the font must exist in /usr/sww/lib/mf/inputs. Alternatively, if you wish to use a font that we do not have installed, you can add these two lines to your .login file also: setenv MFINPUTS /share/a/lib/mf/inputs:/myfontdir setenv MFBASES /share/a/lib/mf/bases:/myfontdir Of course, replace "myfontdir" with the name of your directory which you keep your font descriptions in. EECS Instructional Support Group (ISG) 386 & 377 Cory Hall, 333 Soda Hall inst@eecs.berkeley.edu