[comp.text.tex] "soelim" for latex?

murthy@CS.Cornell.EDU (Chet Murthy) (06/27/91)

Is there a way to take a LaTeX file, run it, and output (on the side)
all the primitive code that was executed?  So that one can
send the latex file, rather than the DVI or postscript?

Thanks,
--chet--

graham@cs.man.ac.uk (Graham Gough) (06/28/91)

> Is there a way to take a LaTeX file, run it, and output (on the side)
> all the primitive code that was executed?  So that one can
> send the latex file, rather than the DVI or postscript?

My understanding of soelim is that it just expands the directives to
include files. There was a utility posted some time ago that did the
same thing for TeX, called texexpand. Unfortunately I recently
discovered that the version I had contained a bug and that I'd lost
the source :-(. Other people may be able to point you to a newer,
bug-free version. I do, however, have a (short) emacs-lisp function
which does the same job if that is any use to you.

Graham

----------------------------------------------------------------
Graham D. Gough, Department of Computer Science,
University of Manchester, Oxford Road, Manchester, M13 9PL, U.K.
Tel: (+44) 61 275 6277	  FAX: (+44) 61 275 6280
Internet: graham@cs.man.ac.uk
JANET: graham@uk.ac.man.cs   USENET: ..mcvax!ukc!man.cs!graham
----------------------------------------------------------------