home *** CD-ROM | disk | FTP | other *** search
- Instructions for installing texchk:
-
- Assuming you are running a BSD 4.2 or compatible system:
-
- Edit the file Makefile.
- Change the BIN variable to the directory where you want the
- executable to go.
- Change the MS variable to be the 'x' which makes /usr/man/manx
- acceptable to you.
- Change the CC variable if you wish to compile with other than 'cc'.
- Type 'make install -n' to insure that you understand what is
- happening.
- Type 'make install'.
- Type 'make man'.
- Type 'texchk -c -v <your-own-latex-file>' and verify that it is
- producing reasonable output.
- Type 'make clean'.
-
- Assuming you are on a non BSD 4.2 compatible system:
-
- You will probably have to change the call to 'rindex' in ctools.c.
- (Compiling with "-Drindex=strrchr" is sufficient - see the Makefile).
-
- If your compiler is brain damaged you may have to extensively
- shorten and revise the names of various variables and preprocessor
- constants.
-
- Take out the -DBSD42 flag from the Makefile. If your system does
- not have <string.h> (Berkeley called it strings.h), you may have
- to edit ctools.c and texchk.c to declare the strxxx functions.
-
- Modulo these changes, I got texchk to run under BRL's SYSTEM V
- emulation package so hopefully it will run on most systems.
-
-
- The files ctools.c and ctools.h are potentially useful in their own
- right. They contain a library of routines I find or found useful. You
- might look through it for functions you will find useful or you could
- install the whole thing as a library as has been done here at TMC.
-
- JP Massar
- massar@think.com
- ihnp4!think!massar
-