From 8acd990fff1358f626107ce3488576fcdbb09995 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 11 Jan 2006 23:56:31 +0000 Subject: trunk/Master/texmf-dist/source/latex/pslatex git-svn-id: svn://tug.org/texlive/trunk@470 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/pslatex/fontinst/pslatex.tex | 18 ++++++++++++++++++ Master/texmf-dist/source/latex/pslatex/shell/pslatex | 16 ++++++++++++++++ .../texmf-dist/source/latex/pslatex/shell/pslatex.bat | 14 ++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 Master/texmf-dist/source/latex/pslatex/fontinst/pslatex.tex create mode 100644 Master/texmf-dist/source/latex/pslatex/shell/pslatex create mode 100644 Master/texmf-dist/source/latex/pslatex/shell/pslatex.bat (limited to 'Master/texmf-dist/source/latex/pslatex') diff --git a/Master/texmf-dist/source/latex/pslatex/fontinst/pslatex.tex b/Master/texmf-dist/source/latex/pslatex/fontinst/pslatex.tex new file mode 100644 index 00000000000..8082f96bc56 --- /dev/null +++ b/Master/texmf-dist/source/latex/pslatex/fontinst/pslatex.tex @@ -0,0 +1,18 @@ + +% input the fontinst (needs test version from the psfonts area) +\input fontinst.sty + +% Squash a courier + \transformfont{pcrr8rn}{% + \xscalefont{850}{% + \reencodefont{8r}{\fromafm{pcrr8a}} + } + } + +% make condensed courier in OT1 and T1 +\installfonts +\installfont{pcrr7tn}{pcrr8rn,psyr,latin}{OT1tt}{OT1}{pcr}{c}{n}{} +\installfont{pcrr8tn}{pcrr8rn,psyr,latin}{T1}{T1}{pcr}{c}{n}{} +\endinstallfonts + + diff --git a/Master/texmf-dist/source/latex/pslatex/shell/pslatex b/Master/texmf-dist/source/latex/pslatex/shell/pslatex new file mode 100644 index 00000000000..bb47daf1711 --- /dev/null +++ b/Master/texmf-dist/source/latex/pslatex/shell/pslatex @@ -0,0 +1,16 @@ +#!/bin/sh +echo +echo "*************************************" +echo "* Using LaTeX, with pslatex package *" +echo "*************************************" +echo + +# messing around with \PSLATEXTMP is for AUCTeX which calls +# documents via latex \nonstopmode \input{file} + +latex \ + "\AtBeginDocument{\RequirePackage{pslatex}}"\ + "\def\PSLATEXTMP{\futurelet\PSLATEXTMP\PSLATEXTMPB}"\ + "\def\PSLATEXTMPB{\ifx\PSLATEXTMP\nonstopmode\else\input\fi}"\ + "\PSLATEXTMP" $* + diff --git a/Master/texmf-dist/source/latex/pslatex/shell/pslatex.bat b/Master/texmf-dist/source/latex/pslatex/shell/pslatex.bat new file mode 100644 index 00000000000..e84932e869b --- /dev/null +++ b/Master/texmf-dist/source/latex/pslatex/shell/pslatex.bat @@ -0,0 +1,14 @@ + +@echo off + +echo +echo ************************************* +echo * Using LaTeX, with pslatex package * +echo ************************************* +echo + +rem emtex default setup calls this latex2e rather than latex + +rem latex2e \AtBeginDocument{\RequirePackage{pslatex}}\input %1 %2 %3 %4 %5 %6 +latex \AtBeginDocument{\RequirePackage{pslatex}}\input %1 %2 %3 %4 %5 %6 + -- cgit v1.2.3