[comp.sys.att] tex3b1 -- TeX previewer for the 3b1

andy@juno.caltech.edu (Andy Fyfe) (05/08/90)

I'm posting my tex3b1 previewer to unix-pc.sources.  It will be in six
parts.  With the help of John Campbell (who originated the manual page)
the sources should now compile without much grief on systems other than
my own.  One day tex3b1 may appear as part of Dirk Grunwald's SeeTeX
distribution.

I find it to be able to link in -lmalloc since it's quicker than the
version provided in libc.  To do this requires using a program like
John MacMillan's shcc.  I shamelessly stole much of shcc and made a
front end to /bin/ld that does the double link of shcc.  If installed
as gcc-ld then -shlib will get access automatically.  Or it can be called
directly (it can even be installed as /bin/ld, provided you give it the
(new) path of the real ld).  If one of the args is /lib/shlib.ifile, then
ld will do a double link, building its own version of the ifile.  If the
arg /lib/shlib.ifile doesn't appear, then it just calls ld normally.  One
other thing it does is to include, with the double link, an extra library
that contains those routines, like vprintf, that appear in libc but don't
appear in the shared library.  So I'll post that as well -- it's quite
small.

Andy Fyfe
            andy@csvax.caltech.edu
            wjafyfe@caltech.bitnet
            andy@cit-vax.UUCP	(...!ames!elroy!cit-vax!andy)

andy@juno.caltech.edu (Andy Fyfe) (05/08/90)

In article <1990May7.231059.342@laguna.ccsf.caltech.edu> I write:
>I'm posting my tex3b1 previewer to unix-pc.sources.  It will be in six
>parts.

Unfortunately, what the 6 parts don't contain is an example fontdesc file,
so here is the one from the SeeTeX distribution.  You can modify it to suit
your needs, or create one from scratch.  I've added this to the tar file
on csvax that you can pick up with anonymous ftp (it's pub/tex3b1-src.tar.Z
and it contains the 6 shar files and the fontdesc-example).

#
# Sample C-TeX font configuration file.
#
# N.B.: choose only one of `box' or `blank' TFM fonts.
#	TYPE	SPEC	SLOP	PATH
#
# current directory always searched first
#	TYPE	SPEC	SLOP	PATH
font	pk	*	3	./%f.%mpk
font	gf	*	3	./%f.%mgf
font	pxl	*	3	./%f.%mpxl
# this is not pretty
font	blank	*	1	i/%f.tfm
font	box	*	1	./%f.tfm

#	TYPE	SPEC	SLOP	PATH
font	pk	*	3	/usr/local/lib/tex82/fonts/%f/%f.%mpk
font	gf	*	3	/usr/local/lib/tex82/fonts/%f/%f.%mgf
font	pxl	*	3	/usr/local/lib/tex82/fonts/%f/%f.%mpxl
# SLiTeX invisible fonts can be done with links:
font	blank	*	1	/usr/local/lib/tex82/slitex82fonts/%f.tfm
font	box	*	1	/usr/local/lib/tex82/fonts/%f.tfm
font	box	*	1	/usr/local/lib/tex82/psfonts/%f.tfm

Andy Fyfe
            andy@csvax.caltech.edu
            wjafyfe@caltech.bitnet
            andy@cit-vax.UUCP	(...!ames!elroy!cit-vax!andy)