|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T t
Length: 2164 (0x874) Types: TextFile Names: »tex.script«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦beba6c409⟧ »unix3.0/Unsupported.tar.Z« └─⟦25c524ae4⟧ └─⟦this⟧ »Unsupported/tex.script«
#!/bin/sh # case "$0" in */tex|tex) me=tex; fmt=plain;; */latex|latex) me=latex; fmt=lplain;; */slitex|slitex) me=slitex; fmt=splain;; *) echo "don't know how to be $0" 1>&2; exit 1;; esac # verify 0, 1 or 2 arguments case $# in 0|1|2) ;; *) echo "usage: $me foo[.tex [my[.fmt]]" 1>&2; exit 1;; esac exec virtex "&"${2-$fmt} ${1+"$1"} # This very useful script has been moved from ./tex82 to ./Unsupported # with the arrival of TeX 2.993 (virtually TeX 3.0). The man page # (./tex82/Man-pages/tex.1) explains why it is no longer necessary to # use this script. # # This script provides an alternative to preloading TeX. See the # README.WEB-to-C file for the tradeoffs that come by doing things # this way. There is a short delay before TeX (LaTeX/SliTeX) gets # working, but there is a greater flexibility, and a tremendous # saving in disk space. Only one compilation of initex and virtex # needs to be stored, and it is much smaller than any preloaded image, # or even than the preloaded file that results from using fmtdump. # When TeX is invoked as tex, a private format_file (such as a # combination of lplain, amstex and pictex) can be loaded in place # of one of the standards (be sure that the TEXFORMATS environment # is correct if you try this). # # At the University of Washington we use only the TeX with the # BIGTEX.PATCH applied, so a format file of this size is easily # accommodated (approximately 725 Kbytes). Preloaded using undump, TeX # with this format file would take up nearly 3 Megabytes of disk. Even # after using fmtdump, it would be quite large, and you would still have # the virtex and *.fmt files as additional storage overhead. # # To set this script up, copy it into a directory named in your # path environment, and rename it tex. Then link it (hard links # are fine in this case) to latex and slitex, and insure that it # is executable. # # You invoke latex and slitex as usual, with a single input file # argument (or no argument at all). You can invoke tex with zero, # one or two arguments. If the second argument is present, it is # assumed to be a *.fmt file in your TEXFORMATS path.