summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/base/nfssfont.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/nfssfont.tex')
-rw-r--r--Master/texmf-dist/tex/latex/base/nfssfont.tex82
1 files changed, 55 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/base/nfssfont.tex b/Master/texmf-dist/tex/latex/base/nfssfont.tex
index 01c5923be84..74c05955d8c 100644
--- a/Master/texmf-dist/tex/latex/base/nfssfont.tex
+++ b/Master/texmf-dist/tex/latex/base/nfssfont.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -16,12 +16,12 @@
%% --------------------------------------------------------------
%%
%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
+%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2003/12/01 or later.
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
%%
%% This file has the LPPL maintenance status "maintained".
%%
@@ -36,8 +36,8 @@
%% The list of derived (unpacked) files belonging to the distribution
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
-\def\nfssfontfileversion{v2.1a}
-\def\nfssfontfiledate{2003/01/12}
+\def\nfssfontfileversion{v2.2b}
+\def\nfssfontfiledate{2006/01/08}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -55,12 +55,14 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\documentclass{article} %FMi
-\nofiles %FMi
-\textwidth=470pt %FMi
-\oddsidemargin=0pt %FMi
-\textheight=1000pt %FMi
-\def\sevenrm{\fontsize{7}{9pt}\rmfamily} %FMi
+\documentclass{article}
+\nofiles
+\setlength\textwidth{470pt}
+\setlength\oddsidemargin{0pt}
+\addtolength\textheight{7\baselineskip}
+\addtolength\topmargin{-3\baselineskip}
+
+\def\sevenrm{\fontencoding{OT1}\fontsize{7}{9pt}\rmfamily}
\typeout{**********************************************}
\typeout{* NFSS font test program version <\nfssfontfileversion>}
@@ -90,14 +92,35 @@
\typein[\currfontname]%
{Input external font name, e.g., cmr10^^J%
(or <enter> for NFSS classification of font):}%
+ \def\encoding{unkown}%
+ \fontencoding{T1}\selectfont
\ifx\currfontname\empty
- \begingroup
\typein[\encoding]{^^J^^J*** NFSS classification
***^^J^^JFont encoding [T1]:}%
\ifx\encoding\empty
\fontencoding{T1}%
+ \def\encoding{T1}%
\else
- \expandafter\let\csname T@\encoding\endcsname\empty
+ \edef\next{%
+ \lowercase{\def\noexpand\next{\encoding enc.def}}}%
+ \next
+ \makeatletter
+ \InputIfFileExists\next
+ {}%
+ {\PackageWarningNoLine{nfssfont}%
+ {Encoding file `\next' not found.%
+ \MessageBreak
+ You might have misspelt the name of the encoding
+ \MessageBreak
+ or perhaps this encoding is not a text encoding,
+ \MessageBreak
+ in which case you will probably only be able to
+ \MessageBreak
+ run the \noexpand\table command successfully}%
+ \expandafter\let\csname T@\encoding\endcsname\empty
+ }%
+ \makeatother
+ \let\next\relax
\fontencoding\encoding
\fi
\typein[\family]{Font family [cmr]:}%
@@ -125,13 +148,13 @@
\else
\fontsize\size\size
\fi
- \selectfont\xdef\currfontname{\fontname\font}%
- \endgroup
+ \selectfont\edef\currfontname{\fontname\font}%
\fi
\startfont
\message{Now type a test command (\string\help\space for help):}}
\def\startfont{\font\testfont=\currfontname
- \leftline{\sevenrm Test of \currfontname\unskip\ on \today\ at \hours}
+ \leftline{\sevenrm Test of font \currfontname\unskip\ (encoding
+ \encoding\unskip) on \today\ at \hours}
\medskip
\testfont \setbaselineskip
\ifdim\fontdimen6\testfont<10pt \rightskip=0pt plus 20pt
@@ -241,9 +264,10 @@ and you can use ordinary TeX commands (e.g., to \input a file).}}}
\def\mathtrial{$\\A \\B \\C \\D \\E \\F \\G \\H \\I \\J \\K \\L
\\M \\N \\O \\P \\Q \\R \\S \\T \\U \\V \\W \\X \\Y \\Z$\par}
\math\endgroup}
-\def\oct#1{\hbox{\rmfamily\'{}\kern-.2em\itshape
- #1\/\kern.05em}} % octal constant
-\def\hex#1{\hbox{\rmfamily\H{}\ttfamily#1}} % hexadecimal constant
+\def\oct#1{\hbox{\fontencoding{OT1}\rmfamily\'{}\kern-.2em\itshape
+ #1\/\kern.05em}}% octal constant
+\def\hex#1{\hbox{\fontencoding{OT1}\rmfamily
+ \H{}\ttfamily#1}}% hexadecimal constant
\def\setdigs#1"#2{\gdef\h{#2}% \h=hex prefix; \0\1=corresponding octal
\m=\n \divide\m by 64 \xdef\0{\the\m}%
\multiply\m by-64 \advance\m by\n \divide\m by 8 \xdef\1{\the\m}}
@@ -305,17 +329,21 @@ inculcating love and reverence for the great principles of government
as derived from the inalienable rights of man to life, liberty, and
the pursuit of happiness.'' \moretext
(!`THE DAZED BROWN FOX QUICKLY GAVE 12345--67890 JUMPS!)\par}}
-\def\moretext{?`But aren't Kafka's Schlo{\ss} and {\AE}sop's
-{\OE}uvres often na{\"\i}ve vis-\`a-vis the d{\ae}monic ph{\oe}nix's
+\def\moretext{?`But aren't Kafka's Schlo\ss{} and \AE sop's
+\OE uvres often na\"\i ve vis-\`a-vis the d\ae monic ph\oe nix's
official r\^ole in fluffy souffl\'es? }
\def\omitaccents{\let\moretext=\relax}
\def\sample{\table\text}
-\def\bye{\end{document}} %FMi
-\let\oldtypeout\typeout %FMi
-\def\typeout#1{} %FMi
-\begin{document} %FMi
-\let\typeout\oldtypeout %FMi
+\def\bye{\end{document}}
+\let\oldtypeout\typeout
+\def\typeout#1{}
+\makeatletter
+\let\@preamblecmds\@empty
+\makeatother
+
+\begin{document}
+\let\typeout\oldtypeout
\ifx\noinit!\else\init\fi
\endinput