home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume3 / texchk / part1 / README < prev    next >
Encoding:
Text File  |  1986-11-30  |  1.6 KB  |  44 lines

  1. Instructions for installing texchk:
  2.  
  3.   Assuming you are running a BSD 4.2 or compatible system:
  4.  
  5.     Edit the file Makefile.
  6.          Change the BIN variable to the directory where you want the
  7.            executable to go.
  8.          Change the MS variable to be the 'x' which makes /usr/man/manx
  9.            acceptable to you.
  10.          Change the CC variable if you wish to compile with other than 'cc'.
  11.     Type 'make install -n' to insure that you understand what is
  12.       happening.
  13.     Type 'make install'.
  14.     Type 'make man'.
  15.     Type 'texchk -c -v <your-own-latex-file>' and verify that it is
  16.       producing reasonable output.
  17.     Type 'make clean'.
  18.  
  19.   Assuming you are on a non BSD 4.2 compatible system:
  20.  
  21.     You will probably have to change the call to 'rindex' in ctools.c.
  22.     (Compiling with "-Drindex=strrchr" is sufficient - see the Makefile).
  23.  
  24.     If your compiler is brain damaged you may have to extensively    
  25.       shorten and revise the names of various variables and preprocessor
  26.       constants.
  27.  
  28.     Take out the -DBSD42 flag from the Makefile.  If your system does
  29.     not have <string.h> (Berkeley called it strings.h), you may have
  30.     to edit ctools.c and texchk.c to declare the strxxx functions.
  31.  
  32.     Modulo these changes, I got texchk to run under BRL's SYSTEM V
  33.       emulation package so hopefully it will run on most systems.
  34.  
  35.  
  36. The files ctools.c and ctools.h are potentially useful in their own 
  37. right.  They contain a library of routines I find or found useful.  You
  38. might look through it for functions you will find useful or you could
  39. install the whole thing as a library as has been done here at TMC.
  40.  
  41. JP Massar
  42. massar@think.com
  43. ihnp4!think!massar
  44.