summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pslatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:56:31 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:56:31 +0000
commit8acd990fff1358f626107ce3488576fcdbb09995 (patch)
tree41c4486093352bd655a53dfe0338f18f833e5468 /Master/texmf-dist/source/latex/pslatex
parent591c7e4eb6e46ca48d0a57e5348bdc655a0771cb (diff)
trunk/Master/texmf-dist/source/latex/pslatex
git-svn-id: svn://tug.org/texlive/trunk@470 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/pslatex')
-rw-r--r--Master/texmf-dist/source/latex/pslatex/fontinst/pslatex.tex18
-rw-r--r--Master/texmf-dist/source/latex/pslatex/shell/pslatex16
-rw-r--r--Master/texmf-dist/source/latex/pslatex/shell/pslatex.bat14
3 files changed, 48 insertions, 0 deletions
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
+