From: nebel@wip-sol.dfki.uni-sb.de (Bernhard Nebel) Subject: Re: [Q] Slitex in SLS distribution Date: 25 Jun 1993 20:33:31 GMT
In article <207gkt$4c9@msuinfo.cl.msu.edu> huangch@cps.msu.edu (Chengchang Huang) writes:
Does any user of SLS distribution know where the binary of "slitex" is?
I went back to check my t? diskettes but only found slitex.tex. Is
there a place to obtain a copy of it?
I used the following shell script to generate SliTeX for (the German
version of) TeX (you probably can delete the stuff about multiple
hyphenation tables). Note that afterwards all the missing fonts are
generated on demand by xdvi and dvips (if you have changed the write
and read permissions for the font directory and the pk files to
reasonable values).
Cheers, Bernhard
========================== CUT HERE ==================================
#!/bin/sh
#
# MakeSliTeX: Generate format files for SliTeX
# Including hypenation for German (as language 1)
#
# used directories
#
TEXDIR=/usr/TeX
FORMATDIR=$TEXDIR/lib/tex/formats
INPUTS=$TEXDIR/lib/tex/inputs
TEXINPUTS=.:$INPUTS
HYPHENDIR=$TEXDIR/lib/tex/macros
#
# Use tmp directory
#
cd /tmp/
#
# get hyphenation tables
#
echo "Copying hyphenation files ..."
cp $HYPHENDIR/ghyphen.max hyphen1.tex
cp $HYPHENDIR/hyphen.tex hyphen0.tex
cp $HYPHENDIR/lhyphen.tex hyphen.tex
#
#
# Generate missing tfm file
echo "Generate the icmcsc10 TFM file missing in the installation ..."
MakeTeXPK icmcsc10 300 300 magstep\(0\)
# Now generate format file
echo "Generating SliTeX format file..."
initex \\input splain \\dump
echo "Moving them to the format directory..."
mv splain.fmt $FORMATDIR/slitex.fmt ; chmod 644 $FORMATDIR/slitex.fmt
mv splain.log $FORMATDIR/slitex.log ; chmod 644 $FORMATDIR/slitex.log
# clean up after generation
echo "Cleaning up the tmp directory ..."
rm -f hyphen0.tex hyphen1.tex hyphen.tex
#
# setup links for SliTeX in TEXBIN directory
#
cd $TEXDIR/bin
echo "Setting up link SliTeX --> TeX ..."
rm -f slitex
ln -s tex slitex
# make program and format file accessible for all users
echo "Making program and format file accessible for all users ..."
chmod +rx $TEXDIR/bin $FORMATDIR
echo ""
echo "... done"