diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:05:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:05:21 +0000 |
commit | 15f7206dd3f97a844cede7fb76358ba6a022981c (patch) | |
tree | e4cbc8f64972457d169dbc8482cf58698230e8c2 /Master/texmf-dist/tex/latex/relenc | |
parent | ee0212e120bb432a474a7d5f7de31641543bccf6 (diff) |
relenc
git-svn-id: svn://tug.org/texlive/trunk@1275 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/relenc')
-rw-r--r-- | Master/texmf-dist/tex/latex/relenc/2sidedoc.sty | 360 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/relenc/ecsubzcm.sty | 32 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/relenc/relenc.sty | 389 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/relenc/t1renc.def | 231 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/relenc/t1rzcm.fd | 44 |
5 files changed, 1056 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/relenc/2sidedoc.sty b/Master/texmf-dist/tex/latex/relenc/2sidedoc.sty new file mode 100644 index 00000000000..64c4f523d3e --- /dev/null +++ b/Master/texmf-dist/tex/latex/relenc/2sidedoc.sty @@ -0,0 +1,360 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{2sidedoc}[1999/01/24] + +\newif\ifTSD@setpdimens \TSD@setpdimensfalse +\let\TSD@showdimen=\@gobble + +\DeclareOption{setpagedimens}{\TSD@setpdimenstrue} +\DeclareOption{showdimens}{% + \def\TSD@showdimen#1{% + \dimen@=0.35146#1% + \immediate\write\sixt@@n{#1: \strip@pt\dimen@ mm}% + }% +} + +\ProcessOptions\relax + +\if@twoside + \normalmarginpar + \@mparswitchtrue + + \ifTSD@setpdimens + % The total width of the part of the page on which text should be + % allowed to appear is the width of 94 characters in the current + % \MacroFont. (20 in the margin, 72 in the main text (whose width + % is \textwidth), and 2 separating them.) + \ifdim\z@>\textwidth + % If the \textwidth is negative at this point, the negation of + % that value is used, to allow for further configuration. + \setlength\textwidth{-\textwidth}% + % \marginparsep is left unchanged. + \else + \ifcase\@ptsize + % 10pt, computed using cmtt9 at 9pt + \setlength\textwidth{340.2pt} + \setlength\marginparsep{9.4499pt} % 2*4.72495pt + \or + % 11pt, computed using cmtt10 at 10pt + \setlength\textwidth{378.0pt} + \setlength\marginparsep{10.4999pt} % 2*5.24995pt + \or + % 12pt, computed using cmtt10 at 10.95pt + \setlength\textwidth{414pt} + \setlength\marginparsep{11.49738pt} % 2*5.74869pt + \else + % Assume \@ptsize is the main font size, but compute the width + % as if \MacroFont includes a \small setting which reduces the + % size of everything by "\magstep-0.5" (that is, by a factor + % 1.2^{-0.5}, and assume the metrics of the font coincide with + % those of cmtt8. + \setlength\textwidth{34.91781pt} + \setlength\textwidth{\@ptsize\textwidth} + \setlength\marginparsep{0.96994pt} + \setlength\marginparsep{\@ptsize\marginparsep} + \fi + \fi + \ifdim 3truecm>\paperwidth + \PackageError{twosidedoc}{Your \protect\paperwidth\space is % + ridiculously small}\@ehd + \dimen@=2truecm + \advance\dimen@ \marginparsep + \ifdim \dimen@<\paperwidth \else + \PackageError{twosidedoc}{You have an infinite loop ahead}% + {You really should type X to quit now.} + \fi + \fi + \dimen@ii=\p@ + \loop + \dimen@=\paperwidth + \advance\dimen@ -\marginparsep + \advance\dimen@ -1.27778\textwidth + \ifdim 2truecm<\dimen@ \else + % This gets dangerously close to the physical margins. Shrink + % the \textwidth by 5%. + \setlength\textwidth{0.95\textwidth} + \dimen@ii=0.95\dimen@ii + \repeat + \ifdim\dimen@ii<\p@ + \dimen@=72\dimen@ + \dimen@ii=100\dimen@ii + \ifdim\dimen@ii<90\p@ + \expandafter\PackageWarningNoLine + \else + \expandafter\PackageInfo + \fi{twosidedoc}{% + The width of the text has been shrunk\MessageBreak + to \strip@pt\dimen@ii\@percentchar\space of its original % + size.\MessageBreak + This is approximately \strip@pt\dimen@\space characters.% + } + \fi + % Now at last \textwidth is established. The other values follow easily. + \setlength\marginparwidth{0.27778\textwidth} + % Margins are calculated as follows: 1 cm is reserved at each side + % and what remains is split 1:2 between inner and outer margin. + \dimen@=\paperwidth + \advance\dimen@ -\textwidth + \advance\dimen@ -\marginparsep + \advance\dimen@ -\marginparwidth + \advance\dimen@ -2truecm + \divide\dimen@ \thr@@ + \setlength\oddsidemargin{\dimen@} + \setlength\evensidemargin{2\dimen@} + \advance\oddsidemargin 1truecm + \advance\oddsidemargin -1truein + \advance\evensidemargin \marginparsep + \advance\evensidemargin \marginparwidth + \advance\evensidemargin 1truecm + \advance\evensidemargin -1truein + \else + % Otherwise only the margins are changed. + \setlength\evensidemargin{\oddsidemargin} + \setlength\oddsidemargin{\paperwidth} + \advance\oddsidemargin -\textwidth + \advance\oddsidemargin -2truein + \advance\oddsidemargin -\evensidemargin + \advance\marginparsep 5\p@ + \dimen@=\evensidemargin + \advance\dimen@ 1truein + \advance\dimen@ -1truecm + \advance\dimen@ -\marginparsep + \setlength\marginparwidth{\dimen@} + \fi +\else + \advance\marginparsep 5\p@ + \dimen@=\oddsidemargin + \advance\dimen@ 1truein + \advance\dimen@ -1truecm + \advance\dimen@ -\marginparsep + \setlength\marginparwidth{\dimen@} +\fi + +\TSD@showdimen\textwidth +\TSD@showdimen\oddsidemargin +\TSD@showdimen\evensidemargin +\TSD@showdimen\marginparwidth +\TSD@showdimen\marginparsep +\TSD@showdimen\marginparpush +\TSD@showdimen\jot + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Modifications of macro etc. +% +\newcount\macro@line@cnt +\macro@line@cnt=\z@ + % \macro@cnt keeps track of how many macro names have been printed. + % \macro@line@cnt keeps track of how many lines it has taken. +\def\TSD@prevgraf{1} + % The last stored value of \prevgraf. +\newif\ifTSD@rightmargin@ + % Should macro/environment name be formatted for printing in the + % right margin? (false = for left margin). + +\def\PrintMacroName#1{% + \expandafter\TSD@print@name \expandafter{\string#1}% +} +\def\PrintDescribeMacro#1{% + \expandafter\TSD@print@name \expandafter{\expandafter\strut + \string#1\strut}% +} +\def\PrintEnvName#1{\TSD@print@name{#1}} +\def\PrintDescribeEnv#1{\TSD@print@name{\strut#1\strut}} + + +\def\TSD@print@name#1{% + \raise 1ex\hbox{% + \MacroFont + \lower 1ex\vtop{% + \everypar={}% Very important!!!! + \hsize=\marginparwidth + \parindent=\z@ + \parskip=\z@skip + \baselineskip=\normalbaselineskip + \lineskiplimit=-\maxdimen + \ifTSD@rightmargin@ + \TSD@macro@format@right{#1}% + \else + \TSD@macro@format@left{#1}% + \fi + \xdef\TSD@prevgraf{\the\prevgraf}% + }% + }% +} +% #1 is the macro/enviroment; it has already been \string:ed. +\def\TSD@macro@format@right#1{% + \leftskip=\z@\@plus 1fill\relax + \hskip-\leftskip + \rightskip=\z@\@plus\fontdimen\tw@\font\relax + \parfillskip=\z@\@plus 1fil\relax + \TSD@one@letter@words{#1}% + \@@par +} +\def\TSD@macro@format@left#1{% + \hskip\z@\@plus 1fill\relax + \leftskip=\z@skip + \rightskip=\z@\@plus\fontdimen\tw@\font\relax + \parfillskip=\z@\@plus 1fil\relax + \TSD@one@letter@words{#1}% + \@@par +} +\def\TSD@letter@space{\hskip\z@skip} +\def\TSD@one@letter@words#1{\TSD@one@letter@words@i#1\relax} +\def\TSD@one@letter@words@i#1{% + \ifx#1\relax\else + #1\TSD@letter@space + \expandafter\TSD@one@letter@words@i + \fi +} + +\newcounter{MacroEnvironment} +\setcounter{MacroEnvironment}{0} + +\def\TSD@correct@side{% + \begingroup + \edef\@tempa{% + \write\@auxout{% + \if@twoside + \ifodd\c@page + \noexpand\TSD@correct@odd + \else + \noexpand\TSD@correct@even + \fi + \else + \noexpand\TSD@correct@even + \fi{\the\c@MacroEnvironment}% + }% + }% + \@tempa + \endgroup +} +\def\TSD@correct@odd#1{% + \if@twoside + \ifodd\c@page + \@percentchar + \else + \string\TSD@nameglet{TSD@#1}\string\@secondoftwo + \fi + \else + \string\TSD@nameglet{TSD@#1}\string\@secondoftwo + \fi +} +\def\TSD@correct@even#1{% + \if@twoside + \ifodd\c@page + \string\TSD@nameglet{TSD@#1}\string\@firstoftwo + \else + \@percentchar + \fi + \else + \@percentchar + \fi +} +\def\TSD@nameglet#1{\global\expandafter\let\csname#1\endcsname} + + +\long\def\m@cro@#1#2{\endgroup + \topsep\MacroTopsep + \trivlist + \setlength\labelsep{\z@}% + \refstepcounter{MacroEnvironment}% + \@ifundefined{TSD@\the\c@MacroEnvironment}{% + \if@twoside + \ifodd\c@page + \TSD@rightmargin@true + \else + \TSD@rightmargin@false + \fi + \else + \TSD@rightmargin@false + \fi + }{% + \@nameuse{TSD@\the\c@MacroEnvironment}% + \TSD@rightmargin@true \TSD@rightmargin@false + }% + \edef\saved@macroname{\string#2}% + \if@inlabel + \def\@tempa{{% + \noexpand\MacroFont + \dimen@=\macro@line@cnt\baselineskip + \advance\dimen@ \macro@cnt\jot + \vskip\dimen@ + }}% + \else + \let\@tempa\@empty + \macro@cnt\z@ + \fi + \edef\makelabel##1{% + \noexpand\hb@xt@\z@{% + \ifTSD@rightmargin@ + \hskip\textwidth\hskip\marginparsep + \else + \hss + \fi + \vtop to\z@{\noexpand\null + \vskip-\baselineskip\@tempa + \hbox{\noexpand\TSD@correct@side##1}% + \vss + }% + \ifTSD@rightmargin@ + \hss + \else + \hskip\marginparsep + \fi + }% + }% + \edef\@tempa{% + \noexpand\item[% + #1% + \noexpand\PrintMacroName + \else + \noexpand\PrintEnvName + \fi + {\string#2}% + ]% + }% + \@tempa + \advance\macro@cnt \@ne + \advance\macro@line@cnt \TSD@prevgraf\relax + \global\advance\c@CodelineNo\@ne + #1% + \SpecialMainIndex{#2}\nobreak + \DoNotIndex{#2}% + \else + \SpecialMainEnvIndex{#2}\nobreak + \fi + \global\advance\c@CodelineNo\m@ne + \ignorespaces +} + + +\def\Describe@Macro#1{\endgroup + \marginpar% + [% + \TSD@rightmargin@false\noindent + \PrintDescribeMacro{#1}]% + {%\tracingmacros=\@ne + \TSD@rightmargin@true\noindent + \PrintDescribeMacro{#1}}% + \SpecialUsageIndex{#1}% + \@esphack\ignorespaces +} +\def\Describe@Env#1{\endgroup + \marginpar% + [\TSD@rightmargin@false\noindent + \PrintDescribeEnv{#1}]% + {\TSD@rightmargin@true\noindent + \PrintDescribeEnv{#1}}% + \SpecialEnvIndex{#1}% + \@esphack\ignorespaces +} +% The \noindent:s are necessary, since \marginpar forms a \vtop, not an +% \hbox. This is important if \PrintDescribeMacro/Env starts with \raise. + + +\let\ifTSD@setpdimens\relax +\let\TSD@setpdimenstrue\relax +\let\TSD@setpdimensfalse\relax + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/relenc/ecsubzcm.sty b/Master/texmf-dist/tex/latex/relenc/ecsubzcm.sty new file mode 100644 index 00000000000..85c5d161727 --- /dev/null +++ b/Master/texmf-dist/tex/latex/relenc/ecsubzcm.sty @@ -0,0 +1,32 @@ +%% +%% This is file `ecsubzcm.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% t1rzcm.fdd (with options: `package') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from ecsubzcm.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file t1rzcm.fdd. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% \CheckSum{26} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{ecsubzcm}[1999/01/19] +\DeclareFontFamily{T1R}{zcm}{} +\DeclareFontShape{T1R}{zcm}{m}{n}{ + <-> ecrm1000 +}{} +\endinput +%% +%% End of file `ecsubzcm.sty'. diff --git a/Master/texmf-dist/tex/latex/relenc/relenc.sty b/Master/texmf-dist/tex/latex/relenc/relenc.sty new file mode 100644 index 00000000000..c3335689884 --- /dev/null +++ b/Master/texmf-dist/tex/latex/relenc/relenc.sty @@ -0,0 +1,389 @@ +%% +%% This is file `relenc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% relenc.dtx (with options: `package') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from relenc.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file relenc.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% \CheckSum{724} +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesPackage{relenc}[1999/01/23] +\newtoks\RE@temptoks +\let\RE@define@first\@gobbletwo +\def\RE@text@variable{% + \expandafter\ifx \csname\cf@encoding/\f@family-path\endcsname \relax + \expandafter\ifx \csname\cf@encoding-path\endcsname \relax + \RE@spath@unavailable + \else + \RE@spath@available\RE@first@read@spath\RE@read@spath + \fi + \else + \expandafter\expandafter \expandafter\RE@first@read@spath + \csname\cf@encoding/\f@family-path\expandafter\endcsname + \expandafter\RE@read@spath + \fi +} +\def\RE@spath@available#1#2#3\fi#4\fi{\fi\fi + \expandafter\expandafter \expandafter#1% + \csname\cf@encoding-path\endcsname#2% +} +\def\RE@spath@unavailable#1\fi#2\fi#3{% + \fi\fi + \PackageError{relenc}{% + There is no search path for relaxed encoding \cf@encoding% + }\@eha +} +\def\RE@text@comp@variable{% + \expandafter\ifx \csname\cf@encoding/\f@family-path\endcsname \relax + \expandafter\ifx \csname\cf@encoding-path\endcsname \relax + \RE@spath@unavailable + \else + \RE@spath@available\RE@first@comp@read@spath\RE@comp@read@spath + \fi + \else + \expandafter\expandafter \expandafter\RE@first@comp@read@spath + \csname\cf@encoding/\f@family-path\expandafter\endcsname + \expandafter\RE@comp@read@spath + \fi +} +\def\RE@read@spath#1#2\RE@read@spath#3{% + \RE@temptoks={#2}% + \expandafter\ifx \csname#1\string#3\endcsname \relax + \expandafter\RE@read@spath \the\expandafter\RE@temptoks + \expandafter\RE@read@spath \expandafter#3% + \else + \RE@define@first{#1}{#3}% + \csname#1\string#3\expandafter\endcsname + \fi +} +\def\RE@first@read@spath#1#2\RE@read@spath#3{% + \RE@temptoks={#2}% + \expandafter\ifx \csname#1\string#3\endcsname \relax + \def\RE@first@search@item{#1}% + \expandafter\RE@read@spath \the\expandafter\RE@temptoks + \expandafter\RE@read@spath \expandafter#3% + \else + \csname#1\string#3\expandafter\endcsname + \fi +} +\def\RE@comp@read@spath#1#2\RE@comp@read@spath#3{% + \RE@temptoks={#2}% + \expandafter\ifx \csname#1\@empty\string#3\endcsname \relax + \expandafter\RE@comp@read@spath \the\expandafter\RE@temptoks + \expandafter\RE@comp@read@spath \expandafter#3% + \else + \RE@define@first{#1\@empty}{#3}% + \csname#1\@empty\string#3\expandafter\endcsname + \fi +} +\def\RE@first@comp@read@spath#1#2\RE@comp@read@spath#3{% + \RE@temptoks={#2}% + \expandafter\ifx \csname#1\@empty\string#3\endcsname \relax + \def\RE@first@search@item{#1\@empty}% + \expandafter\RE@comp@read@spath \the\expandafter\RE@temptoks + \expandafter\RE@comp@read@spath \expandafter#3% + \else + \csname#1\@empty\string#3\expandafter\endcsname + \fi +} +\def\RE@active@define@first#1#2{% + \global\expandafter\let + \csname\RE@first@search@item\string#2\expandafter\endcsname + \csname#1\string#2\endcsname +} +\def\RE@again@read@spath{% + \def\RE@first@search@item##1\expandafter\endcsname{% + RE@garbage\expandafter\endcsname + }% + \expandafter\RE@read@spath \the\RE@temptoks \RE@read@spath +} +\def\RE@var@not@found{relax\endcsname\relax\fi + \RE@gobble@readspath +} +\def\RE@gobble@readspath#1\string#2\endcsname#3\fi{% + \ifx\@empty#1% + \expandafter\expandafter \expandafter\RE@text@comp@unavail + \expandafter\@gobble \string#2\RE@text@comp@unavail + \else + \TextSymbolUnavailable{#2}% + \fi +} +\def\RE@text@comp@unavail#1-#2\RE@text@comp@unavail{% + \PackageError{relenc}{% + The composition of command #1 with #2\MessageBreak is declared % + in encoding \cf@encoding,\MessageBreak but no definition could % + be found% + }\@eha +} +\begingroup + \lccode`\$=13\relax + \lowercase{% + \gdef\RE@empty@is@qmark#1{\ifx$#1$?\else#1\fi}% + } +\endgroup +\def\RE@font@spec#1#2#3#4{% + \RE@empty@is@qmark{#1}/\RE@empty@is@qmark{#2}/% + \RE@empty@is@qmark{#3}/\RE@empty@is@qmark{#4}% +} +\def\RE@bsl@string{% + \ifnum \escapechar<\z@ \@backslashchar \fi + \string +} +\newcommand\DeclareTextVariableCommand{\RE@dec@text@varcmd\newcommand} +\@onlypreamble\DeclareTextVariableCommand +\newcommand\DeclareTextVariableCommandNoDefault{% + \RE@dec@text@varcmd\@gobble +} +\@onlypreamble\DeclareTextVariableCommandNoDefault +\newcommand\DeclareTextVariableSymbol[3]{% + \RE@dec@text@varcmd\chardef#1{#2}#3\relax +} +\@onlypreamble\DeclareTextVariableSymbol +\def\RE@dec@text@varcmd#1#2#3{% + \DeclareTextCommand{#2}{#3}{\RE@text@variable#2}% + \expandafter#1\csname#3/?/?/?\string#2\endcsname +} +\newcommand\ProvideTextVariableCommand[2]{% + \expandafter\ifx \csname#2\string#1\endcsname \relax + \ProvideTextCommand#1#2{\RE@text@variable#1}% + \expandafter\providecommand + \csname#2/?/?/?\string#1\expandafter\endcsname + \else + \long\def\RE@garbage{\RE@text@variable#1}% + \expandafter\ifx \csname#2\string#1\endcsname \RE@garbage + \expandafter\providecommand + \csname#2/?/?/?\string#1\expandafter\expandafter + \expandafter\endcsname + \else + \PackageInfo{relenc}{You have provided a declaration of + \protect#1 in\MessageBreak encoding #2 as a variable + command, but it was\MessageBreak already declared as a + non-variable command.\MessageBreak Your declaration has + been ignored}% + \expandafter\providecommand + \csname RE@garbage\expandafter\expandafter + \expandafter\endcsname + \fi + \fi +} +\newcommand{\DeclareTextVariableAccent}[3]{% + \DeclareTextCommand{#1}{#2}{\RE@text@variable#1}% + \expandafter\newcommand \csname#2/?/?/?\string#1\endcsname + {\add@accent{#3}}% +} +\@onlypreamble\DeclareTextVariableAccent +\newcommand{\DefineTextCommandVariant}[5]{% + \expandafter\gdef + \csname\RE@font@spec{#2}{#3}{#4}{#5}\RE@bsl@string#1\endcsname +} +\newcommand{\DefineTextSymbolVariant}[6]{% + \global\expandafter\chardef + \csname\RE@font@spec{#2}{#3}{#4}{#5}\RE@bsl@string#1\endcsname + =#6\relax +} +\newcommand{\DefineTextAccentVariant}[6]{% + \expandafter\gdef + \csname\RE@font@spec{#2}{#3}{#4}{#5}\RE@bsl@string#1\endcsname + {\add@accent{#6}}% +} +\CheckCommand*{\newcommand}{\@star@or@long\new@command} +\newcommand{\NewTextCommandVariant} + {\RE@make@text@cmd@variant\new@command} +\CheckCommand*{\renewcommand}{\@star@or@long\renew@command} +\newcommand{\RenewTextCommandVariant} + {\RE@make@text@cmd@variant\renew@command} +\CheckCommand*{\providecommand}{\@star@or@long\provide@command} +\newcommand{\ProvideTextCommandVariant} + {\RE@make@text@cmd@variant\provide@command} +\def\RE@make@text@cmd@variant#1#2#3#4#5#6{% + \expandafter\RE@make@text@cmd@var@x + \csname\RE@font@spec{#3}{#4}{#5}{#6}\RE@bsl@string#2\endcsname + {#1}% +} +\def\RE@make@text@cmd@var@x#1#2{% + \def\l@ngrel@x{% + \global\let#1#1% + \let\l@ngrel@x\relax + \global + }% + #2#1% +} + +\def\RE@if@composed#1{% + \expandafter\expandafter \expandafter\ifx + \expandafter\@car #1\relax\relax\@nil \@text@composite + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi +} +\newcommand{\DeclareVariableTextComposition}[3]{% + \expandafter\RE@dec@var@text@comp + \csname\string#1-#3\expandafter\endcsname + \csname\@backslashchar#2\string#1-#3\endcsname + {#1}{#2}{#3}% +} +\def\RE@dec@var@text@comp#1#2#3#4#5{% + \ifx#2\relax + \DeclareTextCompositeCommand{#3}{#4}{#5}% + {\RE@text@comp@variable#1}% + \else + \expandafter\expandafter \expandafter\ifx + \expandafter\@car#2\@nil + \RE@text@variable + \PackageInfo{relenc}{Redundant \protect + \DeclareVariableTextComposition.\MessageBreak + The composition of \protect#3 with #5 is\MessageBreak + already declared as a variable command\MessageBreak + in encoding #4% + }% + \else + \expandafter\let \csname#4/?/?/?\string#1\endcsname #2 + \def#2{\RE@text@comp@variable#1}% + \fi + \fi +} +\newcommand\DefineTextCompositionVariant[7]{% + \global \RE@def@text@comp@var\chardef{#1}{#2}{#3}{#4}{#5}{#6}% + #7\relax +} +\newcommand\DefineTextCompositionVariantCommand{% + \RE@def@text@comp@var\gdef +} +\def\RE@def@text@comp@var#1#2#3#4#5#6#7{% + \expandafter#1% + \csname + \RE@font@spec{#3}{#4}{#5}{#6}\@backslashchar + \RE@bsl@string#1-#6% + \endcsname +} +\newcommand\DefineTextUncomposedVariant[6]{% + \expandafter\RE@def@text@uncmp + \csname#2\RE@bsl@string#1\expandafter\endcsname + \csname#2/\RE@empty@is@qmark{#3}/\RE@empty@is@qmark{#4}/% + \RE@empty@is@qmark{#5}\@backslashchar\RE@bsl@string#1-#6% + \endcsname + {#6}{#1}{#2}% +} +\def\RE@def@text@uncmp#1#2#3#4#5{% + \RE@if@composed#1{% + \expandafter\RE@def@text@uncmp@x #1{#3}{#2}% + }{% + \PackageWarning{relenc}{There are no compositions for % + \protect#4 in\MessageBreak the #5 encoding. % + \protect\DefineTextUncomposedVariant\MessageBreak + makes no sense here% + }% + }% +} +\def\RE@def@text@uncmp@x\@text@composite#1\@text@composite#2#3{% + \gdef#3{#2}% +} +\newcommand\DefineTextVariantComposition[7]{% + \RE@def@text@var@comp\chardef{#1}{#2}{#3}{#4}{#5}{#6}#7\relax +} +\newcommand\DefineTextVariantCompositionCommand{% + \RE@def@text@var@comp\gdef +} +\def\RE@def@text@var@comp#1#2#3#4#5#6#7{% + \expandafter\let \expandafter\RE@garbage + \csname\RE@font@spec{#3}{#4}{#5}{#6}\RE@bsl@string#2\endcsname + \ifx \RE@garbage\relax + \expandafter\RE@make@text@comp\csname + \RE@font@spec{#3}{#4}{#5}{#6}\RE@bsl@string#2% + \endcsname {\RE@again@read@spath#2{##1}}% + \else + \RE@if@composed\RE@garbage{}{% + \expandafter\RE@make@text@comp + \csname + \RE@font@spec{#3}{#4}{#5}{#6}\RE@bsl@string#2% + \expandafter\endcsname + \expandafter{\RE@garbage{##1}}% + }% + \fi + \global\expandafter#1\csname + \@backslashchar\RE@font@spec{#3}{#4}{#5}{#6}\RE@bsl@string#2-#7% + \endcsname +} +\def\RE@make@text@comp#1#2{% + \gdef#1##1{\@text@composite#1##1\@empty\@text@composite{#2}}% +} +\newcommand{\SetEncodingSearchPath}[1]{% + \begingroup + \RE@spath@catcodes + \expandafter\RE@set@spath \csname#1-path\endcsname +} +\newcommand{\SetFamilySearchPath}[2]{% + \begingroup + \RE@spath@catcodes + \expandafter\RE@set@spath \csname#1/#2-path\endcsname +} +\def\RE@set@spath#1#2{% + \gdef#1{#2\RE@var@not@found}% + \endgroup +} +\def\RE@spath@catcodes{% + \catcode`\ =9\relax + \catcode`\^^I=9\relax + \catcode`\^^M=9\relax + \catcode`\@=11\relax + \catcode`\/=12\relax + \catcode`\?=12\relax +} +\def\RE@convert@nfss#1#2{% + \ifx\@empty#2% + \@backslashchar#1\expandafter\expandafter \expandafter\@gobble + \else + #1\expandafter#2% + \fi +} +\newcommand\ActivateDefineFirst{% + \let\RE@define@first\RE@active@define@first +} +\newcommand\DeactivateDefineFirst{% + \let\RE@define@first\@gobbletwo +} +\newcommand{\ShowVariantSearchResult}{% + \immediate\write\sixt@@n{Encoding: \cf@encoding}% + \immediate\write\sixt@@n{Family: \f@family}% + \immediate\write\sixt@@n{Series: \f@series}% + \immediate\write\sixt@@n{Shape: \f@shape}% + \immediate\write\sixt@@n + {Remaining search path:\MessageBreak\the\RE@temptoks}% + \show\RE@first@search@item +} +\def\RE@garbage#1#2{% + \ifx#1\relax + \expandafter#2% + \else + #1% + \fi} +\ifx \@text@composite@x\RE@garbage + \def\@text@composite@x#1{% + \ifx #1\relax + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi + #1% + } +\fi +\let\RE@garbage\relax +\endinput +%% +%% End of file `relenc.sty'. diff --git a/Master/texmf-dist/tex/latex/relenc/t1renc.def b/Master/texmf-dist/tex/latex/relenc/t1renc.def new file mode 100644 index 00000000000..69b113e0055 --- /dev/null +++ b/Master/texmf-dist/tex/latex/relenc/t1renc.def @@ -0,0 +1,231 @@ +%% +%% This is file `t1renc.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% t1renc.dtx (with options: `encoding') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from t1renc.def. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file t1renc.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% \CheckSum{474} +\ProvidesFile{t1renc.def} + [1998/12/17 Relaxed TeX latin text encoding, version 1.00 (beta)] +\@ifundefined{RE@text@variable}{% + \PackageError{T1R encoding}{% + The definition of the T1R encoding requires that\MessageBreak + the `relenc' package is loaded first}% + {The T1R encoding cannot be defined.\MessageBreak + If you continue, you will most likely face further errors.% + \MessageBreak The best option is to type `x' and fix your + manuscript.}% + \endinput +}{} +\DeclareFontEncoding{T1R}{}{} +\DeclareFontSubstitution{T1R}{zcm}{m}{n} +\SetEncodingSearchPath{T1R}{ + {\cf@encoding/\f@family/\f@series/\f@shape} + {\cf@encoding/\f@family/?/\f@shape} + {\cf@encoding/\f@family/?/?} + {\cf@encoding/?/?/?} + {\RE@convert@nfss{T1}} + {\RE@convert@nfss{?}} +} +\DeclareTextAccent{\`}{T1R}{0} +\DeclareTextAccent{\'}{T1R}{1} +\DeclareTextAccent{\^}{T1R}{2} +\DeclareTextAccent{\~}{T1R}{3} +\DeclareTextAccent{\"}{T1R}{4} +\DeclareTextVariableAccent{\H}{T1R}{5} +\DeclareTextAccent{\r}{T1R}{6} +\DeclareTextVariableAccent{\v}{T1R}{7} +\DeclareTextVariableAccent{\u}{T1R}{8} +\DeclareTextAccent{\=}{T1R}{9} +\DeclareTextVariableAccent{\.}{T1R}{10} +\DeclareTextCommand{\b}{T1R}[1] + {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}% + \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}}} +\DeclareTextVariableCommand{\c}{T1R}[1] + {\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1% + \else{\ooalign{\hidewidth\char11\hidewidth + \crcr\unhbox\z@}}\fi} +\DeclareTextCommand{\d}{T1R}[1] + {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{10}.\hidewidth}}} +\DeclareTextVariableCommand{\k}{T1R}[1] + {\oalign{\null#1\crcr\hidewidth\char12}} +\DeclareTextSymbol{\AE}{T1R}{198} +\DeclareTextSymbol{\DH}{T1R}{208} +\DeclareTextSymbol{\DJ}{T1R}{208} +\DeclareTextVariableSymbol{\L}{T1R}{138} +\DeclareTextVariableSymbol{\NG}{T1R}{141} +\DeclareTextSymbol{\OE}{T1R}{215} +\DeclareTextSymbol{\O}{T1R}{216} +\DeclareTextVariableSymbol{\SS}{T1R}{223} +\DeclareTextSymbol{\TH}{T1R}{222} +\DeclareTextSymbol{\ae}{T1R}{230} +\DeclareTextSymbol{\dh}{T1R}{240} +\DeclareTextVariableSymbol{\dj}{T1R}{158} +\DeclareTextSymbol{\guillemotleft}{T1R}{19} +\DeclareTextSymbol{\guillemotright}{T1R}{20} +\DeclareTextSymbol{\guilsinglleft}{T1R}{14} +\DeclareTextSymbol{\guilsinglright}{T1R}{15} +\DeclareTextSymbol{\i}{T1R}{25} +\DeclareTextSymbol{\j}{T1R}{26} +\DeclareTextVariableSymbol{\l}{T1R}{170} +\DeclareTextVariableSymbol{\ng}{T1R}{173} +\DeclareTextSymbol{\oe}{T1R}{247} +\DeclareTextSymbol{\o}{T1R}{248} +\DeclareTextSymbol{\quotedblbase}{T1R}{18} +\DeclareTextSymbol{\quotesinglbase}{T1R}{13} +\DeclareTextSymbol{\ss}{T1R}{255} +\DeclareTextSymbol{\textasciicircum}{T1R}{`\^} +\DeclareTextSymbol{\textasciitilde}{T1R}{`\~} +\DeclareTextSymbol{\textbackslash}{T1R}{`\\} +\DeclareTextSymbol{\textbar}{T1R}{`\|} +\DeclareTextSymbol{\textbraceleft}{T1R}{`\{} +\DeclareTextSymbol{\textbraceright}{T1R}{`\}} +\DeclareTextSymbol{\textcompwordmark}{T1R}{23} +\DeclareTextSymbol{\textdollar}{T1R}{`\$} +\DeclareTextSymbol{\textemdash}{T1R}{22} +\DeclareTextSymbol{\textendash}{T1R}{21} +\DeclareTextVariableSymbol{\textexclamdown}{T1R}{189} +\DeclareTextSymbol{\textgreater}{T1R}{`\>} +\DeclareTextSymbol{\textless}{T1R}{`\<} +\DeclareTextCommand{\textperthousand}{T1R}{\%\char 24 } +\DeclareTextCommand{\textpertenthousand}{T1R}{\%\char 24\char 24 } +\DeclareTextVariableSymbol{\textquestiondown}{T1R}{190} +\DeclareTextSymbol{\textquotedblleft}{T1R}{16} +\DeclareTextSymbol{\textquotedblright}{T1R}{17} +\DeclareTextSymbol{\textquotedbl}{T1R}{`\"} +\DeclareTextSymbol{\textquoteleft}{T1R}{`\`} +\DeclareTextSymbol{\textquoteright}{T1R}{`\'} +\DeclareTextVariableSymbol{\textsection}{T1R}{159} +\DeclareTextVariableSymbol{\textsterling}{T1R}{191} +\DeclareTextSymbol{\textunderscore}{T1R}{95} +\DeclareTextSymbol{\textvisiblespace}{T1R}{32} +\DeclareTextSymbol{\th}{T1R}{254} +\DefineTextVariantComposition{\.}{T1R}{}{}{}{i}{`\i} +\DefineTextVariantComposition{\u}{T1R}{}{}{}{A}{128} +\DefineTextVariantComposition{\k}{T1R}{}{}{}{A}{129} +\DeclareVariableTextComposition{\'}{T1R}{C} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{C}{131} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{D}{132} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{E}{133} +\DefineTextVariantComposition{\k}{T1R}{}{}{}{E}{134} +\DefineTextVariantComposition{\u}{T1R}{}{}{}{G}{135} +\DeclareVariableTextComposition{\'}{T1R}{L} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{L}{137} +\DeclareVariableTextComposition{\'}{T1R}{N} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{N}{140} +\DefineTextVariantComposition{\H}{T1R}{}{}{}{O}{142} +\DeclareVariableTextComposition{\'}{T1R}{R} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{R}{144} +\DeclareVariableTextComposition{\'}{T1R}{S} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{S}{146} +\DeclareVariableTextComposition{\c}{T1R}{S} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{T}{148} +\DeclareVariableTextComposition{\c}{T1R}{T} +\DefineTextVariantComposition{\H}{T1R}{}{}{}{U}{150} +\DeclareVariableTextComposition{\r}{T1R}{U} +\DeclareVariableTextComposition{\"}{T1R}{Y} +\DeclareVariableTextComposition{\'}{T1R}{Z} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{Z}{154} +\DefineTextVariantComposition{\.}{T1R}{}{}{}{Z}{155} +\DefineTextVariantComposition{\.}{T1R}{}{}{}{I}{157} +\DefineTextVariantComposition{\u}{T1R}{}{}{}{a}{160} +\DefineTextVariantComposition{\k}{T1R}{}{}{}{a}{161} +\DeclareVariableTextComposition{\'}{T1R}{c} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{c}{163} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{d}{164} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{e}{165} +\DefineTextVariantComposition{\k}{T1R}{}{}{}{e}{166} +\DefineTextVariantComposition{\u}{T1R}{}{}{}{g}{167} +\DeclareVariableTextComposition{\'}{T1R}{l} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{l}{169} +\DeclareVariableTextComposition{\'}{T1R}{n} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{n}{172} +\DefineTextVariantComposition{\H}{T1R}{}{}{}{o}{174} +\DeclareVariableTextComposition{\'}{T1R}{r} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{r}{176} +\DeclareVariableTextComposition{\'}{T1R}{s} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{s}{178} +\DeclareVariableTextComposition{\c}{T1R}{s} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{t}{180} +\DeclareVariableTextComposition{\c}{T1R}{t} +\DefineTextVariantComposition{\H}{T1R}{}{}{}{u}{182} +\DeclareVariableTextComposition{\r}{T1R}{u} +\DeclareVariableTextComposition{\"}{T1R}{y} +\DeclareVariableTextComposition{\'}{T1R}{z} +\DefineTextVariantComposition{\v}{T1R}{}{}{}{z}{186} +\DefineTextVariantComposition{\.}{T1R}{}{}{}{z}{187} +\DeclareTextComposite{\`}{T1R}{A}{192} +\DeclareTextComposite{\'}{T1R}{A}{193} +\DeclareTextComposite{\^}{T1R}{A}{194} +\DeclareTextComposite{\~}{T1R}{A}{195} +\DeclareTextComposite{\"}{T1R}{A}{196} +\DeclareTextComposite{\r}{T1R}{A}{197} +\DeclareTextComposite{\c}{T1R}{C}{199} +\DeclareTextComposite{\`}{T1R}{E}{200} +\DeclareTextComposite{\'}{T1R}{E}{201} +\DeclareTextComposite{\^}{T1R}{E}{202} +\DeclareTextComposite{\"}{T1R}{E}{203} +\DeclareTextComposite{\`}{T1R}{I}{204} +\DeclareTextComposite{\'}{T1R}{I}{205} +\DeclareTextComposite{\^}{T1R}{I}{206} +\DeclareTextComposite{\"}{T1R}{I}{207} +\DeclareTextComposite{\~}{T1R}{N}{209} +\DeclareTextComposite{\`}{T1R}{O}{210} +\DeclareTextComposite{\'}{T1R}{O}{211} +\DeclareTextComposite{\^}{T1R}{O}{212} +\DeclareTextComposite{\~}{T1R}{O}{213} +\DeclareTextComposite{\"}{T1R}{O}{214} +\DeclareTextComposite{\`}{T1R}{U}{217} +\DeclareTextComposite{\'}{T1R}{U}{218} +\DeclareTextComposite{\^}{T1R}{U}{219} +\DeclareTextComposite{\"}{T1R}{U}{220} +\DeclareTextComposite{\'}{T1R}{Y}{221} +\DeclareTextComposite{\`}{T1R}{a}{224} +\DeclareTextComposite{\'}{T1R}{a}{225} +\DeclareTextComposite{\^}{T1R}{a}{226} +\DeclareTextComposite{\~}{T1R}{a}{227} +\DeclareTextComposite{\"}{T1R}{a}{228} +\DeclareTextComposite{\r}{T1R}{a}{229} +\DeclareTextComposite{\c}{T1R}{c}{231} +\DeclareTextComposite{\`}{T1R}{e}{232} +\DeclareTextComposite{\'}{T1R}{e}{233} +\DeclareTextComposite{\^}{T1R}{e}{234} +\DeclareTextComposite{\"}{T1R}{e}{235} +\DeclareTextComposite{\`}{T1R}{i}{236} +\DeclareTextComposite{\`}{T1R}{\i}{236} +\DeclareTextComposite{\'}{T1R}{i}{237} +\DeclareTextComposite{\'}{T1R}{\i}{237} +\DeclareTextComposite{\^}{T1R}{i}{238} +\DeclareTextComposite{\^}{T1R}{\i}{238} +\DeclareTextComposite{\"}{T1R}{i}{239} +\DeclareTextComposite{\"}{T1R}{\i}{239} +\DeclareTextComposite{\~}{T1R}{n}{241} +\DeclareTextComposite{\`}{T1R}{o}{242} +\DeclareTextComposite{\'}{T1R}{o}{243} +\DeclareTextComposite{\^}{T1R}{o}{244} +\DeclareTextComposite{\~}{T1R}{o}{245} +\DeclareTextComposite{\"}{T1R}{o}{246} +\DeclareTextComposite{\`}{T1R}{u}{249} +\DeclareTextComposite{\'}{T1R}{u}{250} +\DeclareTextComposite{\^}{T1R}{u}{251} +\DeclareTextComposite{\"}{T1R}{u}{252} +\DeclareTextComposite{\'}{T1R}{y}{253} +\endinput +%% +%% End of file `t1renc.def'. diff --git a/Master/texmf-dist/tex/latex/relenc/t1rzcm.fd b/Master/texmf-dist/tex/latex/relenc/t1rzcm.fd new file mode 100644 index 00000000000..db418026868 --- /dev/null +++ b/Master/texmf-dist/tex/latex/relenc/t1rzcm.fd @@ -0,0 +1,44 @@ +%% +%% This is file `t1rzcm.fd', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% t1rzcm.fdd (with options: `fd') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from t1rzcm.fd. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file t1rzcm.fdd. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% \CheckSum{26} +\ProvidesFile{t1rzcm.fd}[1999/01/19 Font definitions for T1R/zcm.] +\DeclareFontFamily{T1R}{zcm}{} +\DeclareFontShape{T1R}{zcm}{m}{n}{ + <-> zcmr8d +}{} +\DeclareFontShape{T1R}{zcm}{m}{a}{ + <-> zcmra +}{} +\DefineTextAccentVariant{\u}{T1R}{zcm}{}{a}{8} +\DefineTextVariantComposition{\u}{T1R}{zcm}{}{a}{G}{135} +\DefineTextVariantComposition{\u}{T1R}{zcm}{}{a}{a}{160} +\DefineTextVariantComposition{\u}{T1R}{zcm}{}{a}{g}{167} +\DefineTextVariantCompositionCommand{\v}{T1R}{zcm}{}{a}{C}{% + \add@accent{7}{C}% +} +\DefineTextUncomposedVariant{\'}{T1R}{zcm}{}{a}{C} +\DefineTextVariantCompositionCommand{\k}{T1R}{zcm}{}{a}{a}% + {a\llap{\char12\kern-0.07em}} +\endinput +%% +%% End of file `t1rzcm.fd'. |