diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/utilities/makefonts |
Initial commit
Diffstat (limited to 'fonts/utilities/makefonts')
34 files changed, 4111 insertions, 0 deletions
diff --git a/fonts/utilities/makefonts/00previous/FontInstall b/fonts/utilities/makefonts/00previous/FontInstall new file mode 100755 index 0000000000..eeab77a339 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/FontInstall @@ -0,0 +1,56 @@ +#!/bin/tcsh -f +# +# This shell script installs font bitmaps (./*.tfm, ./*pk) +# which have been created with mk_xxxx. +# +# Usage: FontInstall METAFONT-MODE SUPPLIER TYPEFACE +# +# VK 21 Jul 94, 1 Jan 95, 7 Jan 95, 8 Apr 95; 29 Sep 95; 08 Apr 96 +# + +if ($#argv < 3) then + echo '\ +Usage: '"$0:t"' METAFONT-MODE SUPPLIER TYPEFACE [PATTERN]\ + Copies ./*pk to $FONTS/pk/METAFONT-MODE/SUPPLIER/TYPEFACE/\ + Copies ./*.tfm to $FONTS/tfm/SUPPLIER/TYPEFACE/\ + (METAFONT-MODE: e.g. cx, ljfour)\ + (SUPPLIER: e.g. public, ams; TYPEFACE: e.g. cm, latex)\ + (PATTERN: name pattern, e.g. "eu*" for ams euler fonts. Must be quoted!\!)\ + $FONTS defaults to $TEXMF/fonts/\ + $TEXMF must be set\ +' + exit 1 +endif + +if ( ! $?TEXMF ) then + echo '$TEXMF is not set. Please set and re-run.' + exit 5 +endif + +if ( ! $?FONTS ) then + echo '$FONTS is not set - set to '"$TEXMF/fonts" + setenv FONTS $TEXMF/fonts +endif + +set mfmode="$1" +set supplier="$2" +set typeface="$3" +set pattern="$4" +if ( "$pattern" == "" ) set pattern='*' + + +set dirname="$FONTS/pk/$mfmode/$supplier/$typeface" +if ( ! -e $dirname ) then + echo "Creating $dirname" + mkdir -p $dirname +endif +echo "Copying ./*pk files to $dirname" +cp -p {$pattern}pk $dirname + +set dirname="$FONTS/tfm/$supplier/$typeface" +if ( ! -e $dirname ) then + echo "Creating $dirname" + mkdir -p $dirname +endif +echo "Copying ./*.tfm files to $dirname" +cp -p {$pattern}.tfm $dirname diff --git a/fonts/utilities/makefonts/00previous/FontMetricInstall b/fonts/utilities/makefonts/00previous/FontMetricInstall new file mode 100755 index 0000000000..9493bcbf3c --- /dev/null +++ b/fonts/utilities/makefonts/00previous/FontMetricInstall @@ -0,0 +1,63 @@ +#!/bin/tcsh -f +# +# A little shell script to install font metrics (afm, tfm, vf, sty, fd) +# from CTAN:fonts/psfonts/... +# +# Usage: FontMetricInstall NAME-OF-SUPPLIER TYPEFACE-TO-INSTALL [...] +# +# Note: a) it is necessary to read the psnfss documentation! +# b) *.map might have to be added to psfonts.map (for dvips) +# +# VK 22 Jun 94, 08 Jul 94, 30 Dec 94, 7 Jan 95; 29 Sep 95; 07,08 Apr 96 +# + +if ($#argv < 2) then + echo '\ +Usage: '"$0"' SUPPLIER TYPEFACE [TYPEFACE ...]\ + Copies TYPEFACE/{afm,tfm,vf}/* to $FONTS/{afm,tfm,vf}/SUPPLIER/TYPEFACE/\ + TYPEFACE/type1/* to $FONTS/type1/SUPPLIER/\ + TYPEFACE/tex/* to $TEXMF/tex/inputs/psnfss/SUPPLIER/\ + TYPEFACE/dvips/* to $TEXMF/dvips/SUPPLIER/\ + (SUPPLIER: e.g. adobe, bitstream; TYPEFACE: e.g. palatino, charter)\ + $FONTS defaults to $TEXMF/fonts/\ + $TEXMF must be set\ +' + exit 1 +endif + +if ( ! $?TEXMF ) then + echo '$TEXMF is not set. Please set and re-run.' + exit 5 +endif + +if ( ! $?FONTS ) then + echo '$FONTS is not set - set to '"$TEXMF/fonts" + setenv FONTS $TEXMF/fonts +endif + +set supplier=$1 + +foreach typeface ( $argv[2-] ) + +echo "" +echo "Installing font $typeface in $FONTS/[afm|tfm|vf|type1]/$supplier" +echo " (tex/* to ~/tex/inputs/psnfss/$supplier)" +echo " (dvips/* to ~/dvips/$supplier)" + +if ( ! -e $FONTS/afm/$supplier/$typeface ) mkdir -p $FONTS/afm/$supplier/$typeface +cp -p $typeface/afm/* $FONTS/afm/$supplier/$typeface +if ( ! -e $FONTS/tfm/$supplier/$typeface ) mkdir -p $FONTS/tfm/$supplier/$typeface +cp -p $typeface/tfm/* $FONTS/tfm/$supplier/$typeface +if ( ! -e $FONTS/vf/$supplier/$typeface ) mkdir -p $FONTS/vf/$supplier/$typeface +cp -p $typeface/vf/* $FONTS/vf/$supplier/$typeface + +if ( ! -e $FONTS/type1/$supplier ) mkdir -p $FONTS/type1/$supplier +cp -p $typeface/type1/* $FONTS/type1/$supplier + +if ( ! -e ~/tex/inputs/psnfss/$supplier ) mkdir -p ~/tex/inputs/psnfss/$supplier +cp -p $typeface/tex/* ~/tex/inputs/psnfss/$supplier + +if ( ! -e ~/dvips/$supplier ) mkdir -p ~/dvips/$supplier +cp -p $typeface/dvips/* ~/dvips/$supplier + +end diff --git a/fonts/utilities/makefonts/00previous/README b/fonts/utilities/makefonts/00previous/README new file mode 100644 index 0000000000..a83f682a67 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/README @@ -0,0 +1,77 @@ + GENERATING/INSTALLING FONTS FOR TeX/LaTeX + ========================================= + +[This is makefonts release 1.5, 12 Aug 1998] + +When installing the TeX/LaTeX typesetting system, it is necessary to +make the basic computer modern (cm) fonts available. To do this there +are 2 principally different approaches: + +1) Create the .pk file for a particular font and size, automatically + when needed. + The .tfm file must already be available to LaTeX. +2) Generate the basic .tfm and .pk files all at once. + No .tfm files are needed. + +The UNIX shell scripts provided here are for approach 2) and generate +various fonts, and install them. They take care of the question: Which +fonts and at which sizes do I generate for my TeX/LaTeX installation? + +The files in the distribution are: + + mk_cm Generate all cm fonts. It generates all fonts + which can be called up by LaTeX (as of LaTeX2e's + cmfonts.fdd) without explicitly loading a particular + font. It also generates a few fonts which are + distributed with TeX. + mk_cmmore Generates a few rare sizes of cm sometimes used (by + plain TeX?). + mk_latex Generates the LaTeX specific fonts. + mk_ams Generates all AMS fonts. + mk_* Generates other fonts which are available from CTAN. + FontInstall Moves the .tfm and .pk files generated to the directory + specified. Before you use this, call it without + parameters and see whether it fits your directory + structure! + FontMetricInstall + Helps with installing PostScript fonts. It copies + required files from CTAN:fonts/metrics to target + directories. Again, call it without parameters and see + whether it fits your directory structure! + +For a basic set of fonts for a LaTeX installation, use mk_cm, +mk_latex. AMS-LaTeX requires mk_ams. Before running any of the mk_* +scripts, create an empty subdirectory, cd to it, and make sure all your +.mf files are found by metafont (environment variable $MFINPUTS). + +The mk_* scripts call metafont with mode=localfont, unless the metafont +mode is given as first argument. The metafont base needs to be set +correctly. Metafont is called as "mf" for the metafont plain base, and +as "cmmf" for the metafont plain+computer modern base. If any of these +names or parameters do not suit your installation plans, it should be +easy to make adaptations to the shell scripts with a search/replace. + +If you are unsure about how to handle metafont, get Geoffrey Tobin's +excellent metafont-for-beginners.tex from any CTAN archive. This is +sufficient reading to install the above fonts. For details about the +CTAN archives, finger ctan@ctan.org. + +BUGS: + Currently none known. + +AUTHOR: + Volker Kuhlmann + University of Canterbury + Dept of Electrical and Electronic Engineering + Private Bag + Christchurch, New Zealand + + Email: v.kuhlmann@elec.canterbury.ac.nz + +This material is not copyrighted. It is provided with the hope that it +will be useful. Any feedback, positive, negative, (non-)constructive, +is appreciated. + +Have fun, and good luck! + +Volker diff --git a/fonts/utilities/makefonts/00previous/mk_ams b/fonts/utilities/makefonts/00previous/mk_ams new file mode 100755 index 0000000000..11f8ee134f --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_ams @@ -0,0 +1,257 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + AMS (AMS symbols, euler, cyrillic, dummy)\ + Note: the extracm fonts are made by mk_cm.\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 9 July 94; 1 Jan 95; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. +# 1 Jan 95 (VK) +# Added cyrillic fonts. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# AMS SYMBOL A +cmmf "$MFARG"' \mag=magstep(0);' input msam5 +cmmf "$MFARG"' \mag=magstep(0);' input msam6 +cmmf "$MFARG"' \mag=magstep(0);' input msam7 +cmmf "$MFARG"' \mag=magstep(0);' input msam8 +cmmf "$MFARG"' \mag=magstep(0);' input msam9 +cmmf "$MFARG"' \mag=magstep(0);' input msam10 +cmmf "$MFARG"' \mag=magstep(0.5);' input msam10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input msam10 # 12pt +cmmf "$MFARG"' \mag=magstep(2);' input msam10 # 14.4pt +cmmf "$MFARG"' \mag=magstep(3);' input msam10 # 17.28pt +cmmf "$MFARG"' \mag=magstep(4);' input msam10 # 20.74pt +cmmf "$MFARG"' \mag=magstep(5);' input msam10 # 24.88pt + +# AMS SYMBOL B +cmmf "$MFARG"' \mag=magstep(0);' input msbm5 +cmmf "$MFARG"' \mag=magstep(0);' input msbm6 +cmmf "$MFARG"' \mag=magstep(0);' input msbm7 +cmmf "$MFARG"' \mag=magstep(0);' input msbm8 +cmmf "$MFARG"' \mag=magstep(0);' input msbm9 +cmmf "$MFARG"' \mag=magstep(0);' input msbm10 +cmmf "$MFARG"' \mag=magstep(0.5);' input msbm10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input msbm10 # 12pt +cmmf "$MFARG"' \mag=magstep(2);' input msbm10 # 14.4pt +cmmf "$MFARG"' \mag=magstep(3);' input msbm10 # 17.28pt +cmmf "$MFARG"' \mag=magstep(4);' input msbm10 # 20.74pt +cmmf "$MFARG"' \mag=magstep(5);' input msbm10 # 24.88pt + +# AMS EULER FRAKTUR +mf "$MFARG"' \mag=magstep(0);' input eufm5 +mf "$MFARG"' \mag=magstep(0);' input eufm6 +mf "$MFARG"' \mag=magstep(0);' input eufm7 +mf "$MFARG"' \mag=magstep(0);' input eufm8 +mf "$MFARG"' \mag=magstep(0);' input eufm9 +mf "$MFARG"' \mag=magstep(0);' input eufm10 +mf "$MFARG"' \mag=magstep(0.5);' input eufm10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input eufm10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input eufm10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input eufm10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input eufm10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input eufm10 # 24.88pt + +# AMS EULER FRAKTUR BOLD +mf "$MFARG"' \mag=magstep(0);' input eufb5 +mf "$MFARG"' \mag=magstep(0);' input eufb6 +mf "$MFARG"' \mag=magstep(0);' input eufb7 +mf "$MFARG"' \mag=magstep(0);' input eufb8 +mf "$MFARG"' \mag=magstep(0);' input eufb9 +mf "$MFARG"' \mag=magstep(0);' input eufb10 +mf "$MFARG"' \mag=magstep(0.5);' input eufb10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input eufb10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input eufb10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input eufb10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input eufb10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input eufb10 # 24.88pt + +# AMS EULER SCRIPT +mf "$MFARG"' \mag=magstep(0);' input eusm5 +mf "$MFARG"' \mag=magstep(0);' input eusm6 +mf "$MFARG"' \mag=magstep(0);' input eusm7 +mf "$MFARG"' \mag=magstep(0);' input eusm8 +mf "$MFARG"' \mag=magstep(0);' input eusm9 +mf "$MFARG"' \mag=magstep(0);' input eusm10 +mf "$MFARG"' \mag=magstep(0.5);' input eusm10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input eusm10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input eusm10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input eusm10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input eusm10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input eusm10 # 24.88pt + +# AMS EULER SCRIPT BOLD +mf "$MFARG"' \mag=magstep(0);' input eusb5 +mf "$MFARG"' \mag=magstep(0);' input eusb6 +mf "$MFARG"' \mag=magstep(0);' input eusb7 +mf "$MFARG"' \mag=magstep(0);' input eusb8 +mf "$MFARG"' \mag=magstep(0);' input eusb9 +mf "$MFARG"' \mag=magstep(0);' input eusb10 +mf "$MFARG"' \mag=magstep(0.5);' input eusb10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input eusb10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input eusb10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input eusb10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input eusb10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input eusb10 # 24.88pt + +# AMS EULER MATH EXTENSION +mf "$MFARG"' \mag=magstep(0);' input euex7 +mf "$MFARG"' \mag=magstep(0);' input euex8 +mf "$MFARG"' \mag=magstep(0);' input euex9 +mf "$MFARG"' \mag=magstep(0);' input euex10 +mf "$MFARG"' \mag=magstep(0.5);' input euex10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input euex10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input euex10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input euex10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input euex10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input euex10 # 24.88pt + +# AMS EULER MATH ROMAN +# AMS EULER ROMAN +mf "$MFARG"' \mag=magstep(0);' input eurm5 +mf "$MFARG"' \mag=magstep(0);' input eurm6 +mf "$MFARG"' \mag=magstep(0);' input eurm7 +mf "$MFARG"' \mag=magstep(0);' input eurm8 +mf "$MFARG"' \mag=magstep(0);' input eurm9 +mf "$MFARG"' \mag=magstep(0);' input eurm10 +mf "$MFARG"' \mag=magstep(0.5);' input eurm10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input eurm10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input eurm10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input eurm10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input eurm10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input eurm10 # 24.88pt + +# AMS EULER MATH ROMAN BOLD +# AMS EULER ROMAN BOLD +mf "$MFARG"' \mag=magstep(0);' input eurb5 +mf "$MFARG"' \mag=magstep(0);' input eurb6 +mf "$MFARG"' \mag=magstep(0);' input eurb7 +mf "$MFARG"' \mag=magstep(0);' input eurb8 +mf "$MFARG"' \mag=magstep(0);' input eurb9 +mf "$MFARG"' \mag=magstep(0);' input eurb10 +mf "$MFARG"' \mag=magstep(0.5);' input eurb10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input eurb10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input eurb10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input eurb10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input eurb10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input eurb10 # 24.88pt + +# AMS CYRILLIC +mf "$MFARG"' \mag=magstep(0);' input wncyr5 +mf "$MFARG"' \mag=magstep(0);' input wncyr6 +mf "$MFARG"' \mag=magstep(0);' input wncyr7 +mf "$MFARG"' \mag=magstep(0);' input wncyr8 +mf "$MFARG"' \mag=magstep(0);' input wncyr9 +mf "$MFARG"' \mag=magstep(0);' input wncyr10 +mf "$MFARG"' \mag=magstep(0.5);' input wncyr10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input wncyr10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input wncyr10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input wncyr10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input wncyr10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input wncyr10 # 24.88pt + +# AMS CYRILLIC BOLD +mf "$MFARG"' \mag=magstep(0);' input wncyb5 +mf "$MFARG"' \mag=magstep(0);' input wncyb6 +mf "$MFARG"' \mag=magstep(0);' input wncyb7 +mf "$MFARG"' \mag=magstep(0);' input wncyb8 +mf "$MFARG"' \mag=magstep(0);' input wncyb9 +mf "$MFARG"' \mag=magstep(0);' input wncyb10 +mf "$MFARG"' \mag=magstep(0.5);' input wncyb10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input wncyb10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input wncyb10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input wncyb10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input wncyb10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input wncyb10 # 24.88pt + +# AMS CYRILLIC ITALICS +mf "$MFARG"' \mag=magstep(0);' input wncyi5 +mf "$MFARG"' \mag=magstep(0);' input wncyi6 +mf "$MFARG"' \mag=magstep(0);' input wncyi7 +mf "$MFARG"' \mag=magstep(0);' input wncyi8 +mf "$MFARG"' \mag=magstep(0);' input wncyi9 +mf "$MFARG"' \mag=magstep(0);' input wncyi10 +mf "$MFARG"' \mag=magstep(0.5);' input wncyi10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input wncyi10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input wncyi10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input wncyi10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input wncyi10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input wncyi10 # 24.88pt + +# AMS CYRILLIC SANS SERIF +mf "$MFARG"' \mag=magstep(0);' input wncyss8 +mf "$MFARG"' \mag=magstep(0);' input wncyss9 +mf "$MFARG"' \mag=magstep(0);' input wncyss10 +mf "$MFARG"' \mag=magstep(0.5);' input wncyss10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input wncyss10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input wncyss10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input wncyss10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input wncyss10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input wncyss10 # 24.88pt + +# AMS CYRILLIC SMALL CAPS +mf "$MFARG"' \mag=magstep(0);' input wncysc10 +mf "$MFARG"' \mag=magstep(0.5);' input wncysc10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input wncysc10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input wncysc10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input wncysc10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input wncysc10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input wncysc10 # 24.88pt + +# AMS DUMMY +mf "$MFARG"' \mag=magstep(0);' input dummy + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_cc b/fonts/utilities/makefonts/00previous/mk_cc new file mode 100755 index 0000000000..37ed6d5c98 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_cc @@ -0,0 +1,93 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + concrete\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Michael Cree, Volker Kuhlmann\ + 9 July 94; Volker 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# CONCRETE ROMAN +cmmf "$MFARG"' \mag=magstep(0);' input ccr5 +cmmf "$MFARG"' \mag=magstep(0);' input ccr6 +cmmf "$MFARG"' \mag=magstep(0);' input ccr7 +cmmf "$MFARG"' \mag=magstep(0);' input ccr8 +cmmf "$MFARG"' \mag=magstep(0);' input ccr9 +cmmf "$MFARG"' \mag=magstep(0);' input ccr10 +cmmf "$MFARG"' \mag=magstep(0.5);' input ccr10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input ccr10 # 12pt +cmmf "$MFARG"' \mag=magstep(2);' input ccr10 # 14.4pt +cmmf "$MFARG"' \mag=magstep(3);' input ccr10 # 17.28pt +cmmf "$MFARG"' \mag=magstep(4);' input ccr10 # 20.74pt +cmmf "$MFARG"' \mag=magstep(5);' input ccr10 # 24.88pt + +# CONCRETE CONDENSED SLANTED +cmmf "$MFARG"' \mag=magstep(0);' input ccslc9 + +# CONCRETE ITALICS +cmmf "$MFARG"' \mag=magstep(0);' input ccti10 +cmmf "$MFARG"' \mag=magstep(0.5);' input ccti10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input ccti10 # 12pt + +# CONCRETE SMALL CAPS +cmmf "$MFARG"' \mag=magstep(0);' input cccsc10 +cmmf "$MFARG"' \mag=magstep(0.5);' input cccsc10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input cccsc10 # 12pt + +# CONCRETE MATH ITALICS +cmmf "$MFARG"' \mag=magstep(0);' input ccmi10 + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_cm b/fonts/utilities/makefonts/00previous/mk_cm new file mode 100755 index 0000000000..5fbb311cfc --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_cm @@ -0,0 +1,441 @@ +#!/bin/csh -f +# Will also work with tcsh + +cat <<EOF +This script runs metafont and gftopk to produce the +following fonts / families / shapes: + + ********************************************************* + computer modern, as to LaTeX2e's cmfonts.fdd + Also required: + extracm, from the amsfonts distribution + ********************************************************* + +Give metafont mode as first argument (default = localfont) + +Note: some fonts are needed from the AMSfonts distribution. + +Michael Cree, Volker Kuhlmann + 9 July 94 + Volker 1 Jan 95; 8 Apr 95; 26 Mar 96; 8 Apr 96; 12 Aug 98 +v.kuhlmann@elec.canterbury.ac.nz + +EOF + +# CHANGELOG +# +# 12 Aug 98 (VK) +# Changed cmmf to mf. +# Replaced echo with cat, introduced $MF. +# 22 Oct 96 (VK) +# Removed comment about missing LaTeX slide fonts. +# Added cmtex fonts. +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 26 Mar 96 (VK) +# Added cmex10 magstep 2 (needed for amsldoc.tex). +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. +# 1 Jan 95 (VK) +# Checked that all cm fonts are generated. +# (Also generated are the AMSfonts extracm fonts.) +# +# 8 Dec 94 (VK) +# Added cmssq8, cmssqi8 because make of TeX 3.1415 C version 6.1 +# failed to create the plain format. +# These 2 fonts are preloaded by plain, but not by LaTeX. +# +# 21 Nov 94 (VK) +# Added cminch because it is a standard TeX font. Other standard +# TeX fonts probably missing as well. + + +if ( $#argv > 0 ) set MODE="$1" +if ( ! $?MODE ) set MODE=localfont +set MF="cmmf \mode=$MODE; \scrollmode; " +set MF="mf \mode=$MODE; \scrollmode; " +cat <<EOF + +********************************** +metafont mode is set to: $MODE +running metafont as: $MF +********************************** + +EOF + + +# COMPUTER MODERN ROMAN +$MF '\mag=magstep(0);' input cmr5 +$MF '\mag=magstep(0);' input cmr6 +$MF '\mag=magstep(0);' input cmr7 +$MF '\mag=magstep(0);' input cmr8 +$MF '\mag=magstep(0);' input cmr9 +$MF '\mag=magstep(0);' input cmr10 +$MF '\mag=magstep(0.5);' input cmr10 # 10.95pt +$MF '\mag=magstep(0);' input cmr12 +$MF '\mag=magstep(1);' input cmr12 # 14.4pt +$MF '\mag=magstep(0);' input cmr17 +$MF '\mag=magstep(1);' input cmr17 # 20.74pt +$MF '\mag=magstep(2);' input cmr17 # 24.88pt + +# COMPUTER MODERN SLANTED +$MF '\mag=magstep(-2.58);' input cmsl8 # 5pt +$MF '\mag=magstep(-1.58);' input cmsl8 # 6pt +$MF '\mag=magstep(-0.732);' input cmsl8 # 7pt +$MF '\mag=magstep(0);' input cmsl8 +$MF '\mag=magstep(0);' input cmsl9 +$MF '\mag=magstep(0);' input cmsl10 +$MF '\mag=magstep(0.5);' input cmsl10 # 10.95pt +$MF '\mag=magstep(0);' input cmsl12 +$MF '\mag=magstep(1);' input cmsl12 # 14.4pt +$MF '\mag=magstep(2);' input cmsl12 # 17.28pt +$MF '\mag=magstep(3);' input cmsl12 # 20.74pt +$MF '\mag=magstep(4);' input cmsl12 # 24.88pt + +# COMPUTER MODERN ITALICS +$MF '\mag=magstep(-1.85);' input cmti7 # 5pt +$MF '\mag=magstep(-0.845);' input cmti7 # 6pt +$MF '\mag=magstep(0);' input cmti7 +$MF '\mag=magstep(0);' input cmti8 +$MF '\mag=magstep(0);' input cmti9 +$MF '\mag=magstep(0);' input cmti10 +$MF '\mag=magstep(0.5);' input cmti10 # 10.95pt +$MF '\mag=magstep(0);' input cmti12 +$MF '\mag=magstep(1);' input cmti12 # 14.4pt +$MF '\mag=magstep(2);' input cmti12 # 17.28pt +$MF '\mag=magstep(3);' input cmti12 # 20.74pt +$MF '\mag=magstep(4);' input cmti12 # 24.88pt + +# COMPUTER MODERN SMALL CAPS +$MF '\mag=magstep(-3.8);' input cmcsc10 # 5pt +$MF '\mag=magstep(-2.8);' input cmcsc10 # 6pt +$MF '\mag=magstep(-1.96);' input cmcsc10 # 7pt +$MF '\mag=magstep(-1.22);' input cmcsc10 # 8pt +$MF '\mag=magstep(-0.578);' input cmcsc10 # 9pt +$MF '\mag=magstep(0);' input cmcsc10 +$MF '\mag=magstep(0.5);' input cmcsc10 # 10.95pt +$MF '\mag=magstep(1);' input cmcsc10 # 12pt +$MF '\mag=magstep(2);' input cmcsc10 # 14.4pt +$MF '\mag=magstep(3);' input cmcsc10 # 17.28pt +$MF '\mag=magstep(4);' input cmcsc10 # 20.74pt +$MF '\mag=magstep(5);' input cmcsc10 # 24.88pt +# (size 8-9 come from the AMSfonts! not loaded by standard fd file) +$MF '\mag=magstep(0);' input cmcsc8 +$MF '\mag=magstep(0);' input cmcsc9 + +# COMPUTER MODERN UPRIGHT +# (this is to get the pound symbol) +$MF '\mag=magstep(-3.8);' input cmu10 # 5pt +$MF '\mag=magstep(-2.8);' input cmu10 # 6pt +$MF '\mag=magstep(-1.96);' input cmu10 # 7pt +$MF '\mag=magstep(-1.22);' input cmu10 # 8pt +$MF '\mag=magstep(-0.578);' input cmu10 # 9pt +$MF '\mag=magstep(0);' input cmu10 +$MF '\mag=magstep(0.5);' input cmu10 # 10.95pt +$MF '\mag=magstep(1);' input cmu10 # 12pt +$MF '\mag=magstep(2);' input cmu10 # 14.4pt +$MF '\mag=magstep(3);' input cmu10 # 17.28pt +$MF '\mag=magstep(4);' input cmu10 # 20.74pt +$MF '\mag=magstep(5);' input cmu10 # 24.88pt + +# COMPUTER MODERN BOLD +$MF '\mag=magstep(-3.8);' input cmb10 # 5pt +$MF '\mag=magstep(-2.8);' input cmb10 # 6pt +$MF '\mag=magstep(-1.96);' input cmb10 # 7pt +$MF '\mag=magstep(-1.22);' input cmb10 # 8pt +$MF '\mag=magstep(-0.578);' input cmb10 # 9pt +$MF '\mag=magstep(0);' input cmb10 +$MF '\mag=magstep(0.5);' input cmb10 # 10.95pt +$MF '\mag=magstep(1);' input cmb10 # 12pt +$MF '\mag=magstep(2);' input cmb10 # 14.4pt +$MF '\mag=magstep(3);' input cmb10 # 17.28pt +$MF '\mag=magstep(4);' input cmb10 # 20.74pt +$MF '\mag=magstep(5);' input cmb10 # 24.88pt + +# COMPUTER MODERN BOLD EXTENDED +$MF '\mag=magstep(0);' input cmbx5 +$MF '\mag=magstep(0);' input cmbx6 +$MF '\mag=magstep(0);' input cmbx7 +$MF '\mag=magstep(0);' input cmbx8 +$MF '\mag=magstep(0);' input cmbx9 +$MF '\mag=magstep(0);' input cmbx10 +$MF '\mag=magstep(0.5);' input cmbx10 # 10.95pt +$MF '\mag=magstep(0);' input cmbx12 +$MF '\mag=magstep(1);' input cmbx12 # 14.4pt +$MF '\mag=magstep(2);' input cmbx12 # 17.28pt +$MF '\mag=magstep(3);' input cmbx12 # 20.74pt +$MF '\mag=magstep(4);' input cmbx12 # 24.88pt + +# COMPUTER MODERN BOLD EXTENDED SLANTED +$MF '\mag=magstep(-3.8);' input cmbxsl10 # 5pt +$MF '\mag=magstep(-2.8);' input cmbxsl10 # 6pt +$MF '\mag=magstep(-1.96);' input cmbxsl10 # 7pt +$MF '\mag=magstep(-1.22);' input cmbxsl10 # 8pt +$MF '\mag=magstep(-0.578);' input cmbxsl10 # 9pt +$MF '\mag=magstep(0);' input cmbxsl10 +$MF '\mag=magstep(0.5);' input cmbxsl10 # 10.95pt +$MF '\mag=magstep(1);' input cmbxsl10 # 12pt +$MF '\mag=magstep(2);' input cmbxsl10 # 14.4pt +$MF '\mag=magstep(3);' input cmbxsl10 # 17.28pt +$MF '\mag=magstep(4);' input cmbxsl10 # 20.74pt +$MF '\mag=magstep(5);' input cmbxsl10 # 24.88pt + +# COMPUTER MODERN BOLD EXTENDED ITALICS +$MF '\mag=magstep(-3.8);' input cmbxti10 # 5pt +$MF '\mag=magstep(-2.8);' input cmbxti10 # 6pt +$MF '\mag=magstep(-1.96);' input cmbxti10 # 7pt +$MF '\mag=magstep(-1.22);' input cmbxti10 # 8pt +$MF '\mag=magstep(-0.578);' input cmbxti10 # 9pt +$MF '\mag=magstep(0);' input cmbxti10 +$MF '\mag=magstep(0.5);' input cmbxti10 # 10.95pt +$MF '\mag=magstep(1);' input cmbxti10 # 12pt +$MF '\mag=magstep(2);' input cmbxti10 # 14.4pt +$MF '\mag=magstep(3);' input cmbxti10 # 17.28pt +$MF '\mag=magstep(4);' input cmbxti10 # 20.74pt +$MF '\mag=magstep(5);' input cmbxti10 # 24.88pt + +# COMPUTER MODERN SANS SERIF +$MF '\mag=magstep(-2.58);' input cmss8 # 5pt +$MF '\mag=magstep(-1.58);' input cmss8 # 6pt +$MF '\mag=magstep(-0.732);' input cmss8 # 7pt +$MF '\mag=magstep(0);' input cmss8 +$MF '\mag=magstep(0);' input cmss9 +$MF '\mag=magstep(0);' input cmss10 +$MF '\mag=magstep(0.5);' input cmss10 # 10.95pt +$MF '\mag=magstep(0);' input cmss12 +$MF '\mag=magstep(1);' input cmss12 # 14.4pt +$MF '\mag=magstep(0);' input cmss17 +$MF '\mag=magstep(1);' input cmss17 # 20.74pt +$MF '\mag=magstep(2);' input cmss17 # 24.88pt + +# COMPUTER MODERN SANS SERIF ITALICS (SLANTED as of OT1cmss.fd?) +$MF '\mag=magstep(-2.58);' input cmssi8 # 5pt +$MF '\mag=magstep(-1.58);' input cmssi8 # 6pt +$MF '\mag=magstep(-0.732);' input cmssi8 # 7pt +$MF '\mag=magstep(0);' input cmssi8 +$MF '\mag=magstep(0);' input cmssi9 +$MF '\mag=magstep(0);' input cmssi10 +$MF '\mag=magstep(0.5);' input cmssi10 # 10.95pt +$MF '\mag=magstep(0);' input cmssi12 +$MF '\mag=magstep(1);' input cmssi12 # 14.4pt +$MF '\mag=magstep(0);' input cmssi17 +$MF '\mag=magstep(1);' input cmssi17 # 20.74pt +$MF '\mag=magstep(2);' input cmssi17 # 24.88pt + +# COMPUTER MODERN SANS SERIF SEMI BOLD CONDENSED +# Note: cmssdc10 at 5pt bombs out metafont! +$MF '\mag=magstep(-3.8);' input cmssdc10 # 5pt +$MF '\mag=magstep(-2.8);' input cmssdc10 # 6pt +$MF '\mag=magstep(-1.96);' input cmssdc10 # 7pt +$MF '\mag=magstep(-1.22);' input cmssdc10 # 8pt +$MF '\mag=magstep(-0.578);' input cmssdc10 # 9pt +$MF '\mag=magstep(0);' input cmssdc10 +$MF '\mag=magstep(0.5);' input cmssdc10 # 10.95pt +$MF '\mag=magstep(1);' input cmssdc10 # 12pt +$MF '\mag=magstep(2);' input cmssdc10 # 14.4pt +$MF '\mag=magstep(3);' input cmssdc10 # 17.28pt +$MF '\mag=magstep(4);' input cmssdc10 # 20.74pt +$MF '\mag=magstep(5);' input cmssdc10 # 24.88pt + +# COMPUTER MODERN SANS SERIF BOLD EXTENDED +$MF '\mag=magstep(-3.8);' input cmssbx10 # 5pt +$MF '\mag=magstep(-2.8);' input cmssbx10 # 6pt +$MF '\mag=magstep(-1.96);' input cmssbx10 # 7pt +$MF '\mag=magstep(-1.22);' input cmssbx10 # 8pt +$MF '\mag=magstep(-0.578);' input cmssbx10 # 9pt +$MF '\mag=magstep(0);' input cmssbx10 +$MF '\mag=magstep(0.5);' input cmssbx10 # 10.95pt +$MF '\mag=magstep(1);' input cmssbx10 # 12pt +$MF '\mag=magstep(2);' input cmssbx10 # 14.4pt +$MF '\mag=magstep(3);' input cmssbx10 # 17.28pt +$MF '\mag=magstep(4);' input cmssbx10 # 20.74pt +$MF '\mag=magstep(5);' input cmssbx10 # 24.88pt + +# COMPUTER MODERN TYPEWRITER +$MF '\mag=magstep(-2.58);' input cmtt8 # 5pt +$MF '\mag=magstep(-1.58);' input cmtt8 # 6pt +$MF '\mag=magstep(-0.732);' input cmtt8 # 7pt +$MF '\mag=magstep(0);' input cmtt8 +$MF '\mag=magstep(0);' input cmtt9 +$MF '\mag=magstep(0);' input cmtt10 +$MF '\mag=magstep(0.5);' input cmtt10 # 10.95pt +$MF '\mag=magstep(0);' input cmtt12 +$MF '\mag=magstep(1);' input cmtt12 # 14.4pt +$MF '\mag=magstep(2);' input cmtt12 # 17.28pt +$MF '\mag=magstep(3);' input cmtt12 # 20.74pt +$MF '\mag=magstep(4);' input cmtt12 # 24.88pt + +# COMPUTER MODERN TYPEWRITER SLANTED +$MF '\mag=magstep(-3.8);' input cmsltt10 # 5pt +$MF '\mag=magstep(-2.8);' input cmsltt10 # 6pt +$MF '\mag=magstep(-1.96);' input cmsltt10 # 7pt +$MF '\mag=magstep(-1.22);' input cmsltt10 # 8pt +$MF '\mag=magstep(-0.578);' input cmsltt10 # 9pt +$MF '\mag=magstep(0);' input cmsltt10 +$MF '\mag=magstep(0.5);' input cmsltt10 # 10.95pt +$MF '\mag=magstep(1);' input cmsltt10 # 12pt +$MF '\mag=magstep(2);' input cmsltt10 # 14.4pt +$MF '\mag=magstep(3);' input cmsltt10 # 17.28pt +$MF '\mag=magstep(4);' input cmsltt10 # 20.74pt +$MF '\mag=magstep(5);' input cmsltt10 # 24.88pt + +# COMPUTER MODERN TYPEWRITER ITALICS +$MF '\mag=magstep(-3.8);' input cmitt10 # 5pt +$MF '\mag=magstep(-2.8);' input cmitt10 # 6pt +$MF '\mag=magstep(-1.96);' input cmitt10 # 7pt +$MF '\mag=magstep(-1.22);' input cmitt10 # 8pt +$MF '\mag=magstep(-0.578);' input cmitt10 # 9pt +$MF '\mag=magstep(0);' input cmitt10 +$MF '\mag=magstep(0.5);' input cmitt10 # 10.95pt +$MF '\mag=magstep(1);' input cmitt10 # 12pt +$MF '\mag=magstep(2);' input cmitt10 # 14.4pt +$MF '\mag=magstep(3);' input cmitt10 # 17.28pt +$MF '\mag=magstep(4);' input cmitt10 # 20.74pt +$MF '\mag=magstep(5);' input cmitt10 # 24.88pt + +# COMPUTER MODERN TYPEWRITER SMALL CAPS +$MF '\mag=magstep(-3.8);' input cmtcsc10 # 5pt +$MF '\mag=magstep(-2.8);' input cmtcsc10 # 6pt +$MF '\mag=magstep(-1.96);' input cmtcsc10 # 7pt +$MF '\mag=magstep(-1.22);' input cmtcsc10 # 8pt +$MF '\mag=magstep(-0.578);' input cmtcsc10 # 9pt +$MF '\mag=magstep(0);' input cmtcsc10 +$MF '\mag=magstep(0.5);' input cmtcsc10 # 10.95pt +$MF '\mag=magstep(1);' input cmtcsc10 # 12pt +$MF '\mag=magstep(2);' input cmtcsc10 # 14.4pt +$MF '\mag=magstep(3);' input cmtcsc10 # 17.28pt +$MF '\mag=magstep(4);' input cmtcsc10 # 20.74pt +$MF '\mag=magstep(5);' input cmtcsc10 # 24.88pt + +# COMPUTER MODERN MATH ITALICS +$MF '\mag=magstep(0);' input cmmi5 +$MF '\mag=magstep(0);' input cmmi6 +$MF '\mag=magstep(0);' input cmmi7 +$MF '\mag=magstep(0);' input cmmi8 +$MF '\mag=magstep(0);' input cmmi9 +$MF '\mag=magstep(0);' input cmmi10 +$MF '\mag=magstep(0.5);' input cmmi10 # 10.95pt +$MF '\mag=magstep(0);' input cmmi12 +$MF '\mag=magstep(1);' input cmmi12 # 14.4pt +$MF '\mag=magstep(2);' input cmmi12 # 17.28pt +$MF '\mag=magstep(3);' input cmmi12 # 20.74pt +$MF '\mag=magstep(4);' input cmmi12 # 24.88pt + +# COMPUTER MODERN MATH BOLD ITALICS +# (size 5-9 come from the AMSfonts!) +# N.B. Size 5-9 are required by LaTeX2e. +# If not available they could be scaled down from cmmib10, but +# better is to get the AMSfonts distribution. +$MF '\mag=magstep(0);' input cmmib5 +$MF '\mag=magstep(0);' input cmmib6 +$MF '\mag=magstep(0);' input cmmib7 +$MF '\mag=magstep(0);' input cmmib8 +$MF '\mag=magstep(0);' input cmmib9 +$MF '\mag=magstep(0);' input cmmib10 +$MF '\mag=magstep(0.5);' input cmmib10 # 10.95pt +$MF '\mag=magstep(1);' input cmmib10 # 12pt +$MF '\mag=magstep(2);' input cmmib10 # 14.4pt +$MF '\mag=magstep(3);' input cmmib10 # 17.28pt +$MF '\mag=magstep(4);' input cmmib10 # 20.74pt +$MF '\mag=magstep(5);' input cmmib10 # 24.88pt + +# COMPUTER MODERN MATH SYMBOLS +$MF '\mag=magstep(0);' input cmsy5 +$MF '\mag=magstep(0);' input cmsy6 +$MF '\mag=magstep(0);' input cmsy7 +$MF '\mag=magstep(0);' input cmsy8 +$MF '\mag=magstep(0);' input cmsy9 +$MF '\mag=magstep(0);' input cmsy10 +$MF '\mag=magstep(0.5);' input cmsy10 # 10.95pt +$MF '\mag=magstep(1);' input cmsy10 # 12pt +$MF '\mag=magstep(2);' input cmsy10 # 14.4pt +$MF '\mag=magstep(3);' input cmsy10 # 17.28pt +$MF '\mag=magstep(4);' input cmsy10 # 20.74pt +$MF '\mag=magstep(5);' input cmsy10 # 24.88pt + +# COMPUTER MODERN MATH BOLD SYMBOLS +# (size 5-9 come from the AMSfonts!) +# N.B. Size 5-9 are required by LaTeX2e. +# If not available they could be scaled down from cmbsy10, but +# better is to get the AMSfonts distribution. +$MF '\mag=magstep(0);' input cmbsy5 +$MF '\mag=magstep(0);' input cmbsy6 +$MF '\mag=magstep(0);' input cmbsy7 +$MF '\mag=magstep(0);' input cmbsy8 +$MF '\mag=magstep(0);' input cmbsy9 +$MF '\mag=magstep(0);' input cmbsy10 +$MF '\mag=magstep(0.5);' input cmbsy10 # 10.95pt +$MF '\mag=magstep(1);' input cmbsy10 # 12pt +$MF '\mag=magstep(2);' input cmbsy10 # 14.4pt +$MF '\mag=magstep(3);' input cmbsy10 # 17.28pt +$MF '\mag=magstep(4);' input cmbsy10 # 20.74pt +$MF '\mag=magstep(5);' input cmbsy10 # 24.88pt + +# COMPUTER MODERN LARGE SYMBOLS +# (size 7-9 come from the AMSfonts! not loaded by standard fd file) +$MF '\mag=magstep(0);' input cmex7 +$MF '\mag=magstep(0);' input cmex8 +$MF '\mag=magstep(0);' input cmex9 +$MF '\mag=magstep(0);' input cmex10 +$MF '\mag=magstep(2);' input cmex10 + # the last is needed to typeset the amslatex documentation (amsldoc.tex) + +# COMPUTER MODERN FUNNY +# The fd file only defines 10pt! +$MF '\mag=magstep(0);' input cmff10 +$MF '\mag=magstep(0.5);' input cmff10 # 10.95pt +$MF '\mag=magstep(1);' input cmff10 # 12pt + +# COMPUTER MODERN FUNNY ITALICS +# The fd file only defines 10pt! +$MF '\mag=magstep(0);' input cmfi10 +$MF '\mag=magstep(0.5);' input cmfi10 # 10.95pt +$MF '\mag=magstep(1);' input cmfi10 # 12pt + +# COMPUTER MODERN DUNHILL +# The fd file only defines 10pt! +$MF '\mag=magstep(0);' input cmdunh10 +$MF '\mag=magstep(0.5);' input cmdunh10 # 10.95pt +$MF '\mag=magstep(1);' input cmdunh10 # 12pt + +# COMPUTER MODERN FIBONACCI +# The fd file only defines 8pt! +$MF '\mag=magstep(0);' input cmfib8 +$MF '\mag=magstep(1.22);' input cmfib8 # 10pt + +# COMPUTER MODERN OTHER STUFF +# +$MF '\mag=magstep(0);' input cminch +$MF '\mag=magstep(0);' input cmssq8 +$MF '\mag=magstep(0);' input cmssqi8 + +# COMPUTER MODERN TeX extended ASCII +# +$MF '\mag=magstep(0);' input cmtex8 +$MF '\mag=magstep(0);' input cmtex9 +$MF '\mag=magstep(0);' input cmtex10 + + +echo "\ +Metafont finished.\ +" + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file ( *gf ) + gftopk $file +end + +cat <<EOF +GFtoPK finished." + +To complete the font installation, do the following: + copy all .tfm-files into the tfm directory + copy all .pk-files into the pk-directory + delete all .gf files. + +Have a nice day." + +EOF diff --git a/fonts/utilities/makefonts/00previous/mk_cmextrabold b/fonts/utilities/makefonts/00previous/mk_cmextrabold new file mode 100755 index 0000000000..10f1f27af1 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_cmextrabold @@ -0,0 +1,76 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + cm-extra-bold (CTAN:fonts/cm/mf-extra/bold/)\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 1 Jan 95; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# COMPUTER MODERN EXTRA BOLD +cmmf "$MFARG"' \mag=magstep(0);' input cmbcsc10 + +cmmf "$MFARG"' \mag=magstep(0);' input cmbtex10 + +cmmf "$MFARG"' \mag=magstep(0);' input cmbtt8 +cmmf "$MFARG"' \mag=magstep(0);' input cmbtt9 +cmmf "$MFARG"' \mag=magstep(0);' input cmbtt10 + +cmmf "$MFARG"' \mag=magstep(0);' input cmttb10 + +cmmf "$MFARG"' \mag=magstep(0);' input cmexb10 + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_cmmore b/fonts/utilities/makefonts/00previous/mk_cmmore new file mode 100755 index 0000000000..f8636093dd --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_cmmore @@ -0,0 +1,76 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + computer modern, extra magsteps\ + (these sizes might not be pre-defined; used by plain?)\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Michael Cree, Volker Kuhlmann\ + 16 August 94; Volker 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# COMPUTER MODERN ROMAN +cmmf "$MFARG"' \mag=magstep(1);' input cmr10 +cmmf "$MFARG"' \mag=magstep(2);' input cmr10 +cmmf "$MFARG"' \mag=magstep(3);' input cmr10 +cmmf "$MFARG"' \mag=magstep(4);' input cmr10 +cmmf "$MFARG"' \mag=magstep(5);' input cmr10 + +# COMPUTER MODERN BOLD EXTENDED +cmmf "$MFARG"' \mag=magstep(1);' input cmbx10 +cmmf "$MFARG"' \mag=magstep(2);' input cmbx10 +cmmf "$MFARG"' \mag=magstep(3);' input cmbx10 +cmmf "$MFARG"' \mag=magstep(4);' input cmbx10 +cmmf "$MFARG"' \mag=magstep(5);' input cmbx10 + + +echo "" +echo "Metafont finished." +echo "" + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_etc b/fonts/utilities/makefonts/00previous/mk_etc new file mode 100755 index 0000000000..322a1dde1d --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_etc @@ -0,0 +1,150 @@ +#!/bin/csh -f + + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + etc - see what you get :-)\ + capbas package (7 fonts in here)\ + duerer package (6 fonts in here)\ + twcal package\ + va package\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann \ + 28 March 1997\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + +# CHANGELOG +# +# 28 Mar 97 (VK) +# Created. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# ASCII package (does not actually have any .mf files with it) +if ( 0 && "$2" == "" || `echo $argv[2-] | grep -w ascii` != "" ) then +mf "$MFARG"' \mag=magstep(0);' input ascii-10 +mf "$MFARG"' \mag=magstep(0.5);' input ascii-10 +mf "$MFARG"' \mag=magstep(1);' input ascii-10 +mf "$MFARG"' \mag=magstep(2);' input ascii-10 +mf "$MFARG"' \mag=magstep(3);' input ascii-10 +mf "$MFARG"' \mag=magstep(4);' input ascii-10 +mf "$MFARG"' \mag=magstep(5);' input ascii-10 +endif + +# CAPBAS package +if ( "$2" == "" || `echo $argv[2-] | grep -w capbas` != "" ) then +mf "$MFARG"' \mag=magstep(0);' input capbas +mf "$MFARG"' \mag=magstep(0);' input capbasd +mf "$MFARG"' \mag=magstep(0);' input d7seg +mf "$MFARG"' \mag=magstep(0);' input deseg +mf "$MFARG"' \mag=magstep(0);' input flyspec +mf "$MFARG"' \mag=magstep(0);' input necker +mf "$MFARG"' \mag=magstep(0);' input simfon +endif + +# DUERER package +if ( "$2" == "" || `echo $argv[2-] | grep -w duerer` != "" ) then +mf "$MFARG"' \mag=magstep(0);' input cdb10 +mf "$MFARG"' \mag=magstep(0);' input cdi10 +mf "$MFARG"' \mag=magstep(0);' input cdr10 +mf "$MFARG"' \mag=magstep(0);' input cdsl10 +mf "$MFARG"' \mag=magstep(0);' input cdss10 +mf "$MFARG"' \mag=magstep(0);' input cdtt10 +endif + +# HERSHEY package +# script, and 3 styles of gothic +if ( "$2" == "" || `echo $argv[2-] | grep -w hershey` != "" ) then +echo "NOTE: need to make hgoe.mf, hgog.mf, hgoi.mf first\!\!\!" +echo " Use the patch for the makefile, and run:" +echo " make" +echo " ./xhershey -X hgoe.spec > hgoe.mf [for each {hgoe,hgog,hgoi}]" +cmmf "$MFARG"' \mag=magstep(0);' input hscs10 +cmmf "$MFARG"' \mag=magstep(0);' input hgoe10 +cmmf "$MFARG"' \mag=magstep(0);' input hgog10 +cmmf "$MFARG"' \mag=magstep(0);' input hgoi10 +endif + +# TWCAL package +if ( "$2" == "" || `echo $argv[2-] | grep -w twcal` != "" ) then +mf "$MFARG"' \mag=magstep(0);' input twcal14 +mf "$MFARG"' \mag=magstep(0.5);' input twcal14 +mf "$MFARG"' \mag=magstep(1);' input twcal14 +mf "$MFARG"' \mag=magstep(2);' input twcal14 +mf "$MFARG"' \mag=magstep(3);' input twcal14 +mf "$MFARG"' \mag=magstep(4);' input twcal14 +mf "$MFARG"' \mag=magstep(5);' input twcal14 +endif + +# VA package +if ( "$2" == "" || `echo $argv[2-] | grep -w va` != "" ) then +# The magsteps -3, -2.5, -2, -1.5, -1, 0, 1, 2, 3 are for making the +# standard TeX sizes from a 14.4pt font. +# ca/vacal are 14pt - calculate again... +mf "$MFARG"' \mag=343/600;' input va14 # 8.33pt +mf "$MFARG"' \mag=386/600;' input va14 # 9.13pt +mf "$MFARG"' \mag=429/600;' input va14 # 10pt +mf "$MFARG"' \mag=469/600;' input va14 # 10.95pt +mf "$MFARG"' \mag=514/600;' input va14 # 12pt +mf "$MFARG"' \mag=617/600;' input va14 # 14.4pt [14pt!] +mf "$MFARG"' \mag=741/600;' input va14 # 17.28pt +mf "$MFARG"' \mag=889/600;' input va14 # 20.74pt +mf "$MFARG"' \mag=1066/600;' input va14 # 24.88pt +# +mf "$MFARG"' \mag=343/600;' input vacal14 # 8.33pt +mf "$MFARG"' \mag=386/600;' input vacal14 # 9.13pt +mf "$MFARG"' \mag=429/600;' input vacal14 # 10pt +mf "$MFARG"' \mag=469/600;' input vacal14 # 10.95pt +mf "$MFARG"' \mag=514/600;' input vacal14 # 12pt +mf "$MFARG"' \mag=617/600;' input vacal14 # 14.4pt [14pt!] +mf "$MFARG"' \mag=741/600;' input vacal14 # 17.28pt +mf "$MFARG"' \mag=889/600;' input vacal14 # 20.74pt +mf "$MFARG"' \mag=1066/600;' input vacal14 # 24.88pt +endif + +# + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + echo $file + gftopk $file +end +#ls *gf | xargs -n 1 gftopk + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_gothic b/fonts/utilities/makefonts/00previous/mk_gothic new file mode 100755 index 0000000000..b1ebcc5f15 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_gothic @@ -0,0 +1,118 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + gothic: ygoth, yfrak, yswab, yinit (as of oldgerm.dtx)\ + gothic: suet14, schwell\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann \ + 9, 16, 21 July 94; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added sueterlin, schwell. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. Using \scrollmode;. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# INITIAL +mf "$MFARG"' \mag=magstep(0);' input yinitas # 38.6pt +mf "$MFARG"' \mag=magstep(1);' input yinitas # 46.5pt +mf "$MFARG"' \mag=magstep(2);' input yinitas # 55.7pt +mf "$MFARG"' \mag=magstep(3);' input yinitas # 66.9pt +mf "$MFARG"' \mag=magstep(4);' input yinitas # 80.0pt +mf "$MFARG"' \mag=magstep(5);' input yinitas # 96.4pt + +# GOTHIC, also TEXTUR +mf "$MFARG"' \mag=magstep(0);' input ygoth +mf "$MFARG"' \mag=magstep(1);' input ygoth # 12pt +mf "$MFARG"' \mag=magstep(2);' input ygoth # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input ygoth # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input ygoth # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input ygoth # 24.88pt + +# FRAKTUR +mf "$MFARG"' \mag=magstep(0);' input yfrak +mf "$MFARG"' \mag=magstep(1);' input yfrak # 12pt +mf "$MFARG"' \mag=magstep(2);' input yfrak # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input yfrak # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input yfrak # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input yfrak # 24.88pt + +# SCHWABACHER +mf "$MFARG"' \mag=magstep(0);' input yswab +mf "$MFARG"' \mag=magstep(1);' input yswab # 12pt +mf "$MFARG"' \mag=magstep(2);' input yswab # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input yswab # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input yswab # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input yswab # 24.88pt + +# SUETERLIN +# (only some sizes) +mf "$MFARG"' \mag=magstep(0);' input suet14 +mf "$MFARG"' \mag=magstep(1);' input suet14 # 12pt +mf "$MFARG"' \mag=magstep(2);' input suet14 # 14.4pt +#mf "$MFARG"' \mag=magstep(3);' input suet14 # 17.28pt +#mf "$MFARG"' \mag=magstep(4);' input suet14 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input suet14 # 24.88pt + +# SCHWELL +# (only some sizes) +mf "$MFARG"' \mag=magstep(0);' input schwell +mf "$MFARG"' \mag=magstep(1);' input schwell # 12pt +mf "$MFARG"' \mag=magstep(2);' input schwell # 14.4pt +#mf "$MFARG"' \mag=magstep(3);' input schwell # 17.28pt +#mf "$MFARG"' \mag=magstep(4);' input schwell # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input schwell # 24.88pt + +# CMFRAK +# (only gothic font in dc encoding) +# ... left for later ... + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_karta b/fonts/utilities/makefonts/00previous/mk_karta new file mode 100755 index 0000000000..01a1089695 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_karta @@ -0,0 +1,65 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + karta\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Created. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# KARTA +mf "$MFARG"' \mag=magstep(0);' input karta15 # 15pt + + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_latex b/fonts/utilities/makefonts/00previous/mk_latex new file mode 100755 index 0000000000..51e863b674 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_latex @@ -0,0 +1,109 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + lcircle, lcirclew, line, linew, lasy, lasyb\ + (required by LaTeX2e)\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Michael Cree, Volker Kuhlmann\ + 9 July 94; Volker 1 Jan 94; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 22 ct 96 (VK) +# Added comments about missing slide fonts. +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# LaTeX font: lcircle +mf "$MFARG"' \mag=magstep(0);' input lcircle10 + +# LaTeX font: lcirclew +mf "$MFARG"' \mag=magstep(0);' input lcirclew10 + +# LaTeX font: line +mf "$MFARG"' \mag=magstep(0);' input line10 + +# LaTeX font: linew +mf "$MFARG"' \mag=magstep(0);' input linew10 + +# LaTeX font: lasy +mf "$MFARG"' \mag=magstep(0);' input lasy5 +mf "$MFARG"' \mag=magstep(0);' input lasy6 +mf "$MFARG"' \mag=magstep(0);' input lasy7 +mf "$MFARG"' \mag=magstep(0);' input lasy8 +mf "$MFARG"' \mag=magstep(0);' input lasy9 +mf "$MFARG"' \mag=magstep(0);' input lasy10 +mf "$MFARG"' \mag=magstep(0.5);' input lasy10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input lasy10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input lasy10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input lasy10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input lasy10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input lasy10 # 24.88pt + +# LaTeX font: lasyb +mf "$MFARG"' \mag=magstep(0);' input lasyb10 +mf "$MFARG"' \mag=magstep(0.5);' input lasyb10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input lasyb10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input lasyb10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input lasyb10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input lasyb10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input lasyb10 # 24.88pt + +# LaTeX fonts: sans serif, sans serif bold, sans serif italics +mf "$MFARG"' \mag=magstep(0);' input lcmss8 +mf "$MFARG"' \mag=magstep(0);' input lcmssb8 +mf "$MFARG"' \mag=magstep(0);' input lcmssi8 + +# LaTeX slide fonts missing (and prob others too) +# Who can tell me which fonts are actually used by LaTeX? + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_musixtex0.63 b/fonts/utilities/makefonts/00previous/mk_musixtex0.63 new file mode 100755 index 0000000000..1fee113ac0 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_musixtex0.63 @@ -0,0 +1,56 @@ +#!/bin/tcsh -f +# need csh because of foreach used for running gftopk + +echo "" +echo "This script runs metafont and gftopk to produce the " +echo "following fonts / family / shapes:" +echo " musixtex" +echo "" +echo "Volker Kuhlmann 15 Mar 95" +echo "volker@elec.canterbury.ac.nz" +echo "" + + +# Fonts for MusixTeX +mf '\mode=localfont; \mag=magstep(0);' input musix11 +mf '\mode=localfont; \mag=magstep(0);' input musix13 +mf '\mode=localfont; \mag=magstep(0);' input musix16 +mf '\mode=localfont; \mag=magstep(0);' input musix20 +mf '\mode=localfont; \mag=magstep(0);' input musixsps +mf '\mode=localfont; \mag=magstep(0);' input xsld16 +mf '\mode=localfont; \mag=magstep(0);' input xsld20 +mf '\mode=localfont; \mag=magstep(0);' input xslhd16 +mf '\mode=localfont; \mag=magstep(0);' input xslhd20 +mf '\mode=localfont; \mag=magstep(0);' input xslhu16 +mf '\mode=localfont; \mag=magstep(0);' input xslhu20 +mf '\mode=localfont; \mag=magstep(0);' input xslhz20 +mf '\mode=localfont; \mag=magstep(0);' input xslu16 +mf '\mode=localfont; \mag=magstep(0);' input xslu20 +mf '\mode=localfont; \mag=magstep(0);' input xslz20 + + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_musixtex0.631 b/fonts/utilities/makefonts/00previous/mk_musixtex0.631 new file mode 100755 index 0000000000..83cd09fabe --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_musixtex0.631 @@ -0,0 +1,56 @@ +#!/bin/tcsh -f +# need csh because of foreach used for running gftopk + +echo "" +echo "This script runs metafont and gftopk to produce the " +echo "following fonts / family / shapes:" +echo " musixtex 0.631" +echo "" +echo "Volker Kuhlmann 21 Mar 95" +echo "volker@elec.canterbury.ac.nz" +echo "" + + +# Fonts for MusixTeX 0.631 +mf '\mode=localfont; \mag=magstep(0);' input musix11 +mf '\mode=localfont; \mag=magstep(0);' input musix13 +mf '\mode=localfont; \mag=magstep(0);' input musix16 +mf '\mode=localfont; \mag=magstep(0);' input musix20 +mf '\mode=localfont; \mag=magstep(0);' input musixsps +mf '\mode=localfont; \mag=magstep(0);' input xhsld16 +mf '\mode=localfont; \mag=magstep(0);' input xhsld20 +mf '\mode=localfont; \mag=magstep(0);' input xhslu16 +mf '\mode=localfont; \mag=magstep(0);' input xhslu20 +mf '\mode=localfont; \mag=magstep(0);' input xsld16 +mf '\mode=localfont; \mag=magstep(0);' input xsld20 +mf '\mode=localfont; \mag=magstep(0);' input xslu16 +mf '\mode=localfont; \mag=magstep(0);' input xslu20 +mf '\mode=localfont; \mag=magstep(0);' input xslz20 +mf '\mode=localfont; \mag=magstep(0);' input xtie20 + + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_musixtexT.58 b/fonts/utilities/makefonts/00previous/mk_musixtexT.58 new file mode 100755 index 0000000000..7458f65834 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_musixtexT.58 @@ -0,0 +1,111 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk +# +# mk_musixtexT.58 METAFONTMODE +# +# This shell script is part of the makefonts package, which is a set of +# shell scripts used for running metafont to generate fonts (tfm and pk +# files) for use with TeX/LaTeX. +# Please refer to the makefonts README file. +# Volker Kuhlmann +# + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + musixtex T.58\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Michael Cree, Volker Kuhlmann\ + 15, 21 Mar 95; 20,24 Sep 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 24 Sep 96 (VK) +# Corrected and added some comments. +# 20 Sep 96 (VK) +# Updated for musixtex T.58. +# 21 Mar 95 (VK) +# Updated for musixtex 0.631. +# 15 Mar 95 (VK) +# Created for musixtex 0.63. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# musixtex fonts +mf "$MFARG"' \mag=magstep(0);' input musix11 +mf "$MFARG"' \mag=magstep(0);' input musix13 +mf "$MFARG"' \mag=magstep(0);' input musix16 +mf "$MFARG"' \mag=magstep(0);' input musix20 +# +mf "$MFARG"' \mag=magstep(0);' input musixsps +mf "$MFARG"' \mag=magstep(0);' input musixspx +# +mf "$MFARG"' \mag=magstep(0);' input xsld11 +mf "$MFARG"' \mag=magstep(0);' input xsld13 +mf "$MFARG"' \mag=magstep(0);' input xsld16 +mf "$MFARG"' \mag=magstep(0);' input xsld20 +# +mf "$MFARG"' \mag=magstep(0);' input xslhd11 +mf "$MFARG"' \mag=magstep(0);' input xslhd13 +mf "$MFARG"' \mag=magstep(0);' input xslhd16 +mf "$MFARG"' \mag=magstep(0);' input xslhd20 +# +mf "$MFARG"' \mag=magstep(0);' input xslhu11 +mf "$MFARG"' \mag=magstep(0);' input xslhu13 +mf "$MFARG"' \mag=magstep(0);' input xslhu16 +mf "$MFARG"' \mag=magstep(0);' input xslhu20 +# +mf "$MFARG"' \mag=magstep(0);' input xslhz20 +# +mf "$MFARG"' \mag=magstep(0);' input xslu11 +mf "$MFARG"' \mag=magstep(0);' input xslu13 +mf "$MFARG"' \mag=magstep(0);' input xslu16 +mf "$MFARG"' \mag=magstep(0);' input xslu20 +# +mf "$MFARG"' \mag=magstep(0);' input xslz20 +# +mf "$MFARG"' \mag=magstep(0);' input xtie20 + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into your tfm directory" +echo " copy all .pk-files into your pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_pandora b/fonts/utilities/makefonts/00previous/mk_pandora new file mode 100755 index 0000000000..ee62778c2f --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_pandora @@ -0,0 +1,154 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + mfnfss: pandora (as of pandora.dtx)\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 9 July 94; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# Added pntt 10,11,12pt. Note: no fd files for pntt! +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# PANDORA ROMAN +mf "$MFARG"' \mag=magstep(-3.8);' input pnr10 # 5pt +mf "$MFARG"' \mag=magstep(-2.8);' input pnr10 # 6pt +mf "$MFARG"' \mag=magstep(-1.96);' input pnr10 # 7pt +mf "$MFARG"' \mag=magstep(-1.22);' input pnr10 # 8pt +mf "$MFARG"' \mag=magstep(-0.578);' input pnr10 # 9pt +mf "$MFARG"' \mag=magstep(0);' input pnr10 +mf "$MFARG"' \mag=magstep(0.5);' input pnr10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input pnr10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input pnr10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input pnr10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input pnr10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input pnr10 # 24.88pt + +# PANDORA ROMAN BOLD +mf "$MFARG"' \mag=magstep(-3.8);' input pnb10 # 5pt +mf "$MFARG"' \mag=magstep(-2.8);' input pnb10 # 6pt +mf "$MFARG"' \mag=magstep(-1.96);' input pnb10 # 7pt +mf "$MFARG"' \mag=magstep(-1.22);' input pnb10 # 8pt +mf "$MFARG"' \mag=magstep(-0.578);' input pnb10 # 9pt +mf "$MFARG"' \mag=magstep(0);' input pnb10 +mf "$MFARG"' \mag=magstep(0.5);' input pnb10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input pnb10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input pnb10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input pnb10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input pnb10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input pnb10 # 24.88pt + +# PANDORA ROMAN SLANTED +mf "$MFARG"' \mag=magstep(-3.8);' input pnsl10 # 5pt +mf "$MFARG"' \mag=magstep(-2.8);' input pnsl10 # 6pt +mf "$MFARG"' \mag=magstep(-1.96);' input pnsl10 # 7pt +mf "$MFARG"' \mag=magstep(-1.22);' input pnsl10 # 8pt +mf "$MFARG"' \mag=magstep(-0.578);' input pnsl10 # 9pt +mf "$MFARG"' \mag=magstep(0);' input pnsl10 +mf "$MFARG"' \mag=magstep(0.5);' input pnsl10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input pnsl10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input pnsl10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input pnsl10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input pnsl10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input pnsl10 # 24.88pt + +# PANDORA SANS +mf "$MFARG"' \mag=magstep(-3.8);' input pnss10 # 5pt +mf "$MFARG"' \mag=magstep(-2.8);' input pnss10 # 6pt +mf "$MFARG"' \mag=magstep(-1.96);' input pnss10 # 7pt +mf "$MFARG"' \mag=magstep(-1.22);' input pnss10 # 8pt +mf "$MFARG"' \mag=magstep(-0.578);' input pnss10 # 9pt +mf "$MFARG"' \mag=magstep(0);' input pnss10 +mf "$MFARG"' \mag=magstep(0.5);' input pnss10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input pnss10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input pnss10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input pnss10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input pnss10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input pnss10 # 24.88pt + +# PANDORA SANS BOLD +mf "$MFARG"' \mag=magstep(-3.8);' input pnssb10 # 5pt +mf "$MFARG"' \mag=magstep(-2.8);' input pnssb10 # 6pt +mf "$MFARG"' \mag=magstep(-1.96);' input pnssb10 # 7pt +mf "$MFARG"' \mag=magstep(-1.22);' input pnssb10 # 8pt +mf "$MFARG"' \mag=magstep(-0.578);' input pnssb10 # 9pt +mf "$MFARG"' \mag=magstep(0);' input pnssb10 +mf "$MFARG"' \mag=magstep(0.5);' input pnssb10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input pnssb10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input pnssb10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input pnssb10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input pnssb10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input pnssb10 # 24.88pt + +# PANDORA SANS SLANTED +mf "$MFARG"' \mag=magstep(-3.8);' input pnssi10 # 5pt +mf "$MFARG"' \mag=magstep(-2.8);' input pnssi10 # 6pt +mf "$MFARG"' \mag=magstep(-1.96);' input pnssi10 # 7pt +mf "$MFARG"' \mag=magstep(-1.22);' input pnssi10 # 8pt +mf "$MFARG"' \mag=magstep(-0.578);' input pnssi10 # 9pt +mf "$MFARG"' \mag=magstep(0);' input pnssi10 +mf "$MFARG"' \mag=magstep(0.5);' input pnssi10 # 10.95pt +mf "$MFARG"' \mag=magstep(1);' input pnssi10 # 12pt +mf "$MFARG"' \mag=magstep(2);' input pnssi10 # 14.4pt +mf "$MFARG"' \mag=magstep(3);' input pnssi10 # 17.28pt +mf "$MFARG"' \mag=magstep(4);' input pnssi10 # 20.74pt +mf "$MFARG"' \mag=magstep(5);' input pnssi10 # 24.88pt + +# PANDORA TYPEWRITER +mf "$MFARG"' \mag=magstep(0);' input pntt9 +mf "$MFARG"' \mag=magstep(0.182);' input pntt9 # 10pt +mf "$MFARG"' \mag=magstep(1.076);' input pntt9 # 10.95pt +mf "$MFARG"' \mag=magstep(1.578);' input pntt9 # 12pt + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_rsfs b/fonts/utilities/makefonts/00previous/mk_rsfs new file mode 100755 index 0000000000..7883b5e857 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_rsfs @@ -0,0 +1,69 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + rsfs (Ralph Smith's Formal Script Symbol Fonts)\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 16 Mar 95; 8 Apr 95; 12 Oct 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# Ralph Smith's Formal Script Symbol Fonts +cmmf "$MFARG"' \mag=magstep(0);' input rsfs5 +cmmf "$MFARG"' \mag=magstep(0);' input rsfs7 +cmmf "$MFARG"' \mag=magstep(0);' input rsfs10 + + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_stmaryrd b/fonts/utilities/makefonts/00previous/mk_stmaryrd new file mode 100755 index 0000000000..abd90c9804 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_stmaryrd @@ -0,0 +1,74 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + stmaryrd (St Mary Road)\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 05 Feb 95; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# St Mary Road +cmmf "$MFARG"' \mag=magstep(0);' input stmary5 +cmmf "$MFARG"' \mag=magstep(0);' input stmary6 +cmmf "$MFARG"' \mag=magstep(0);' input stmary7 +cmmf "$MFARG"' \mag=magstep(0);' input stmary8 +cmmf "$MFARG"' \mag=magstep(0);' input stmary9 +cmmf "$MFARG"' \mag=magstep(0);' input stmary10 +cmmf "$MFARG"' \mag=magstep(0.5);' input stmary10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input stmary10 # 12pt + + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_utility b/fonts/utilities/makefonts/00previous/mk_utility new file mode 100755 index 0000000000..1c750053d1 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_utility @@ -0,0 +1,106 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + utilityfonts\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 21 July 94; 8 Jan 95; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. Using \scrollmode. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# LOGO +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input logo8 +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input logo9 +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input logo10 +mf "$MFARG"' \scrollmode; \mag=magstep(0.5);' input logo10 # 10.95pt +mf "$MFARG"' \scrollmode; \mag=magstep(1);' input logo10 # 12pt +mf "$MFARG"' \scrollmode; \mag=magstep(2);' input logo10 # 14.4pt +mf "$MFARG"' \scrollmode; \mag=magstep(3);' input logo10 # 17.28pt +mf "$MFARG"' \scrollmode; \mag=magstep(4);' input logo10 # 20.74pt +mf "$MFARG"' \scrollmode; \mag=magstep(5);' input logo10 # 24.88pt + +# LOGO BOLD +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input logobf10 +mf "$MFARG"' \scrollmode; \mag=magstep(0.5);' input logobf10 # 10.95pt +mf "$MFARG"' \scrollmode; \mag=magstep(1);' input logobf10 # 12pt +mf "$MFARG"' \scrollmode; \mag=magstep(2);' input logobf10 # 14.4pt +mf "$MFARG"' \scrollmode; \mag=magstep(3);' input logobf10 # 17.28pt +mf "$MFARG"' \scrollmode; \mag=magstep(4);' input logobf10 # 20.74pt +mf "$MFARG"' \scrollmode; \mag=magstep(5);' input logobf10 # 24.88pt + +# LOGO SLANTED +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input logosl10 +mf "$MFARG"' \scrollmode; \mag=magstep(0.5);' input logosl10 # 10.95pt +mf "$MFARG"' \scrollmode; \mag=magstep(1);' input logosl10 # 12pt +mf "$MFARG"' \scrollmode; \mag=magstep(2);' input logosl10 # 14.4pt +mf "$MFARG"' \scrollmode; \mag=magstep(3);' input logosl10 # 17.28pt +mf "$MFARG"' \scrollmode; \mag=magstep(4);' input logosl10 # 20.74pt +mf "$MFARG"' \scrollmode; \mag=magstep(5);' input logosl10 # 24.88pt + +# MANFNT +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input manfnt + +# GRAY +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input grayf +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input gresp +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input lgresp + +# BLACK +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input blesp + +# HALF +mf "$MFARG"' \scrollmode; \mag=magstep(0);' input halftone + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/00previous/mk_wasy b/fonts/utilities/makefonts/00previous/mk_wasy new file mode 100755 index 0000000000..9bbad904f2 --- /dev/null +++ b/fonts/utilities/makefonts/00previous/mk_wasy @@ -0,0 +1,87 @@ +#!/bin/csh -f +# need csh because of foreach used for running gftopk + +echo "\ +This script runs metafont and gftopk to produce the \ +following fonts / family / shapes:\ +\ + *********************************************************\ + wasy2\ + *********************************************************\ +\ +Give metafont mode as first argument (default = localfont)\ +\ +Volker Kuhlmann\ + 7 Jan 95; 8 Apr 95; 8 Apr 96\ +v.kuhlmann@elec.canterbury.ac.nz\ +" + + +# CHANGELOG +# +# 8 Apr 96 (VK) +# Added \scrollmode. Fixed docs. +# 8 Apr 95 (VK) +# Metafont mode can now be given as $1. + + +if ( $#argv > 0 ) set MODE=$1 +if ( ! $?MODE ) set MODE=localfont +echo "" +echo "**********************************" +echo 'metafont mode is set to: '$MODE +echo "**********************************" +echo "" + +set MFARG='\mode='"$MODE"'; \scrollmode;' + + +# WASY +cmmf "$MFARG"' \mag=magstep(0);' input wasy5 +cmmf "$MFARG"' \mag=magstep(0);' input wasy6 +cmmf "$MFARG"' \mag=magstep(0);' input wasy7 +cmmf "$MFARG"' \mag=magstep(0);' input wasy8 +cmmf "$MFARG"' \mag=magstep(0);' input wasy9 +cmmf "$MFARG"' \mag=magstep(0);' input wasy10 +cmmf "$MFARG"' \mag=magstep(0.5);' input wasy10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input wasy10 # 12pt +cmmf "$MFARG"' \mag=magstep(2);' input wasy10 # 14.4pt +cmmf "$MFARG"' \mag=magstep(3);' input wasy10 # 17.28pt +cmmf "$MFARG"' \mag=magstep(4);' input wasy10 # 20.74pt +cmmf "$MFARG"' \mag=magstep(5);' input wasy10 # 24.88pt + +# WASY BOLD +cmmf "$MFARG"' \mag=magstep(0);' input wasyb10 +cmmf "$MFARG"' \mag=magstep(0.5);' input wasyb10 # 10.95pt +cmmf "$MFARG"' \mag=magstep(1);' input wasyb10 # 12pt +cmmf "$MFARG"' \mag=magstep(2);' input wasyb10 # 14.4pt +cmmf "$MFARG"' \mag=magstep(3);' input wasyb10 # 17.28pt +cmmf "$MFARG"' \mag=magstep(4);' input wasyb10 # 20.74pt +cmmf "$MFARG"' \mag=magstep(5);' input wasyb10 # 24.88pt + + + +echo "" +echo "Metafont finished." +echo "" + + + +echo "Now running GFtoPK." + +# note this requires csh or tcsh +foreach file (*gf) + gftopk $file +end + +echo "GFtoPK finished." +echo "" + +echo "" +echo "To complete the font installation, do the following:" +echo " copy all .tfm-files into the tfm directory" +echo " copy all .pk-files into the pk-directory" +echo " delete all .gf files." +echo "" +echo "Have a nice day." +echo "" diff --git a/fonts/utilities/makefonts/README b/fonts/utilities/makefonts/README new file mode 100644 index 0000000000..149a8bd53b --- /dev/null +++ b/fonts/utilities/makefonts/README @@ -0,0 +1,58 @@ + GENERATING TFM/PK FONTS FOR TeX/LaTeX + ===================================== + +[This is makefonts release 2.0, 07 Nov 1999] + +Although contemporary TeX-systems support automatic generation of tfm and pk +files from metafont sources, which is a very convenient feature indeed, I still +prefer to have a set of basic fonts already on a system. I find this useful in +a server-client environment where I do not want to make the texmf tree +writable, and where I would like to avoid fonts being generated in /tmp/ on +each individual client. + +This package contains a set of Unix shell scripts which generate a LaTeX +document and run dvips on it, causing all fonts used to be generated. Files are +derived from a script called allcm, which may have come from teTeX (there is no +author in there), and which is not on CTAN. allcm misses some fonts, so I +include it for convenience/reference, but make_cm should be used instead. + +The files in the distribution are: + + 00previous The previous makefonts distribution. Not all scripts have been + converted, so the info therein might still be useful. + README This file + allcm As I got it + allec -> allcm As I got it + + make_ams AMS symbol and euler + make_cm cm + make_cm -ec cm with T1 encoding (ec fonts) + make_concrete -ec cc with T1 encoding + make_gothic gothic type fonts - not finished yet + make_latex latex + make_mflogo metafont/metapost logo + make_pandora pandora + make_rsfs rsfs (uppercase script) + make_slitex latex slide + make_stmaryrd stmaryrd (a symbol font) + make_wasy wasy (a symbol font) + +AUTHOR: + Volker Kuhlmann + University of Canterbury + Dept of Electrical and Electronic Engineering + Private Bag + Christchurch, New Zealand + + Email: v.kuhlmann@elec.canterbury.ac.nz + +COPYRIGHT: + none + +This material is not copyrighted. It is provided with the hope that it will be +useful. Any feedback (positive, negative, constructive preferred) is +appreciated. + +Have fun, and good luck! + +Volker diff --git a/fonts/utilities/makefonts/allcm b/fonts/utilities/makefonts/allcm new file mode 100755 index 0000000000..45975ce798 --- /dev/null +++ b/fonts/utilities/makefonts/allcm @@ -0,0 +1,106 @@ +#!/bin/sh + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +progname=`basename $0` + +case "$progname" in + allec) + encoding=T1;; + *) + encoding=OT1;; +esac + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + \newcommand{\myformula}{\sum a_{b_{c_d}} = c} + \newcommand{\mytext}{text $\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + + \newcommand{\TestSizes}{{% + \tiny \mytext\scriptsize \mytext\footnotesize \mytext\small \mytext + \normalsize \mytext + \large \mytext\Large \mytext\LARGE \mytext\huge \mytext\Huge \mytext}} + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\TestRM\TestSF\TestTT\newline} + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC} + \begin{document} + \TestShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$encoding']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +head 10 > allcm10.tex +head 11 > allcm11.tex +head 12 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/allec b/fonts/utilities/makefonts/allec new file mode 100755 index 0000000000..45975ce798 --- /dev/null +++ b/fonts/utilities/makefonts/allec @@ -0,0 +1,106 @@ +#!/bin/sh + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +progname=`basename $0` + +case "$progname" in + allec) + encoding=T1;; + *) + encoding=OT1;; +esac + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + \newcommand{\myformula}{\sum a_{b_{c_d}} = c} + \newcommand{\mytext}{text $\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + + \newcommand{\TestSizes}{{% + \tiny \mytext\scriptsize \mytext\footnotesize \mytext\small \mytext + \normalsize \mytext + \large \mytext\Large \mytext\LARGE \mytext\huge \mytext\Huge \mytext}} + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\TestRM\TestSF\TestTT\newline} + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC} + \begin{document} + \TestShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$encoding']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +head 10 > allcm10.tex +head 11 > allcm11.tex +head 12 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_ams b/fonts/utilities/makefonts/make_ams new file mode 100755 index 0000000000..1a4b2538de --- /dev/null +++ b/fonts/utilities/makefonts/make_ams @@ -0,0 +1,143 @@ +#!/bin/sh + +# Generate pk fonts for: +# ams with packages amssymb, euscript +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 5, 6 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +case "$1" in + -ec|-t1) + encoding=T1 + shift + ;; + *) + encoding=OT1 + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \usepackage{amssymb} + %\usepackage{eufrak} + \usepackage[mathscr]{euscript} + + \begin{document} + \renewcommand{\myformula}{\mathfrak{A}\mathscr{A}% + \mathbb{A}\Cup\hbar\sum} + \TestShapes + \boldmath\TestShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 $encoding > allcm10.tex +head 11 $encoding > allcm11.tex +head 12 $encoding > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_cm b/fonts/utilities/makefonts/make_cm new file mode 100755 index 0000000000..60593e41a2 --- /dev/null +++ b/fonts/utilities/makefonts/make_cm @@ -0,0 +1,149 @@ +#!/bin/sh + +# Generate pk fonts for: +# cm +# Based on the script allcm (allec) from an unknown source (teTeX?). +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 5 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +progname=`basename $0` + +case "$progname" in + allec) + encoding=T1;; + *) + encoding=OT1;; +esac + +case "$1" in + -ec|-t1) + encoding=T1 + shift + ;; + *) + true; # encoding=OT1 + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + %\usepackage{} + + \begin{document} + \TestShapes + \boldmath\TestShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 $encoding > allcm10.tex +head 11 $encoding > allcm11.tex +head 12 $encoding > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_concrete b/fonts/utilities/makefonts/make_concrete new file mode 100755 index 0000000000..ee2ec90a9d --- /dev/null +++ b/fonts/utilities/makefonts/make_concrete @@ -0,0 +1,138 @@ +#!/bin/sh + +# Generate pk fonts for: +# concrete, concmath with package ccfonts +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 4, 5 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +case "$1" in + -ec|-t1) + encoding=T1 + shift + ;; + *) + encoding=OT1 + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \usepackage{ccfonts} + + \begin{document} + \TestShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 $encoding > allcm10.tex +head 11 $encoding > allcm11.tex +head 12 $encoding > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_gothic b/fonts/utilities/makefonts/make_gothic new file mode 100755 index 0000000000..9d73a1a997 --- /dev/null +++ b/fonts/utilities/makefonts/make_gothic @@ -0,0 +1,139 @@ +#!/bin/sh + +# Generate pk fonts for: +# ygoth, yfrak, yswap with package mfnfss/oldgerm +# #yinit +# #cmfrak (no package available) +# #sueterlin with package fundus/sueterl +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 4, 7 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c} + \newcommand{\mytext}{text} + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + %\usepackage{pandora} % bundle mfnfss + \usepackage{oldgerm} % bundle mfnfss + + \begin{document} + %\TestShapes + \let\rmfamily=\frakfamily\TextShapes + \let\rmfamily=\gothfamily\TextShapes + \let\rmfamily=\swabfamily\TextShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 OT1 > allcm10.tex +head 11 OT1 > allcm11.tex +head 12 OT1 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Calling latex... <<<<<<<<<< +--------------------------------------------------------------------- +EOF +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<< +--------------------------------------------------------------------- +EOF +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_latex b/fonts/utilities/makefonts/make_latex new file mode 100755 index 0000000000..43db5b7f26 --- /dev/null +++ b/fonts/utilities/makefonts/make_latex @@ -0,0 +1,139 @@ +#!/bin/sh + +# Generate pk fonts for: +# latex, latex symbol with package latexsym +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 4, 5 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \newcommand{\mylatexformula}{\lhd\hbox{\boldmath$\lhd$}\ } + \newcommand{\latexpict}{\begin{picture}(10,10)(0,0) + \vector(3,1){4.8}\circle{5}\end{picture}} + \newcommand{\mylatextext}{\par Az + \thinlines\latexpict \thicklines\latexpict} + \newcommand{\LatexShapes}{% + \let\myformula=\mylatexformula \let\mytext=\mylatextext \TestShapes} + + \usepackage{latexsym} + + \begin{document} + %\TestShapes + \LatexShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + #echo '\documentclass['$1'pt]{slides}' + # slides must be separate fromlatex because it interferes with lasy, lasyb + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 OT1 > allcm10.tex +head 11 OT1 > allcm11.tex +head 12 OT1 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_mflogo b/fonts/utilities/makefonts/make_mflogo new file mode 100755 index 0000000000..9384fe171a --- /dev/null +++ b/fonts/utilities/makefonts/make_mflogo @@ -0,0 +1,148 @@ +#!/bin/sh + +# Generate pk fonts for: +# logo with package mflogo +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 7 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +progname=`basename $0` + +case "$progname" in + allec) + encoding=T1;; + *) + encoding=OT1;; +esac + +case "$1" in + -ec|-t1) + encoding=T1 + shift + ;; + *) + true; # encoding=OT1 + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \usepackage{mflogo} + + \begin{document} + \let\mytext=\MF + \TestShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 $encoding > allcm10.tex +head 11 $encoding > allcm11.tex +head 12 $encoding > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_pandora b/fonts/utilities/makefonts/make_pandora new file mode 100755 index 0000000000..e6973144fb --- /dev/null +++ b/fonts/utilities/makefonts/make_pandora @@ -0,0 +1,131 @@ +#!/bin/sh + +# Generate pk fonts for: +# pandora with package mfnfss +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 4, 5 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \usepackage{pandora} % package mfnfss + %\usepackage{oldgerm} % package mfnfss + + \begin{document} + %\TestShapes + \TextShapes + %\gothfamily\TextShapes \swabfamily\TextShapes \frakfamily\TextShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 OT1 > allcm10.tex +head 11 OT1 > allcm11.tex +head 12 OT1 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_rsfs b/fonts/utilities/makefonts/make_rsfs new file mode 100755 index 0000000000..5bc4dfd060 --- /dev/null +++ b/fonts/utilities/makefonts/make_rsfs @@ -0,0 +1,141 @@ +#!/bin/sh + +# Generate pk fonts for: +# rsfs with package jknappen/mathrsfs +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 4, 5 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par \TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \newcommand{\mylatexformula}{\lhd\hbox{\boldmath$\lhd$}\ } + \newcommand{\latexpict}{\begin{picture}(10,10)(0,0) + \vector(3,1){4.8}\circle{5}\end{picture}} + \newcommand{\mylatextext}{\par Az + \thinlines\latexpict \thicklines\latexpict} + \newcommand{\LatexShapes}{% + \let\myformula=\mylatexformula \let\mytext=\mylatextext \TestShapes} + + \usepackage{mathrsfs} + + \begin{document} + %\renewcommand{\bfdefault}{b} + %\renewcommand{\mytext}{\clock} + \renewcommand{\myformula}{\mathscr{ABC}} + %\TestShapes + %\LatexShapes + \TestSizes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 OT1 > allcm10.tex +head 11 OT1 > allcm11.tex +head 12 OT1 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_slitex b/fonts/utilities/makefonts/make_slitex new file mode 100755 index 0000000000..bb097ab486 --- /dev/null +++ b/fonts/utilities/makefonts/make_slitex @@ -0,0 +1,139 @@ +#!/bin/sh + +# Generate pk fonts for: +# slitex: lcmss, lcmssb, lcmssi +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 4, 5 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c\ } + \newcommand{\mytext}{text\ } + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\par\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \newcommand{\mylatexformula}{\lhd\hbox{\boldmath$\lhd$}\ } + \newcommand{\latexpict}{\begin{picture}(10,10)(0,0) + \vector(3,1){4.8}\circle{5}\end{picture}} + \newcommand{\mylatextext}{\par Az + \thinlines\latexpict \thicklines\latexpict} + \newcommand{\LatexShapes}{% + \let\myformula=\mylatexformula \let\mytext=\mylatextext \TestShapes} + + %\usepackage{latexsym} + + \begin{document} + \TestShapes + %\LatexShapes + \end{document} +eof +} + +head() +{ + #echo '\documentclass['$1'pt]{article}' + echo '\documentclass['$1'pt]{slides}' + # slides must be separate fromlatex because it interferes with lasy, lasyb + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 OT1 > allcm10.tex +head 11 OT1 > allcm11.tex +head 12 OT1 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_stmaryrd b/fonts/utilities/makefonts/make_stmaryrd new file mode 100755 index 0000000000..c5e2020be8 --- /dev/null +++ b/fonts/utilities/makefonts/make_stmaryrd @@ -0,0 +1,141 @@ +#!/bin/sh + +# Generate pk fonts for: +# stmaryrd with package stmaryrd +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 04 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c} + \newcommand{\mytext}{text} + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \newcommand{\mylatexformula}{\lhd\hbox{\boldmath$\lhd$}\ } + \newcommand{\latexpict}{\begin{picture}(10,10)(0,0) + \vector(3,1){4.8}\circle{5}\end{picture}} + \newcommand{\mylatextext}{\par Az + \thinlines\latexpict \thicklines\latexpict} + \newcommand{\LatexShapes}{% + \let\myformula=\mylatexformula \let\mytext=\mylatextext \TestShapes} + + \usepackage{stmaryrd} + + \begin{document} + %\renewcommand{\bfdefault}{b} + %\renewcommand{\mytext}{\clock} + \renewcommand{\myformula}{\Yup} + \TestShapes + %\LatexShapes + %\TestSizes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 OT1 > allcm10.tex +head 11 OT1 > allcm11.tex +head 12 OT1 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ diff --git a/fonts/utilities/makefonts/make_wasy b/fonts/utilities/makefonts/make_wasy new file mode 100755 index 0000000000..36c18f093e --- /dev/null +++ b/fonts/utilities/makefonts/make_wasy @@ -0,0 +1,139 @@ +#!/bin/sh + +# Generate pk fonts for: +# wasy with package wasysym +# Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz> +# 04 Nov 1999 + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + + \newcommand{\myformula}{\sum a_{b_{c_d}} = c} + \newcommand{\mytext}{text} + \newcommand{\mymath}{$\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + \newcommand{\mytextmath}{\mytext\mymath} + + \newcommand{\TestSizesSmaller}{{% + \tiny\mytextmath \scriptsize\mytextmath + \footnotesize\mytextmath \small\mytextmath}} + \newcommand{\TestSizesLarger}{{% + \normalsize\mytextmath + \large\mytextmath \Large\mytextmath \LARGE\mytextmath + \huge\mytextmath \Huge\mytextmath}} + \newcommand{\TestSizes}{\TestSizesSmaller\TestSizesLarger} + + \newcommand{\TextSmaller}{{% + \tiny\mytext \scriptsize\mytext + \footnotesize\mytext \small\mytext}} + \newcommand{\TextLarger}{{% + \normalsize\mytext + \large\mytext \Large\mytext \LARGE\mytext + \huge\mytext \Huge\mytext}} + \newcommand{\TextSizes}{\TextSmaller\TextLarger} + + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\TestRM\TestSF\TestTT\par} + + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC\par} + + \newcommand{\TextShapes}{\let\TestSizes=\TextSizes \TestShapes} + + \newcommand{\mylatexformula}{\lhd\hbox{\boldmath$\lhd$}\ } + \newcommand{\latexpict}{\begin{picture}(10,10)(0,0) + \vector(3,1){4.8}\circle{5}\end{picture}} + \newcommand{\mylatextext}{\par Az + \thinlines\latexpict \thicklines\latexpict} + \newcommand{\LatexShapes}{% + \let\myformula=\mylatexformula \let\mytext=\mylatextext \TestShapes} + + \usepackage{wasysym} + + \begin{document} + \renewcommand{\bfdefault}{b} + \renewcommand{\mytext}{\clock} + \TestShapes + %\LatexShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$2']{fontenc}' +} + +cd /tmp +mkdir tmp$$ && cd tmp$$ || exit +trap "cd / ; rm -rf /tmp/tmp$$; trap '' 0; exit 0" 0 1 2 15 + +cat <<-'EOF' >&2 + +--------------------------------------------------------------------- +>>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<< +--------------------------------------------------------------------- +EOF +head 10 OT1 > allcm10.tex +head 11 OT1 > allcm11.tex +head 12 OT1 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -f allcm12 > /dev/null + +cd / +rm -rf /tmp/tmp$$ |