summaryrefslogtreecommitdiff
path: root/macros/latex/base/tex2.txt
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/base/tex2.txt
Initial commit
Diffstat (limited to 'macros/latex/base/tex2.txt')
-rw-r--r--macros/latex/base/tex2.txt83
1 files changed, 83 insertions, 0 deletions
diff --git a/macros/latex/base/tex2.txt b/macros/latex/base/tex2.txt
new file mode 100644
index 0000000000..09cd388cde
--- /dev/null
+++ b/macros/latex/base/tex2.txt
@@ -0,0 +1,83 @@
+ LaTeX installation TeX2 information
+
+ 16 September 1995
+
+
+In order to make a LaTeX format and use it you need, in addition to
+the LaTeX source files, a TeX implementation.
+
+If your TeX is very old, prior to version TeX3, then certain features
+will be missing from your system. In particular, you will probably
+have no support for `8-bit' input and hyphenation of words with
+accented characters.
+
+Most (perhaps all) TeX implementations are available in versions that
+are at least as recent as TeX3 (released in 1989) so the best course
+of action is to update your TeX installation before building LaTeX.
+
+However, if you must for some reason make the LaTeX format by running
+the old TeX2 then it is necessary to have a `configuration file' named
+fonttext.cfg. The existence of this file will prevent LaTeX trying to
+access 8-bit characters, which is not allowed in the old TeX2 version
+of TeX.
+
+If you fail to use such a configuration file, LaTeX will detect that it
+is running under TeX2 and stop with the following message (without
+making a format file):
+
+*************************************
+*
+* You MUST use a fonttext.cfg file!
+* As you are still using TeX2!!!!!!
+*
+* See the documentation file tex2.txt
+*
+*************************************
+
+
+There is more information about the file fonttext.cfg in the file
+cfgguide.tex; but for a minimal configuration that allows LaTeX to
+be built on TeX2, just do the following:
+
+ * Copy the standard fonttext.ltx file to fonttext.cfg
+ * Then edit the file fonttext.cfg as follows:
+ -- Change the \ProvidesFile call (see below).
+ -- Comment out all the lines referring to the `T1' encoding (but not
+ those referring to the `OT1' encoding).
+
+Thus the resulting file will look something like the following.
+
+%%% File: fonttext.cfg
+\ProvidesFile{fonttext.cfg}
+ [1995/06/05 v1.0 TeX2 text font setup]
+
+\input {OMLenc.def}
+%%%%% NOT FOR TeX2 \input {T1enc.def}
+\input {OT1enc.def} % <- should come after T1 for speed
+\input {OMSenc.def}
+\fontencoding{OT1}
+\DeclareFontEncodingDefaults{}{}
+%%%%% NOT FOR TeX2 \DeclareFontSubstitution{T1}{cmr}{m}{n}
+\DeclareFontSubstitution{OT1}{cmr}{m}{n}
+%%%%% NOT FOR TeX2 \input {T1cmr.fd}
+\input {OT1cmr.fd}
+\input {OT1cmss.fd}
+\input {OT1cmtt.fd}
+\DeclareErrorFont{OT1}{cmr}{m}{n}{10}
+\newcommand\rmdefault{cmr}
+\newcommand\sfdefault{cmss}
+\newcommand\ttdefault{cmtt}
+
+\newcommand\bfdefault{bx}
+\newcommand\mddefault{m}
+
+\newcommand\itdefault{it}
+\newcommand\sldefault{sl}
+\newcommand\scdefault{sc}
+\newcommand\updefault{n}
+
+\newcommand\encodingdefault{OT1}
+\newcommand\familydefault{\rmdefault}
+\newcommand\seriesdefault{\mddefault}
+\newcommand\shapedefault{\updefault}
+\endinput