diff options
-rw-r--r-- | Master/texmf-dist/tex/latex/kerntest/kerntest.cls | 944 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/kerntest/ly1mtx.clo | 284 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/kerntest/ot1mtx.clo | 337 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/kerntest/t1mtx.clo | 324 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/kerntest/t2amtx.clo | 284 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/kerntest/t2bmtx.clo | 284 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/kerntest/ts1mtx.clo | 284 |
7 files changed, 2741 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/kerntest/kerntest.cls b/Master/texmf-dist/tex/latex/kerntest/kerntest.cls new file mode 100644 index 00000000000..58ecb790d4d --- /dev/null +++ b/Master/texmf-dist/tex/latex/kerntest/kerntest.cls @@ -0,0 +1,944 @@ +%% +%% This is file `kerntest.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kerntest.dtx (with options: `class') +%% +%% kerntest class +%% +%% Copyright 2004 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1.3 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesClass{kerntest} + [2004/04/14 v1.32 Generate kerning tables] +\LoadClass[10pt]{article} +\RequirePackage[top=18mm,left=15mm,right=15mm,bottom=20mm]{geometry} +\renewcommand*\familydefault{\sfdefault} +\RequirePackage{helvet} +\RequirePackage{calc} +\RequirePackage{longtable} +\RequirePackage{array} +\RequirePackage{color} +\RequirePackage{ifthen} +\RequirePackage{keyval} +\pagestyle{myheadings} +\def\@oddfoot{Kerning data, marked with $\ast$, are automatically reused + from values given before. + Repeated values are marked by $\dagger$.\hfill} +\def\@evenfoot{\@oddfoot} +\setlength{\parindent}{0mm} +\newlength\krntst@size +\newlength\krntst@baselineskip +\def\krntst@encoding{T1} +\def\krntst@series{m} +\def\krntst@shape{n} +\setlength\krntst@size{17.28pt} +\setlength\krntst@baselineskip{1.2\krntst@size} +\def\krntst@example{example} +\def\krntst@extraname{} +\definecolor{oldcolor}{gray}{0.5} +\definecolor{newcolor}{gray}{0} +\newboolean{krntst@writeall} +\newcommand\krntst@designsize{1em} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\KVo@tempa\@empty + \edef\KVo@tempa{% + \noexpand\setkeys{#1}{% + \@ptionlist{\@currname.\@currext}% + }% + }% + \KVo@tempa + \let\CurrentOption\@empty +} +\define@key{krntst}{encoding}{\def\krntst@encoding{#1}} +\define@key{krntst}{family}{\def\krntst@family{#1}} +\define@key{krntst}{series}{\def\krntst@series{#1}} +\define@key{krntst}{shape}{\def\krntst@shape{#1}} +\define@key{krntst}{size}{% + \setlength\krntst@size{#1}% + \setlength\krntst@baselineskip{1.2\krntst@size}% +} +\define@key{krntst}{baselineskip}{\setlength\krntst@baselineskip{#1}} +\define@key{krntst}{designsize}{\def\krntst@designsize{#1}}% +\define@key{krntst}{example}{\def\krntst@example{#1}} +\define@key{krntst}{papersize}{\geometry{#1}} +\define@key{krntst}{extraname}{\def\krntst@extraname{-#1}} +\define@key{krntst}{color}[true]{% + \csname if#1\endcsname + \definecolor{oldcolor}{gray}{0}% + \definecolor{newcolor}{rgb}{1,0,0}% + \else + \definecolor{oldcolor}{gray}{0.5}% + \definecolor{newcolor}{gray}{0}% + \fi +} +\define@key{krntst}{copyquotation}[true]{% + \csname if#1\endcsname + \newglyphclass{left}{leftguillemots}{guillemotleft,guilsinglleft}% + \newglyphclass{right}{leftguillemots}{guillemotleft,guilsinglleft}% + \newglyphclass{left}{rightguillemots}{guillemotright,guilsinglright}% + \newglyphclass{right}{rightguillemots}{guillemotright,guilsinglright}% + \newglyphclass{left}{leftquotes}{quotedblleft,quoteleft}% + \newglyphclass{right}{leftquotes}{quotedblleft,quoteleft}% + \newglyphclass{left}{rightquotes}{quotedblright,quoteright}% + \newglyphclass{right}{rightquotes}{quotedblright,quoteright}% + \newglyphclass{left}{basequotes}{quotedblbase,quotesinglbase}% + \newglyphclass{right}{basequotes}{quotedblbase,quotesinglbase}% + \fi +} +\define@key{krntst}{writeall}[true]{% + \setboolean{krntst@writeall}{#1}% + \ClassWarningNoLine{kerntest}{You are writing the new and the + original kerning data\MessageBreak + to the mtx file (option `writeall'). Normally, it is\MessageBreak + not necessary to write original data}% +} +\define@key{krntst}{footer}[true]{% + \csname if#1\endcsname + \else + \def\@oddfoot{}% + \def\@evenfoot{\@oddfoot}% + \fi +} +\newcommand\kernsetup{\setkeys{krntst}} +\@onlypreamble\kernsetup +\AtEndOfClass{% + \InputIfFileExists{kerntest.cfg}{% + \message{Configuration file `kerntest.cfg' loaded.}% + }{% + \message{No configuration file `kerntest.cfg' found.}% + } + \ProcessOptionsWithKV{krntst} + \let\@unprocessedoptions\relax +} +\ifx\krntst@family\relax + \ClassError{kerntest}{Class option family not or incorrect + given\@gobble}{% + You have to specify the font family by using the + class\MessageBreak + option family=<fontfamily>}% + \stop +\fi +\AtEndOfClass{% + \define@key{krntst}{family}{% + \ClassError{kerntest}{Option `family' used outside + \string\documentclass\space command}{% + The option `family=<fontfamily>' has to be specified in the + optional argument\MessageBreak + of the \string\documentclass\space command.}% + } +} +\newcommand\mtxcomment[1]{% + \protected@write\mtxfile{}{\@percentchar\space #1}% +} +\newcommand\krntst@helpfont{\normalfont\normalsize} +\newcounter{@glyphslot}% +\AtBeginDocument{% + \RequirePackage[\krntst@encoding,T1]{fontenc} + \edef\reserved@f{% + \lowercase{\def\noexpand\reserved@f{\krntst@encoding mtx.clo}}}% + \reserved@f + \InputIfFileExists\reserved@f{}{% + \ClassWarningNoLine{kerntest}{Postscript name file `\reserved@f' + not found.\MessageBreak + The kerning table will be okay, but the generated mtx file will + not be usable}% + \newcommand\getpsname[1]{unknown character `##1'}% + }% + \setcounter{@glyphslot}{0}% + \whiledo{\the\c@@glyphslot<256}{% + \expandafter\edef + \csname slotnumber@glyph@\getpsname{\the\c@@glyphslot}\endcsname{% + \the\c@@glyphslot}% + \stepcounter{@glyphslot}% + }% + \begingroup + \usefont{\krntst@encoding}{\krntst@family}{\krntst@series}{\krntst@shape}% + \fontsize{\krntst@size}{\krntst@baselineskip}\selectfont% + \psunit=\krntst@designsize\relax + \global\psunit=0.001\psunit + \typeout{Requested: \krntst@encoding-\krntst@family-% + \krntst@series-\krntst@shape, size \the\krntst@size}% + \typeout{Using:\space\space\space\space\space \f@encoding-\f@family-% + \f@series-\f@shape, size \f@size pt}% + \expandafter\ifdim\the\krntst@size=\f@size pt\relax + \else + \ClassWarningNoLine{kerntest}{Using different font size than + requested}% + \fi + \setlength{\@tempdima}{\krntst@designsize}% + \typeout{Postscript font unit for design size \the\@tempdima: + \the\psunit}% + \expandafter\ifdim\the\@tempdima=\f@size pt\relax + \else + \ClassWarningNoLine{kerntest}{The design size (\the\@tempdima, + 1em by default,\MessageBreak + or given value from option `designsize') of the + font\MessageBreak + is not equal to the LaTeX font size (\f@size pt).\MessageBreak + This can have two reasons:\MessageBreak + 1. The font does not define 1em to be the design + size\MessageBreak + \space\space\space (for example, Computer + Modern).\MessageBreak + 2. The font is implicitely scaled by the fd-file\MessageBreak + \space\space\space (for example, when using + helvet.sty).\MessageBreak + This can cause the PostScript font unit length to + be\MessageBreak + incorrect. + You may set the design size for calculation\MessageBreak + of the font unit explicitely by using the class\MessageBreak + option `designsize'}% + \fi + \edef\mtxfilename{% + \lowercase{\gdef\noexpand\mtxfilename{% + \f@encoding-\f@family-\f@series-\f@shape\krntst@extraname}}}% + \mtxfilename + \markboth{\upshape Font \mtxfilename}{\upshape Font \mtxfilename}% + \typeout{^^JWriting mtx file `\mtxfilename.mtx'^^J}% + \immediate\openout\mtxfile\mtxfilename.mtx + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + This is file `\mtxfilename.mtx',}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + generated on \number\year/\number\month/\number\day\space + by kerntest.cls, (c) 2004 Harald Harders.}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + The original source file was:}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + \jobname\space (.tex?) with these font options:}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + Encoding: \f@encoding}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + Family: \space\space\f@family}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + Series: \space\space\f@series}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + Shape: \space\space\space\f@shape}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + User-defined name: \krntst@extraname}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\string\relax}% + \protected@write\mtxfile{}{\string\metrics}% + \protected@write\mtxfile{}{\string\needsfontinstversion{1.926}}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + Kerning data for single characters and}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + the first members of the glyph classes.}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + After each \string\setkern\space entry, the glyph classes}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + for both glyphs are given (./. means no class).}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \endgroup +} +\newwrite\mtxfile +\def\krntst@round#1.#2#3#4\@empty{% + \setlength\@tempdimc{#1pt}% + \if#2.% + \else + \ifnum#2>4 + \ifnum#1#2<0 + \addtolength\@tempdimc{-1.1pt}% + \else + \addtolength\@tempdimc{1.1pt}% + \fi + \fi + \fi + \edef\rnd@tempa{\strip@pt\@tempdimc}% + \expandafter\krntst@@round\rnd@tempa.000\@empty +} +\def\krntst@@round#1.#2#3\@empty{\def\kernlen{#1}} +\newcommand*\round[1]{% + \setlength\@tempdimc{#1}% + \edef\rnd@tempa{\strip@pt\@tempdimc}% + \expandafter\krntst@round\rnd@tempa.000\@empty +} +\newlength\psunit +\newcommand\getpsunit[1]{% + \setlength\@tempdima{1pt*\ratio{#1}{\psunit}}% +} +\newcommand\getkern[2]{% + \settowidth\@tempdima{#1#2}% + \settowidth\@tempdimb{#1\kern0pt#2}% + \setlength\@tempdima{1pt*\ratio{(\@tempdima-\@tempdimb)*1000}{1em}}% + \round{\@tempdima}% +} +\def\@saveslotnumber#1#2\@empty{% + \if#1"\relax + \setcounter{@glyphslot}{#1#2}% + \else + \if#1'\relax + \setcounter{@glyphslot}{#1#2}% + \else + \ifnum9<1#1\relax + \setcounter{@glyphslot}{#1#2}% + \else + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname slotnumber@glyph@#1#2\endcsname\relax + \setcounter{@glyphslot}{-1}% + \else + \setcounter{@glyphslot}{\csname slotnumber@glyph@#1#2\endcsname}% + \fi + \fi + \fi + \fi + \ifnum\the\c@@glyphslot>255\relax + \setcounter{@glyphslot}{-1}% + \fi +} +\DeclareRobustCommand*\saveslotnumber[2]{% + \expandafter\@saveslotnumber#2\@empty + \setcounter{#1}{\the\c@@glyphslot}% +} +\newcommand\getslotnumber[1]{% + \expandafter\@saveslotnumber#1\@empty + \ifnum\the\c@@glyphslot<0\relax + \textbf{???}% + \else + \ifnum\c@@glyphslot<100\relax0\fi + \ifnum\c@@glyphslot<10\relax0\fi + \the\c@@glyphslot + \fi +} +\newcommand*\printglyph[1]{% + \expandafter\@saveslotnumber#1\@empty + \char\the\c@@glyphslot +} +\edef\@minussign{-}% +\newcounter{@slota} +\newcounter{@slotb} +\newcounter{@slotc} +\newcommand\testkern[5]{% + \xdef\@kernlena{#2}% + \xdef\@kernlenb{#4}% + \saveslotnumber{@slota}{#1}% + \ifnum\the\c@@slota<0% + \ClassError{kerntest}{Used unknown glyph `#1'}{% + You may have misspelled the glyph or you have taken an invalid + number.}% + \setcounter{@slota}{0}% + \fi + \saveslotnumber{@slotb}{#3}% + \ifnum\the\c@@slotb<0% + \ClassError{kerntest}{Used unknown glyph `#3'}{% + You may have misspelled the glyph or you have taken an invalid + number.}% + \setcounter{@slotb}{0}% + \fi + \saveslotnumber{@slotc}{#5}% + \ifnum\the\c@@slotc<0% + \ClassError{kerntest}{Used unknown glyph `#5'}{% + You may have misspelled the glyph or you have taken an invalid + number.}% + \setcounter{@slotc}{0}% + \fi + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname kt@kerning@\getpsname{\the\c@@slota}@% + \getpsname{\the\c@@slotb}\endcsname\relax + \gdef\oldkerna{}% + \else + \gdef\oldkerna{% + \kern + \csname kt@kerning@\getpsname{\the\c@@slota}@% + \getpsname{\the\c@@slotb}\endcsname + \psunit + }% + \ifx\@kernlena\@minussign + \typeout{Kerning pair for \getpsname{\the\c@@slota}-% + \getpsname{\the\c@@slotb} reused (value + \csname kt@kerning@\getpsname{\the\c@@slota}@% + \getpsname{\the\c@@slotb}\endcsname).}% + \else + \ifnum\@kernlena=\csname kt@kerning@\getpsname{\the\c@@slota}@% + \getpsname{\the\c@@slotb}\endcsname\relax + \ClassWarning{kerntest}{Kerning for + \getpsname{\the\c@@slota}-\getpsname{\the\c@@slotb}\MessageBreak + repeated (value #2)}% + \else + \ClassError{kerntest}{Conflicting kerning for + \getpsname{\the\c@@slota}-\getpsname{\the\c@@slotb}\MessageBreak + (new value #2 != old value + \csname kt@kerning@\getpsname{\the\c@@slota}@% + \getpsname{\the\c@@slotb}\endcsname)% + }{% + You have given the kerning for the specified glyph pair + twice with different\MessageBreak + values. This may also appear when using glyph classes. + You have to give the\MessageBreak + kerning only once per glyph class.\MessageBreak + You may leave out the second kerning pair, or you may + give\MessageBreak + the kerning `-'. Then, the old value is reused. + }% + \fi + \fi + \fi + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname kt@kerning@\getpsname{\the\c@@slotb}@% + \getpsname{\the\c@@slotc}\endcsname\relax + \gdef\oldkernb{}% + \else + \gdef\oldkernb{% + \kern + \csname kt@kerning@\getpsname{\the\c@@slotb}@% + \getpsname{\the\c@@slotc}\endcsname + \psunit + }% + \ifx\@kernlenb\@minussign + \typeout{Kerning pair for \getpsname{\the\c@@slotb}-% + \getpsname{\the\c@@slotc} reused (value + \csname kt@kerning@\getpsname{\the\c@@slotb}@% + \getpsname{\the\c@@slotc}\endcsname).}% + \else + \ifnum\@kernlenb=\csname kt@kerning@\getpsname{\the\c@@slotb}@% + \getpsname{\the\c@@slotc}\endcsname\relax + \ClassWarning{kerntest}{Kerning for + \getpsname{\the\c@@slotb}-\getpsname{\the\c@@slotc}\MessageBreak + repeated (value #4)}% + \else + \ClassError{kerntest}{Conflicting kerning for + \getpsname{\the\c@@slotb}-\getpsname{\the\c@@slotc}\MessageBreak + (new value #4 != old value + \csname kt@kerning@\getpsname{\the\c@@slotb}@% + \getpsname{\the\c@@slotc}\endcsname)% + }{% + You have given the kerning for the specified glyph pair + twice with different\MessageBreak + values. This may also appear when using glyph classes. + You have to give the\MessageBreak + kerning only once per glyph class.\MessageBreak + You may leave out the second kerning pair, or you may + give\MessageBreak + the kerning `-'. Then, the old value is reused. + }% + \fi + \fi + \fi + \krntst@helpfont\getslotnumber{#3}% + & + \krntst@helpfont\getpsname{\the\c@@slotb}% + & + \char\the\c@@slota\char\c@@slotb\char\c@@slotc% + & + \char\the\c@@slota% + \ifx\@kernlena\@minussign + \oldkerna + \else + \kern#2\psunit + \fi + \char\the\c@@slotb% + \ifx\@kernlenb\@minussign + \oldkernb + \else + \kern#4\psunit + \fi + \char\the\c@@slotc% + & + \color{oldcolor}% + \makebox[0pt][l]{\char\the\c@@slota\char\the\c@@slotb\char\the\c@@slotc}% + \ifx\@kernlena\@minussign + \ifthenelse{\equal{\oldkerna}{}}{}{\color{newcolor}}% + \else + \color{newcolor}% + \fi + \ifx\@kernlenb\@minussign + \ifthenelse{\equal{\oldkernb}{}}{}{\color{newcolor}}% + \else + \color{newcolor}% + \fi + \char\the\c@@slota% + \ifx\@kernlena\@minussign + \oldkerna + \else + \kern#2\psunit + \fi + \char\the\c@@slotb% + \ifx\@kernlenb\@minussign + \oldkernb + \else + \kern#4\psunit + \fi + \char\the\c@@slotc% + & + \getkern{\char\the\c@@slota}{\char\the\c@@slotb}% + \krntst@helpfont + \ifx\@kernlena\@minussign + \ifthenelse{\equal{\oldkerna}{}}{% + \textcolor{oldcolor}{\small + \ifdim\kernlen pt<0pt-\fi + \ifdim\kernlen pt>0pt+\fi + \kernlen}% + }{% + \ifnum\kernlen=0\relax + \else + \textcolor{oldcolor}{\small(% + \ifdim\kernlen pt<0pt-\fi + \ifdim\kernlen pt>0pt+\fi + \kernlen)}% + \fi + ~\textcolor{newcolor}{\large + \ifnum + \csname kt@kerning@\getpsname{\the\c@@slota}@% + \getpsname{\the\c@@slotb}\endcsname<0-\fi + \csname kt@kerning@\getpsname{\the\c@@slota}@% + \getpsname{\the\c@@slotb}\endcsname + \makebox[0pt][l]{$^\ast$}% + }% + }% + \ifthenelse{\boolean{krntst@writeall}\and\not\equal{\kernlen}{0}}{% + \writemtxkern[original kerning]{\the\c@@slota}{% + \ifdim\kernlen pt>0pt+\fi\kernlen}{\the\c@@slotb}% + }{}% + \else + \ifdim\kernlen pt=0pt + \else + \textcolor{oldcolor}{\small(% + \ifdim\kernlen pt<0pt-\fi + \ifdim\kernlen pt>0pt+\fi + \kernlen)} + \fi + \textcolor{newcolor}{\large + \ifnum#2<0-\fi#2% + \ifthenelse{\equal{\oldkerna}{}}{% + }{\makebox[0mm][l]{$^\dagger$}}% + }% + \ifthenelse{\equal{\oldkerna}{}}{% + \writemtxkern{\the\c@@slota}{#2}{\the\c@@slotb}% + }{}% + \fi + & + \getkern{\char\the\c@@slotb}{\char\the\c@@slotc}% + \krntst@helpfont + \ifx\@kernlenb\@minussign + \ifthenelse{\equal{\oldkernb}{}}{% + \textcolor{oldcolor}{\small + \ifdim\kernlen pt<0pt-\fi + \ifdim\kernlen pt>0pt+\fi + \kernlen}% + }{% + \ifnum\kernlen=0\relax + \else + \textcolor{oldcolor}{\small(% + \ifdim\kernlen pt<0pt-\fi + \ifdim\kernlen pt>0pt+\fi + \kernlen)}% + \fi + ~\textcolor{newcolor}{\large + \ifnum + \csname kt@kerning@\getpsname{\the\c@@slotb}@% + \getpsname{\the\c@@slotc}\endcsname<0-\fi + \csname kt@kerning@\getpsname{\the\c@@slotb}@% + \getpsname{\the\c@@slotc}\endcsname + \makebox[0pt][l]{$^\ast$}% + }% + }% + \ifthenelse{\boolean{krntst@writeall}\and\not\equal{\kernlen}{0}}{% + \writemtxkern[original kerning]{\the\c@@slotb}{% + \ifdim\kernlen pt>0pt+\fi\kernlen}{\the\c@@slotc}% + }{}% + \else + \ifdim\kernlen pt=0pt + \else + \textcolor{oldcolor}{\small(% + \ifdim\kernlen pt<0pt-\fi + \ifdim\kernlen pt>0pt+\fi + \kernlen)} + \fi + \textcolor{newcolor}{\large + \ifnum#4<0-\fi#4% + \ifthenelse{\equal{\oldkernb}{}}{% + }{\makebox[0mm][l]{$^\dagger$}}% + }% + \ifthenelse{\equal{\oldkernb}{}}{% + \writemtxkern{\the\c@@slotb}{#4}{\the\c@@slotc}% + }{}% + \fi + & + \char\the\c@@slota\char\the\c@@slotb + \krntst@example + \char\the\c@@slotb\char\the\c@@slotc + & + \char\the\c@@slota% + \ifx\@kernlena\@minussign + \else + \kern#2\psunit + \fi + \char\the\c@@slotb\krntst@example\char\the\c@@slotb + \ifx\@kernlenb\@minussign + \else + \kern#4\psunit + \fi + \char\the\c@@slotc% + & + \krntst@helpfont\ignorespaces +} +\newenvironment{kerntable}{% + \usefont{\krntst@encoding}{\krntst@family}{\krntst@series}{\krntst@shape}% + \fontsize{\krntst@size}{\krntst@baselineskip}\selectfont% + \begin{longtable}[l]{@{}lll@{~}l@{~}l@{~}rrlll@{}} + \krntst@helpfont slot& + \krntst@helpfont name& + \krntst@helpfont orig& + \krntst@helpfont new& + \krntst@helpfont both& + \krntst@helpfont k.\,1& + \krntst@helpfont k.\,2& + \krntst@helpfont orig.& + \krntst@helpfont new& + \krntst@helpfont comment\\ + \endhead + \krntst@helpfont slot& + \krntst@helpfont name& + \krntst@helpfont orig& + \krntst@helpfont new& + \krntst@helpfont both& + \krntst@helpfont k.\,1& + \krntst@helpfont k.\,2& + \krntst@helpfont orig.& + \krntst@helpfont new& + \krntst@helpfont comment\\ + \endfoot + }{% + \end{longtable}% + \ignorespacesafterend +} +\newif\if@tempswb +\newcommand\writemtxkern[4][\@empty]{% + \expandafter\@saveslotnumber#2\@empty + \edef\@firstglyphname{\getpsname{\c@@glyphslot}}% + \expandafter\@saveslotnumber#4\@empty + \edef\@secondglyphname{\getpsname{\c@@glyphslot}}% + \ifthenelse{\equal{#1}{\@empty}}{% + \edef\rightkern{\getclassofglyph{right}{\@firstglyphname}}% + \ifthenelse{\equal{\rightkern}{\@empty}}{% + \edef\textright{./.}% + \def\rightkern{@firstglyphname}% + }{% + \edef\textright{\expandafter\@getclassname\rightkern\@empty}% + }% + \edef\leftkern{\getclassofglyph{left}{\@secondglyphname}}% + \ifthenelse{\equal{\leftkern}{\@empty}}{% + \edef\textleft{./.}% + \def\leftkern{@secondglyphname}% + }{% + \edef\textleft{\expandafter\@getclassname\leftkern\@empty}% + }% + \@tempswbtrue + \@forallinclass{\rightkern}{first}{% + \@forallinclass{\leftkern}{second}{% + \if@tempswb + \protected@write\mtxfile{}{% + \string\setkern + {\first}{\second}{#3}% + \@percentchar\space\space\textright\space-- \textleft + }% protected@write + \@tempswbfalse + \fi + \setcounter{@tmpscale}{#3*\first@scaling*\second@scaling/1000000}% + \typeout{\first-\second: \the@tmpscale}% + \expandafter\xdef\csname kt@kerning@\first @\second\endcsname{% + \the@tmpscale}% + }% forallinclass second + }% forallinclass first + }{% + \protected@write\mtxfile{}{% + \string\setkern + {\@firstglyphname}{\@secondglyphname}{#3}% + \@percentchar\space\space #1% + }% + \expandafter\xdef + \csname kt@kerning@\@firstglyphname@\@secondglyphname\endcsname{#3}% + }% +}% +\newcounter{@tmpscale} +\newcounter{@firstscale} +\newcommand\defglyphclass[3]{% + \AtBeginDocument{% + \@ifundefined{glyphclasslist@#1}{% + \expandafter\def\csname glyphclasslist@#1\endcsname{% + glyphclass@#1@#2}% + }{% + \begingroup + \@tempswatrue + \forallclasses{#1}{@tmpcls}{% + \ifthenelse{\equal{\@tmpcls}{glyphclass@#1@#2}}{% + \@tempswafalse + }{}% + }% + \if@tempswa + \expandafter\xdef\csname glyphclasslist@#1\endcsname{% + \csname glyphclasslist@#1\endcsname,glyphclass@#1@#2}% + \fi + \endgroup + }% + \expandafter\def\csname glyphclass@#1@#2\endcsname{}% + \edef\@tempa{#3}% + \@tempswbtrue + \@forallinclass{@tempa}{@tmpglyph}{% + \saveslotnumber{@glyphslot}{\@tmpglyph}% + \ifnum\the\c@@glyphslot<0% + \ClassError{kerntest}{Used unknown glyph `\@tmpglyph'}{% + You may have misspelled the glyph or you have taken an invalid + number. + This incorrect glyph is ignored.}% + \edef\thisglyphname{???}% + \else + \edef\thisglyphname{\getpsname{\the\c@@glyphslot}}% + \if@tempswb + \global\@tempswbfalse + \setcounter{@firstscale}{\@tmpglyph@scaling}% + \fi + \setcounter{@tmpscale}{1000*\@tmpglyph@scaling/\the@firstscale}% + \@tempswatrue + \forallclasses{#1}{@tmpcls}{% + \@ifglyphinclass{\@tmpcls}{\@tmpglyph}{% + \@tempswafalse + \ClassError{kerntest}{Glyph `\@tmpglyph' + (`\thisglyphname',\MessageBreak + glyph class #1/#2) already\MessageBreak + in glyph + class (\expandafter\@getclassname\@tmpcls\@empty)% + }{% + Each glyph may only be once in one glyph class for + each side. + }% + }{}% + }% + \if@tempswa + \ifthenelse{\equal{\csname glyphclass@#1@#2\endcsname}{}}{% + \expandafter\edef\csname glyphclass@#1@#2\endcsname{% + \thisglyphname[\the@tmpscale]}% + \edef\firstglyphinclass{\thisglyphname}% + }{% + \expandafter\edef\csname glyphclass@#1@#2\endcsname{% + \csname glyphclass@#1@#2\endcsname,% + \thisglyphname[\the@tmpscale]}% + }% + \expandafter\edef + \csname glyphclass@glyph@#1@\thisglyphname\endcsname{% + glyphclass@#1@#2}% + \fi + \fi + }% + \typeout{Glyph class `#1/#2' (\csname glyphclass@#1@#2\endcsname) + defined.}% + }% +} +\newcommand\newglyphclass[3]{% + \AtBeginDocument{% + \@tempswatrue + \forallclasses{#1}{@tmpcls}{% + \ifthenelse{\equal{\@tmpcls}{glyphclass@#1@#2}}{% + \ClassError{kerntest}{Class `#1/#2' already exists}{% + The command is ignored.}% + \@tempswafalse + }{}% + }% + \if@tempswa + \defglyphclass{#1}{#2}{#3}% + \fi + }% +} +\newcommand\renewglyphclass[3]{% + \AtBeginDocument{% + \@tempswafalse + \forallclasses{#1}{@tmpcls}{% + \ifthenelse{\equal{\@tmpcls}{glyphclass@#1@#2}}{% + \@tempswatrue + }{}% + }% + \if@tempswa + \defglyphclass{#1}{#2}{#3}% + \else + \ClassError{kerntest}{Class `#1/#2' does not exists}{% + The command is ignored.}% + \fi + }% +} +\newcommand\provideglyphclass[3]{% + \AtBeginDocument{% + \@tempswatrue + \forallclasses{#1}{@tmpcls}{% + \ifthenelse{\equal{\@tmpcls}{glyphclass@#1@#2}}{% + \@tempswafalse + }{}% + }% + \if@tempswa + \defglyphclass{#1}{#2}{#3}% + \fi + }% +} +\def\@getclassname#1@#2@#3\@empty{#2/#3} +\newcommand*\getclassofglyph[2]{% + \expandafter\ifx\csname glyphclass@glyph@#1@#2\endcsname\relax + \@empty + \else + \csname glyphclass@glyph@#1@#2\endcsname + \fi +} +\newif\if@glyphfound +\newcommand\ifglyphinclass[5]{% + \@ifundefined{glyphclass@#1@#2}{% + \ClassError{kerntest}{Glyph class #1/#2 not available}{}% + }{% + \edef\@tempa{#3}% + \saveslotnumber{@tempcnta}{\@tempa}% + \ifnum\the\c@@tempcnta<0% + \ClassError{kerntest}{Used unknown glyph `#2'}{% + You may have misspelled the glyph or you have taken an invalid + number.}% + \else + \ifthenelse{\equal{glyphclass@#1@#2}{% + \getclassofglyph{#1}{\getpsname{\the\c@@tempcnta}}}}{% + #4% + }{% + #5% + }% + \fi + }% +} +\newcounter{@tempcnta} +\newcommand\@ifglyphinclass[4]{% + \@ifundefined{#1}{% + \ClassError{kerntest}{Glyph class #1 not available}{}% + }{% + \def\krntst@side##1@##2@##3\@empty{\edef\krntst@side{##2}}% + \expandafter\krntst@side#1\@empty + \edef\@tempa{#2}% + \saveslotnumber{@tempcnta}{\@tempa}% + \ifnum\the\c@@tempcnta<0\relax + \ClassError{kerntest}{Used unknown glyph `#2'}{% + You may have misspelled the glyph or you have taken an invalid + number.}% + \else + \ifthenelse{\equal{#1}{% + \getclassofglyph{\krntst@side}{\getpsname{\the\c@@tempcnta}}}}{% + #3% + }{% + #4% + }% + \fi + }% +} +\newcommand\forallinclass[4]{% + \@forallinclass{glyphclass@#1@#2}{#3}{#4}% +} +\newcommand\@forallinclass[3]{% + \renewcommand\stoploop[1][#2]{% + \expandafter\edef\csname ##1\endcsname{}% + }% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname #1\endcsname\relax + \edef\kt@tempa{}% + \else + \edef\kt@tempa{\csname #1\endcsname}% + \fi + \expandafter\@nextglyphinclass\kt@tempa,\@empty{#2}% + \whiledo{\not\equal{\csname #2\endcsname}{}}{% + #3% + \ifthenelse{\equal{\csname #2\endcsname}{}}{% + }{% + \edef\kt@tempa{\csname #2@rest\endcsname}% + \expandafter\@nextglyphinclass\kt@tempa,\@empty{#2}% + }% + }% +} +\def\@@parseglyphname#1[#2]#3\@empty#4{% + \expandafter\edef\csname#4\endcsname{#1}% + \expandafter\xdef\csname#4@scaling\endcsname{#2}% +} +\def\@nextglyphinclass#1,#2\@empty#3{% + \expandafter\edef\csname#3@rest\endcsname{#2}% + \expandafter\@@parseglyphname#1[1000]\@empty{#3}% +} +\newcommand\forallclasses[3]{% + \renewcommand\stoploop[1][#2]{% + \expandafter\edef\csname ##1\endcsname{}% + }% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname glyphclasslist@#1\endcsname\relax + \edef\kt@tempa{}% + \else + \edef\kt@tempa{\csname glyphclasslist@#1\endcsname}% + \fi + \expandafter\@nextclass\kt@tempa,\@empty{#2}% + \whiledo{\not\equal{\csname #2\endcsname}{}}{% + #3% + \ifthenelse{\equal{\csname #2\endcsname}{}}{% + }{% + \edef\kt@tempa{\csname #2@rest\endcsname}% + \expandafter\@nextclass\kt@tempa,\@empty{#2}% + }% + }% +} +\newcommand\stoploop[1][]{% + \expandafter\edef\csname #1\endcsname{}% +} +\def\@nextclass#1,#2\@empty#3{% + \expandafter\edef\csname #3@rest\endcsname{#2}% + \expandafter\edef\csname #3\endcsname{#1}% +} +\newcommand\encodingsetup[1]{% + \AtBeginDocument{% + \typeout{Setup for font encoding. + This differs from encoding to encoding.}% + \setkeys{krnenc}{#1}% + }% +} +\@onlypreamble\encodingsetup +\AtEndDocument{% + \typeout{Writing kerning factors for glyph classes to mtx file}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + Kerning factors for the different glyph classes.}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \def\@writeclass#1{% + \forallclasses{#1}{@tmpcls}{% + \typeout{\space\space for class + \expandafter\@getclassname\@tmpcls\@empty}% + \@tempswatrue + \@forallinclass{\@tmpcls}{@tmpglyph}{% + \if@tempswa + \edef\firstglyphinclass{\@tmpglyph}% + \@tempswafalse + \else + \protected@write\mtxfile{}{% + \string\set#1kerning% + {\@tmpglyph}{\firstglyphinclass}{\@tmpglyph@scaling}% + \@percentchar\space\space + \expandafter\@getclassname\@tmpcls\@empty + }% + \fi + }% + }% + }% + \@writeclass{left}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \@writeclass{right}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\string\endmetrics}% + \protected@write\mtxfile{}{\@percentchar\@percentchar}% + \protected@write\mtxfile{}{\@percentchar\@percentchar\space + End of file `\mtxfilename.mtx'.}% + \closeout\mtxfile + \typeout{^^JWritten mtx file `\mtxfilename.mtx'^^J}% +} + +\endinput +%% +%% End of file `kerntest.cls'. diff --git a/Master/texmf-dist/tex/latex/kerntest/ly1mtx.clo b/Master/texmf-dist/tex/latex/kerntest/ly1mtx.clo new file mode 100644 index 00000000000..d86dfaaf899 --- /dev/null +++ b/Master/texmf-dist/tex/latex/kerntest/ly1mtx.clo @@ -0,0 +1,284 @@ +%% +%% This is file `ly1mtx.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kerntest.dtx (with options: `mtx,ly1') +%% +%% kerntest class +%% +%% Copyright 2004 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1.3 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesFile{ly1mtx.clo} + [2004/04/14 v1.32 Generate kerning tables] +\newcommand\getpsname[1]{% + \ifcase#1% + .notdef.000\or % 000 + Euro\or % 001 + .notdef.002\or % 002 + .notdef.003\or % 003 + fraction\or % 004 + dotaccent\or % 005 + hungarumlaut\or % 006 + ogonek\or % 007 + fl\or % 008 + .notdef.009\or % 009 + cwm\or % 010 + ff\or % 011 + fi\or % 012 + .notdef.013\or % 013 + ffi\or % 014 + ffl\or % 015 + dotlessi\or % 016 + dotlessj\or % 017 + grave\or % 018 + acute\or % 019 + caron\or % 020 + breve\or % 021 + macron\or % 022 + ring\or % 023 + cedilla\or % 024 + germandbls\or % 025 + ae\or % 026 + oe\or % 027 + oslash\or % 028 + AE\or % 029 + OE\or % 030 + Oslash\or % 031 + space\or % 032 + exclam\or % 033 + quotedbl\or % 034 + numbersign\or % 035 + dollar\or % 036 + percent\or % 037 + ampersand\or % 038 + quoteright\or % 039 + parenleft\or % 040 + parenright\or % 041 + asterisk\or % 042 + plus\or % 043 + comma\or % 044 + hyphen\or % 045 + period\or % 046 + slash\or % 047 + zero\or % 048 + one\or % 049 + two\or % 050 + three\or % 051 + four\or % 052 + five\or % 053 + six\or % 054 + seven\or % 055 + eight\or % 056 + nine\or % 057 + colon\or % 058 + semicolon\or % 059 + less\or % 060 + equal\or % 061 + greater\or % 062 + question\or % 063 + at\or % 064 + A\or % 065 + B\or % 066 + C\or % 067 + D\or % 068 + E\or % 069 + F\or % 070 + G\or % 071 + H\or % 072 + I\or % 073 + J\or % 074 + K\or % 075 + L\or % 076 + M\or % 077 + N\or % 078 + O\or % 079 + P\or % 080 + Q\or % 081 + R\or % 082 + S\or % 083 + T\or % 084 + U\or % 085 + V\or % 086 + W\or % 087 + X\or % 088 + Y\or % 089 + Z\or % 090 + bracketleft\or % 091 + backslash\or % 092 + bracketright\or % 093 + circumflex\or % 094 + underscore\or % 095 + quoteleft\or % 096 + a\or % 097 + b\or % 098 + c\or % 099 + d\or % 100 + e\or % 101 + f\or % 102 + g\or % 103 + h\or % 104 + i\or % 105 + j\or % 106 + k\or % 107 + l\or % 108 + m\or % 109 + n\or % 110 + o\or % 111 + p\or % 112 + q\or % 113 + r\or % 114 + s\or % 115 + t\or % 116 + u\or % 117 + v\or % 118 + w\or % 119 + x\or % 120 + y\or % 121 + z\or % 122 + braceleft\or % 123 + bar\or % 124 + braceright\or % 125 + tilde\or % 126 + dieresis\or % 127 + Lslash\or % 128 + quotesingle\or % 129 + quotesinglbase\or % 130 + florin\or % 131 + quotedblbase\or % 132 + ellipsis\or % 133 + dagger\or % 134 + daggerdbl\or % 135 + circumflex\or % 136 + perthousand\or % 137 + Scaron\or % 138 + guilsinglleft\or % 139 + OE\or % 140 + Zcaron\or % 141 + asciicircum\or % 142 + minus\or % 143 + lslash\or % 144 + quoteleft\or % 145 + quoteright\or % 146 + quotedblleft\or % 147 + quotedblright\or % 148 + bullet\or % 149 + endash\or % 150 + emdash\or % 151 + tilde\or % 152 + trademark\or % 153 + scaron\or % 154 + guilsinglright\or % 155 + oe\or % 156 + zcaron\or % 157 + asciitilde\or % 158 + Ydieresis\or % 159 + nbspace\or % 160 + exclamdown\or % 161 + cent\or % 162 + sterling\or % 163 + currency\or % 164 + yen\or % 165 + brokenbar\or % 166 + section\or % 167 + dieresis\or % 168 + copyright\or % 169 + ordfeminine\or % 170 + guillemotleft\or % 171 + logicalnot\or % 172 + sfthyphen\or % 173 + registered\or % 174 + macron\or % 175 + degree\or % 176 + plusminus\or % 177 + twosuperior\or % 178 + threesuperior\or % 179 + acute\or % 180 + mu\or % 181 + paragraph\or % 182 + periodcentered\or % 183 + cedilla\or % 184 + onesuperior\or % 185 + ordmasculine\or % 186 + guillemotright\or % 187 + onequarter\or % 188 + onehalf\or % 189 + threequarters\or % 190 + questiondown\or % 191 + Agrave\or % 192 + Aacute\or % 193 + Acircumflex\or % 194 + Atilde\or % 195 + Adieresis\or % 196 + Aring\or % 197 + AE\or % 198 + Ccedilla\or % 199 + Egrave\or % 200 + Eacute\or % 201 + Ecircumflex\or % 202 + Edieresis\or % 203 + Igrave\or % 204 + Iacute\or % 205 + Icircumflex\or % 206 + Idieresis\or % 207 + Eth\or % 208 + Ntilde\or % 209 + Ograve\or % 210 + Oacute\or % 211 + Ocircumflex\or % 212 + Otilde\or % 213 + Odieresis\or % 214 + multiply\or % 215 + Oslash\or % 216 + Ugrave\or % 217 + Uacute\or % 218 + Ucircumflex\or % 219 + Udieresis\or % 220 + Yacute\or % 221 + Thorn\or % 222 + germandbls\or % 223 + agrave\or % 224 + aacute\or % 225 + acircumflex\or % 226 + atilde\or % 227 + adieresis\or % 228 + aring\or % 229 + ae\or % 230 + ccedilla\or % 231 + egrave\or % 232 + eacute\or % 233 + ecircumflex\or % 234 + edieresis\or % 235 + igrave\or % 236 + iacute\or % 237 + icircumflex\or % 238 + idieresis\or % 239 + eth\or % 240 + ntilde\or % 241 + ograve\or % 242 + oacute\or % 243 + ocircumflex\or % 244 + otilde\or % 245 + odieresis\or % 246 + divide\or % 247 + oslash\or % 248 + ugrave\or % 249 + uacute\or % 250 + ucircumflex\or % 251 + udieresis\or % 252 + yacute\or % 253 + thorn\or % 254 + ydieresis\fi % 255 +} + +\endinput +%% +%% End of file `ly1mtx.clo'. diff --git a/Master/texmf-dist/tex/latex/kerntest/ot1mtx.clo b/Master/texmf-dist/tex/latex/kerntest/ot1mtx.clo new file mode 100644 index 00000000000..04d2176a16d --- /dev/null +++ b/Master/texmf-dist/tex/latex/kerntest/ot1mtx.clo @@ -0,0 +1,337 @@ +%% +%% This is file `ot1mtx.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kerntest.dtx (with options: `mtx,ot1') +%% +%% kerntest class +%% +%% Copyright 2004 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1.3 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesFile{ot1mtx.clo} + [2004/04/14 v1.32 Generate kerning tables] +\makeatletter +\define@key{krnenc}{ligaturing}[2]{% + \typeout{OT1 encoding: ligaturing = #1}% + \ifnum#1=2\relax + \expandafter\def\csname krntst@OT1@011\endcsname{ff}% + \expandafter\def\csname krntst@OT1@012\endcsname{fi}% + \expandafter\def\csname krntst@OT1@013\endcsname{fl}% + \expandafter\def\csname krntst@OT1@014\endcsname{ffi}% + \expandafter\def\csname krntst@OT1@015\endcsname{ffl}% + \expandafter\def\csname krntst@OT1@060\endcsname{exclamdown}% + \expandafter\def\csname krntst@OT1@062\endcsname{questiondown}% + \else + \expandafter\def\csname krntst@OT1@011\endcsname{arrowup}% + \expandafter\def\csname krntst@OT1@012\endcsname{arrowdown}% + \expandafter\def\csname krntst@OT1@013\endcsname{quotesingle}% + \expandafter\def\csname krntst@OT1@014\endcsname{exclamdown}% + \expandafter\def\csname krntst@OT1@015\endcsname{questiondown}% + \expandafter\def\csname krntst@OT1@060\endcsname{less}% + \expandafter\def\csname krntst@OT1@062\endcsname{greater}% + \fi + \ifnum#1=0\relax + \expandafter\def\csname krntst@OT1@032\endcsname{visiblespace}% + \expandafter\def\csname krntst@OT1@034\endcsname{quotedbl}% + \expandafter\def\csname krntst@OT1@092\endcsname{backslash}% + \expandafter\def\csname krntst@OT1@095\endcsname{underscore}% + \expandafter\def\csname krntst@OT1@123\endcsname{braceleft}% + \expandafter\def\csname krntst@OT1@124\endcsname{bar}% + \expandafter\def\csname krntst@OT1@125\endcsname{braceright}% + \else + \expandafter\def\csname krntst@OT1@032\endcsname{lslashslash}% + \expandafter\def\csname krntst@OT1@034\endcsname{quotedblright}% + \expandafter\def\csname krntst@OT1@092\endcsname{quotedblleft}% + \expandafter\def\csname krntst@OT1@095\endcsname{dotaccent}% + \expandafter\def\csname krntst@OT1@123\endcsname{rangedash}% + \expandafter\def\csname krntst@OT1@124\endcsname{punctdash}% + \expandafter\def\csname krntst@OT1@125\endcsname{hungarumlaut}% + \fi +} +\define@key{krnenc}{italicizing}[true]{% + \typeout{OT1 encoding: italicizing = #1}% + \csname if#1\endcsname + \expandafter\def\csname krntst@OT1@036\endcsname{sterling}% + \else + \expandafter\def\csname krntst@OT1@036\endcsname{dollar} + \fi +} +\typeout{^^JValid values for OT1 encoding:}% +\typeout{ligaturing: 0, 1, 2}% +\typeout{italicizing: false, true}% +\typeout{Defaults for OT1 encoding:}% +\setkeys{krnenc}{ligaturing=2,italicizing=false}% +\typeout{}% +\makeatother +\newcommand\getpsname[1]{% + \ifcase#1% + Gamma\or % 000 + Delta\or % 001 + Theta\or % 002 + Lambda\or % 003 + Xi\or % 004 + Pi\or % 005 + Sigma\or % 006 + Upsilon\or % 007 + Phi\or % 008 + Psi\or % 009 + Omega\or % 010 + \csname krntst@OT1@011\endcsname\or % 011 + \csname krntst@OT1@012\endcsname\or % 012 + \csname krntst@OT1@013\endcsname\or % 013 + \csname krntst@OT1@014\endcsname\or % 014 + \csname krntst@OT1@015\endcsname\or % 015 + dotlessi\or % 016 + dotlessj\or % 017 + grave\or % 018 + acute\or % 019 + caron\or % 020 + breve\or % 021 + macron\or % 022 + ringfitted\or % 023 + cedilla\or % 024 + germandbls\or % 025 + ae\or % 026 + oe\or % 027 + oslash\or % 028 + AE\or % 029 + OE\or % 030 + Oslash\or % 031 + \csname krntst@OT1@032\endcsname\or % 032 + exclam\or % 033 + \csname krntst@OT1@034\endcsname\or % 034 + numbersign\or % 035 + \csname krntst@OT1@036\endcsname\or % 036 + percent\or % 037 + ampersand\or % 038 + quoteright\or % 039 + parenleft\or % 040 + parenright\or % 041 + asterisk\or % 042 + plus\or % 043 + comma\or % 044 + hyphen\or % 045 + period\or % 046 + slash\or % 047 + zero\or % 048 + one\or % 049 + two\or % 050 + three\or % 051 + four\or % 052 + five\or % 053 + six\or % 054 + seven\or % 055 + eight\or % 056 + nine\or % 057 + colon\or % 058 + semicolon\or % 059 + \csname krntst@OT1@060\endcsname\or % 060 + equal\or % 061 + \csname krntst@OT1@062\endcsname\or % 062 + question\or % 063 + at\or % 064 + A\or % 065 + B\or % 066 + C\or % 067 + D\or % 068 + E\or % 069 + F\or % 070 + G\or % 071 + H\or % 072 + I\or % 073 + J\or % 074 + K\or % 075 + L\or % 076 + M\or % 077 + N\or % 078 + O\or % 079 + P\or % 080 + Q\or % 081 + R\or % 082 + S\or % 083 + T\or % 084 + U\or % 085 + V\or % 086 + W\or % 087 + X\or % 088 + Y\or % 089 + Z\or % 090 + bracketleft\or % 091 + \csname krntst@OT1@092\endcsname\or % 092 + bracketright\or % 093 + circumflex\or % 094 + \csname krntst@OT1@095\endcsname\or % 095 + quoteleft\or % 096 + a\or % 097 + b\or % 098 + c\or % 099 + d\or % 100 + e\or % 101 + f\or % 102 + g\or % 103 + h\or % 104 + i\or % 105 + j\or % 106 + k\or % 107 + l\or % 108 + m\or % 109 + n\or % 110 + o\or % 111 + p\or % 112 + q\or % 113 + r\or % 114 + s\or % 115 + t\or % 116 + u\or % 117 + v\or % 118 + w\or % 119 + x\or % 120 + y\or % 121 + z\or % 122 + \csname krntst@OT1@123\endcsname\or % 123 + \csname krntst@OT1@124\endcsname\or % 124 + \csname krntst@OT1@125\endcsname\or % 125 + tilde\or % 126 + dieresis\or % 127 + .notdef.128\or % 128 + .notdef.129\or % 129 + .notdef.130\or % 130 + .notdef.131\or % 131 + .notdef.132\or % 132 + .notdef.133\or % 133 + .notdef.134\or % 134 + .notdef.135\or % 135 + .notdef.136\or % 136 + .notdef.137\or % 137 + Lslash\or % 138 + .notdef.139\or % 139 + .notdef.140\or % 140 + .notdef.141\or % 141 + .notdef.142\or % 142 + .notdef.143\or % 143 + .notdef.144\or % 144 + .notdef.145\or % 145 + .notdef.146\or % 146 + .notdef.147\or % 147 + .notdef.148\or % 148 + .notdef.149\or % 149 + .notdef.150\or % 150 + .notdef.151\or % 151 + .notdef.152\or % 152 + .notdef.153\or % 153 + .notdef.154\or % 154 + .notdef.155\or % 155 + .notdef.156\or % 156 + .notdef.157\or % 157 + .notdef.158\or % 158 + .notdef.159\or % 159 + .notdef.160\or % 160 + .notdef.161\or % 161 + .notdef.162\or % 162 + .notdef.163\or % 163 + .notdef.164\or % 164 + .notdef.165\or % 165 + .notdef.166\or % 166 + .notdef.167\or % 167 + .notdef.168\or % 168 + .notdef.169\or % 169 + lslash\or % 170 + .notdef.171\or % 171 + .notdef.172\or % 172 + .notdef.173\or % 173 + .notdef.174\or % 174 + .notdef.175\or % 175 + .notdef.176\or % 176 + .notdef.177\or % 177 + .notdef.178\or % 178 + .notdef.179\or % 179 + .notdef.180\or % 180 + .notdef.181\or % 181 + .notdef.182\or % 182 + .notdef.183\or % 183 + .notdef.184\or % 184 + .notdef.185\or % 185 + .notdef.186\or % 186 + .notdef.187\or % 187 + .notdef.188\or % 188 + .notdef.189\or % 189 + .notdef.190\or % 190 + .notdef.191\or % 191 + .notdef.192\or % 192 + .notdef.193\or % 193 + .notdef.194\or % 194 + .notdef.195\or % 195 + .notdef.196\or % 196 + .notdef.197\or % 197 + .notdef.198\or % 198 + .notdef.199\or % 199 + .notdef.200\or % 200 + .notdef.201\or % 201 + .notdef.202\or % 202 + .notdef.203\or % 203 + .notdef.204\or % 204 + .notdef.205\or % 205 + .notdef.206\or % 206 + .notdef.207\or % 207 + .notdef.208\or % 208 + .notdef.209\or % 209 + .notdef.210\or % 210 + .notdef.211\or % 211 + .notdef.212\or % 212 + .notdef.213\or % 213 + .notdef.214\or % 214 + .notdef.215\or % 215 + .notdef.216\or % 216 + .notdef.217\or % 217 + .notdef.218\or % 218 + .notdef.219\or % 219 + .notdef.220\or % 220 + .notdef.221\or % 221 + .notdef.222\or % 222 + .notdef.223\or % 223 + .notdef.224\or % 224 + .notdef.225\or % 225 + .notdef.226\or % 226 + .notdef.227\or % 227 + .notdef.228\or % 228 + .notdef.229\or % 229 + .notdef.230\or % 230 + .notdef.231\or % 231 + .notdef.232\or % 232 + .notdef.233\or % 233 + .notdef.234\or % 234 + .notdef.235\or % 235 + .notdef.236\or % 236 + .notdef.237\or % 237 + .notdef.238\or % 238 + .notdef.239\or % 239 + .notdef.240\or % 240 + .notdef.241\or % 241 + .notdef.242\or % 242 + .notdef.243\or % 243 + .notdef.244\or % 244 + .notdef.245\or % 245 + .notdef.246\or % 246 + .notdef.247\or % 247 + .notdef.248\or % 248 + .notdef.249\or % 249 + .notdef.250\or % 250 + .notdef.251\or % 251 + .notdef.252\or % 252 + .notdef.253\or % 253 + .notdef.254\or % 254 + .notdef.255\fi % 255 +} + +\endinput +%% +%% End of file `ot1mtx.clo'. diff --git a/Master/texmf-dist/tex/latex/kerntest/t1mtx.clo b/Master/texmf-dist/tex/latex/kerntest/t1mtx.clo new file mode 100644 index 00000000000..cd89df63749 --- /dev/null +++ b/Master/texmf-dist/tex/latex/kerntest/t1mtx.clo @@ -0,0 +1,324 @@ +%% +%% This is file `t1mtx.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kerntest.dtx (with options: `mtx,t1') +%% +%% kerntest class +%% +%% Copyright 2004 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1.3 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesFile{t1mtx.clo} + [2004/04/14 v1.32 Generate kerning tables] +\makeatletter +\define@key{krnenc}{ligaturing}[1]{% + \typeout{T1 encoding: ligaturing = #1}% + \ifnum#1<0\relax + \expandafter\def\csname krntst@T1@027\endcsname{.notdef.027}% + \expandafter\def\csname krntst@T1@028\endcsname{.notdef.028}% + \expandafter\def\csname krntst@T1@029\endcsname{.notdef.029}% + \expandafter\def\csname krntst@T1@030\endcsname{.notdef.030}% + \expandafter\def\csname krntst@T1@031\endcsname{.notdef.031}% + \expandafter\def\csname krntst@T1@156\endcsname{.notdef.156}% + \expandafter\def\csname krntst@T1@188\endcsname{.notdef.188}% + \else + \expandafter\def\csname krntst@T1@027\endcsname{ff}% + \expandafter\def\csname krntst@T1@028\endcsname{fi}% + \expandafter\def\csname krntst@T1@029\endcsname{fl}% + \expandafter\def\csname krntst@T1@030\endcsname{ffi}% + \expandafter\def\csname krntst@T1@031\endcsname{ffl}% + \expandafter\def\csname krntst@T1@156\endcsname{IJ}% + \expandafter\def\csname krntst@T1@188\endcsname{ij}% + \fi + \ifnum#1<-1\relax + \expandafter\def\csname krntst@T1@073\endcsname{.notdef.073}% + \expandafter\def\csname krntst@T1@099\endcsname{.notdef.099}% + \expandafter\def\csname krntst@T1@102\endcsname{.notdef.102}% + \expandafter\def\csname krntst@T1@105\endcsname{.notdef.105}% + \expandafter\def\csname krntst@T1@115\endcsname{.notdef.115}% + \else + \expandafter\def\csname krntst@T1@073\endcsname{I}% + \expandafter\def\csname krntst@T1@099\endcsname{c}% + \expandafter\def\csname krntst@T1@102\endcsname{f}% + \expandafter\def\csname krntst@T1@105\endcsname{i}% + \expandafter\def\csname krntst@T1@115\endcsname{s}% + \fi +} +\typeout{^^JValid values for T1 encoding:}% +\typeout{ligaturing: -2, -1, 0, 1}% +\typeout{Defaults for T1 encoding:}% +\setkeys{krnenc}{ligaturing=1}% +\typeout{}% +\makeatother +\newcommand\getpsname[1]{% + \ifcase#1% + grave\or% 000 + acute\or% 001 + circumflex\or% 002 + tilde\or% 003 + dieresis\or% 004 + hungarumlaut\or% 005 + ring\or% 006 + caron\or% 007 + breve\or% 008 + macron\or% 009 + dotaccent\or% 010 + cedilla\or% 011 + ogonek\or% 012 + quotesinglbase\or% 013 + guilsinglleft\or% 014 + guilsinglright\or% 015 + quotedblleft\or% 016 + quotedblright\or% 017 + quotedblbase\or% 018 + guillemotleft\or% 019 + guillemotright\or% 020 + rangedash\or% 021 + punctdash\or% 022 + compwordmark\or% 023 + perthousandzero\or% 024 + dotlessi\or% 025 + dotlessj\or% 026 + \csname krntst@T1@027\endcsname\or % 027 + \csname krntst@T1@028\endcsname\or % 028 + \csname krntst@T1@029\endcsname\or % 029 + \csname krntst@T1@030\endcsname\or % 030 + \csname krntst@T1@031\endcsname\or % 031 + visiblespace\or% 032 + exclam\or% 033 + quotedbl\or% 034 + numbersign\or% 035 + dollar\or% 036 + percent\or% 037 + ampersand\or% 038 + quoteright\or% 039 + parenleft\or% 040 + parenright\or% 041 + asterisk\or% 042 + plus\or% 043 + comma\or% 044 + hyphen\or% 045 + period\or% 046 + slash\or% 047 + zero\or% 048 + one\or% 049 + two\or% 050 + three\or% 051 + four\or% 052 + five\or% 053 + six\or% 054 + seven\or% 055 + eight\or% 056 + nine\or% 057 + colon\or% 058 + semicolon\or% 059 + less\or% 060 + equal\or% 061 + greater\or% 062 + question\or% 063 + at\or% 064 + A\or% 065 + B\or% 066 + C\or% 067 + D\or% 068 + E\or% 069 + F\or% 070 + G\or% 071 + H\or% 072 + \csname krntst@T1@073\endcsname\or % 073 + J\or% 074 + K\or% 075 + L\or% 076 + M\or% 077 + N\or% 078 + O\or% 079 + P\or% 080 + Q\or% 081 + R\or% 082 + S\or% 083 + T\or% 084 + U\or% 085 + V\or% 086 + W\or% 087 + X\or% 088 + Y\or% 089 + Z\or% 090 + bracketleft\or% 091 + backslash\or% 092 + bracketright\or% 093 + asciicircum\or% 094 + underscore\or% 095 + quoteleft\or% 096 + a\or% 097 + b\or% 098 + \csname krntst@T1@099\endcsname\or % 099 + d\or% 100 + e\or% 101 + \csname krntst@T1@102\endcsname\or % 102 + g\or% 103 + h\or% 104 + \csname krntst@T1@105\endcsname\or % 105 + j\or% 106 + k\or% 107 + l\or% 108 + m\or% 109 + n\or% 110 + o\or% 111 + p\or% 112 + q\or% 113 + r\or% 114 + \csname krntst@T1@115\endcsname\or % 115 + t\or% 116 + u\or% 117 + v\or% 118 + w\or% 119 + x\or% 120 + y\or% 121 + z\or% 122 + braceleft\or% 123 + bar\or% 124 + braceright\or% 125 + asciitilde\or% 126 + hyphenchar\or% 127 + Abreve\or% 128 + Aogonek\or% 129 + Cacute\or% 130 + Ccaron\or% 131 + Dcaron\or% 132 + Ecaron\or% 133 + Eogonek\or% 134 + Gbreve\or% 135 + Lacute\or% 136 + Lcaron\or% 137 + Lslash\or% 138 + Nacute\or% 139 + Ncaron\or% 140 + Ng\or% 141 + Ohungarumlaut\or% 142 + Racute\or% 143 + Rcaron\or% 144 + Sacute\or% 145 + Scaron\or% 146 + Scedilla\or% 147 + Tcaron\or% 148 + Tcedilla\or% 149 + Uhungarumlaut\or% 150 + Uring\or% 151 + Ydieresis\or% 152 + Zacute\or% 153 + Zcaron\or% 154 + Zdotaccent\or% 155 + \csname krntst@T1@156\endcsname\or % 156 + Idotaccent\or% 157 + dbar\or% 158 + section\or% 159 + abreve\or% 160 + aogonek\or% 161 + cacute\or% 162 + ccaron\or% 163 + dcaron\or% 164 + ecaron\or% 165 + eogonek\or% 166 + gbreve\or% 167 + lacute\or% 168 + lcaron\or% 169 + lslash\or% 170 + nacute\or% 171 + ncaron\or% 172 + ng\or% 173 + ohungarumlaut\or% 174 + racute\or% 175 + rcaron\or% 176 + sacute\or% 177 + scaron\or% 178 + scedilla\or% 179 + tcaron\or% 180 + tcedilla\or% 181 + uhungarumlaut\or% 182 + uring\or% 183 + ydieresis\or% 184 + zacute\or% 185 + zcaron\or% 186 + zdotaccent\or% 187 + \csname krntst@T1@188\endcsname\or % 188 + exclamdown\or% 189 + questiondown\or% 190 + sterling\or% 191 + Agrave\or% 192 + Aacute\or% 193 + Acircumflex\or% 194 + Atilde\or% 195 + Adieresis\or% 196 + Aring\or% 197 + AE\or% 198 + Ccedilla\or% 199 + Egrave\or% 200 + Eacute\or% 201 + Ecircumflex\or% 202 + Edieresis\or% 203 + Igrave\or% 204 + Iacute\or% 205 + Icircumflex\or% 206 + Idieresis\or% 207 + Eth\or% 208 + Ntilde\or% 209 + Ograve\or% 210 + Oacute\or% 211 + Ocircumflex\or% 212 + Otilde\or% 213 + Odieresis\or% 214 + OE\or% 215 + Oslash\or% 216 + Ugrave\or% 217 + Uacute\or% 218 + Ucircumflex\or% 219 + Udieresis\or% 220 + Yacute\or% 221 + Thorn\or% 222 + SS\or% 223 + agrave\or% 224 + aacute\or% 225 + acircumflex\or% 226 + atilde\or% 227 + adieresis\or% 228 + aring\or% 229 + ae\or% 230 + ccedilla\or% 231 + egrave\or% 232 + eacute\or% 233 + ecircumflex\or% 234 + edieresis\or% 235 + igrave\or% 236 + iacute\or% 237 + icircumflex\or% 238 + idieresis\or% 239 + eth\or% 240 + ntilde\or% 241 + ograve\or% 242 + oacute\or% 243 + ocircumflex\or% 244 + otilde\or% 245 + odieresis\or% 246 + oe\or% 247 + oslash\or% 248 + ugrave\or% 249 + uacute\or% 250 + ucircumflex\or% 251 + udieresis\or% 252 + yacute\or% 253 + thorn\or% 254 + germandbls\fi% 255 +} + +\endinput +%% +%% End of file `t1mtx.clo'. diff --git a/Master/texmf-dist/tex/latex/kerntest/t2amtx.clo b/Master/texmf-dist/tex/latex/kerntest/t2amtx.clo new file mode 100644 index 00000000000..1c01e22b2e4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/kerntest/t2amtx.clo @@ -0,0 +1,284 @@ +%% +%% This is file `t2amtx.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kerntest.dtx (with options: `mtx,t2a') +%% +%% kerntest class +%% +%% Copyright 2004 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1.3 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesFile{t2amtx.clo} + [2004/04/14 v1.32 Generate kerning tables] +\newcommand\getpsname[1]{% + \ifcase#1% + grave\or% 000 + acute\or% 001 + circumflex\or% 002 + tilde\or% 003 + dieresis\or% 004 + hungarumlaut\or% 005 + ring\or% 006 + caron\or% 007 + breve\or% 008 + macron\or% 009 + dotaccent\or% 010 + cedilla\or% 011 + ogonek\or% 012 + CYRpalochka\or% 013 + angleleft\or% 014 + angleright\or% 015 + quotedblleft\or% 016 + quotedblright\or% 017 + cyrflex\or% 018 + dblgrave\or% 019 + cyrbreve\or% 020 + rangedash\or% 021 + cyrdash\or% 022 + compwordmark\or% 023 + perthousandzero\or% 024 + dotlessi\or% 025 + dotlessj\or% 026 + ff\or% 027 + fi\or% 028 + fl\or% 029 + ffi\or% 030 + ffl\or% 031 + visiblespace\or% 032 + exclam\or% 033 + quotedbl\or% 034 + numbersign\or% 035 + dollar\or% 036 + percent\or% 037 + ampersand\or% 038 + quoteright\or% 039 + parenleft\or% 040 + parenright\or% 041 + asterisk\or% 042 + plus\or% 043 + comma\or% 044 + hyphen\or% 045 + period\or% 046 + slash\or% 047 + zero\or% 048 + one\or% 049 + two\or% 050 + three\or% 051 + four\or% 052 + five\or% 053 + six\or% 054 + seven\or% 055 + eight\or% 056 + nine\or% 057 + colon\or% 058 + semicolon\or% 059 + less\or% 060 + equal\or% 061 + greater\or% 062 + question\or% 063 + at\or% 064 + A\or% 065 + B\or% 066 + C\or% 067 + D\or% 068 + E\or% 069 + F\or% 070 + G\or% 071 + H\or% 072 + I\or% 073 + J\or% 074 + K\or% 075 + L\or% 076 + M\or% 077 + N\or% 078 + O\or% 079 + P\or% 080 + Q\or% 081 + R\or% 082 + S\or% 083 + T\or% 084 + U\or% 085 + V\or% 086 + W\or% 087 + X\or% 088 + Y\or% 089 + Z\or% 090 + bracketleft\or% 091 + backslash\or% 092 + bracketright\or% 093 + asciicircum\or% 094 + underscore\or% 095 + quoteleft\or% 096 + a\or% 097 + b\or% 098 + c\or% 099 + d\or% 100 + e\or% 101 + f\or% 102 + g\or% 103 + h\or% 104 + i\or% 105 + j\or% 106 + k\or% 107 + l\or% 108 + m\or% 109 + n\or% 110 + o\or% 111 + p\or% 112 + q\or% 113 + r\or% 114 + s\or% 115 + t\or% 116 + u\or% 117 + v\or% 118 + w\or% 119 + x\or% 120 + y\or% 121 + z\or% 122 + braceleft\or% 123 + bar\or% 124 + braceright\or% 125 + asciitilde\or% 126 + hyphenchar\or% 127 + CYRGUP\or% 128 + CYRGHCRS\or% 129 + CYRDJE\or% 130 + CYRTSHE\or% 131 + CYRSHHA\or% 132 + CYRZHDSC\or% 133 + CYRZDSC\or% 134 + CYRLJE\or% 135 + CYRYI\or% 136 + CYRKDSC\or% 137 + CYRKBEAK\or% 138 + CYRKVCRS\or% 139 + CYRAE\or% 140 + CYRNDSC\or% 141 + CYRNG\or% 142 + CYRDZE\or% 143 + CYROTLD\or% 144 + CYRSDSC\or% 145 + CYRUSHRT\or% 146 + CYRY\or% 147 + CYRYHCRS\or% 148 + CYRHDSC\or% 149 + CYRDZHE\or% 150 + CYRCHVCRS\or% 151 + CYRCHRDSC\or% 152 + CYRIE\or% 153 + CYRSCHWA\or% 154 + CYRNJE\or% 155 + CYRYO\or% 156 + numero\or% 157 + currency\or% 158 + section\or% 159 + cyrgup\or% 160 + cyrghcrs\or% 161 + cyrdje\or% 162 + cyrtshe\or% 163 + cyrshha\or% 164 + cyrzhdsc\or% 165 + cyrzdsc\or% 166 + cyrlje\or% 167 + cyryi\or% 168 + cyrkdsc\or% 169 + cyrkbeak\or% 170 + cyrkvcrs\or% 171 + cyrae\or% 172 + cyrndsc\or% 173 + cyrng\or% 174 + cyrdze\or% 175 + cyrotld\or% 176 + cyrsdsc\or% 177 + cyrushrt\or% 178 + cyry\or% 179 + cyryhcrs\or% 180 + cyrhdsc\or% 181 + cyrdzhe\or% 182 + cyrchvcrs\or% 183 + cyrchrdsc\or% 184 + cyrie\or% 185 + cyrschwa\or% 186 + cyrnje\or% 187 + cyryo\or% 188 + quotedblbase\or% 189 + guillemotleft\or% 190 + guillemotright\or% 191 + CYRA\or% 192 + CYRB\or% 193 + CYRV\or% 194 + CYRG\or% 195 + CYRD\or% 196 + CYRE\or% 197 + CYRZH\or% 198 + CYRZ\or% 199 + CYRI\or% 200 + CYRISHRT\or% 201 + CYRK\or% 202 + CYRL\or% 203 + CYRM\or% 204 + CYRN\or% 205 + CYRO\or% 206 + CYRP\or% 207 + CYRR\or% 208 + CYRS\or% 209 + CYRT\or% 210 + CYRU\or% 211 + CYRF\or% 212 + CYRH\or% 213 + CYRC\or% 214 + CYRCH\or% 215 + CYRSH\or% 216 + CYRSHCH\or% 217 + CYRHRDSN\or% 218 + CYRERY\or% 219 + CYRSFTSN\or% 220 + CYREREV\or% 221 + CYRYU\or% 222 + CYRYA\or% 223 + cyra\or% 224 + cyrb\or% 225 + cyrv\or% 226 + cyrg\or% 227 + cyrd\or% 228 + cyre\or% 229 + cyrzh\or% 230 + cyrz\or% 231 + cyri\or% 232 + cyrishrt\or% 233 + cyrk\or% 234 + cyrl\or% 235 + cyrm\or% 236 + cyrn\or% 237 + cyro\or% 238 + cyrp\or% 239 + cyrr\or% 240 + cyrs\or% 241 + cyrt\or% 242 + cyru\or% 243 + cyrf\or% 244 + cyrh\or% 245 + cyrc\or% 246 + cyrch\or% 247 + cyrsh\or% 248 + cyrshch\or% 249 + cyrhrdsn\or% 250 + cyrery\or% 251 + cyrsftsn\or% 252 + cyrerev\or% 253 + cyryu\or% 254 + cyrya\fi% 255 +} + +\endinput +%% +%% End of file `t2amtx.clo'. diff --git a/Master/texmf-dist/tex/latex/kerntest/t2bmtx.clo b/Master/texmf-dist/tex/latex/kerntest/t2bmtx.clo new file mode 100644 index 00000000000..c7d044ad499 --- /dev/null +++ b/Master/texmf-dist/tex/latex/kerntest/t2bmtx.clo @@ -0,0 +1,284 @@ +%% +%% This is file `t2bmtx.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kerntest.dtx (with options: `mtx,t2b') +%% +%% kerntest class +%% +%% Copyright 2004 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1.3 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesFile{t2bmtx.clo} + [2004/04/14 v1.32 Generate kerning tables] +\newcommand\getpsname[1]{% + \ifcase#1% + grave\or% 000 + acute\or% 001 + circumflex\or% 002 + tilde\or% 003 + dieresis\or% 004 + hungarumlaut\or% 005 + ring\or% 006 + caron\or% 007 + breve\or% 008 + macron\or% 009 + dotaccent\or% 010 + cedilla\or% 011 + ogonek\or% 012 + CYRpalochka\or% 013 + angleleft\or% 014 + angleright\or% 015 + quotedblleft\or% 016 + quotedblright\or% 017 + cyrflex\or% 018 + dblgrave\or% 019 + cyrbreve\or% 020 + rangedash\or% 021 + cyrdash\or% 022 + compwordmark\or% 023 + perthousandzero\or% 024 + dotlessi\or% 025 + dotlessj\or% 026 + ff\or% 027 + fi\or% 028 + fl\or% 029 + ffi\or% 030 + ffl\or% 031 + visiblespace\or% 032 + exclam\or% 033 + quotedbl\or% 034 + numbersign\or% 035 + dollar\or% 036 + percent\or% 037 + ampersand\or% 038 + quoteright\or% 039 + parenleft\or% 040 + parenright\or% 041 + asterisk\or% 042 + plus\or% 043 + comma\or% 044 + hyphen\or% 045 + period\or% 046 + slash\or% 047 + zero\or% 048 + one\or% 049 + two\or% 050 + three\or% 051 + four\or% 052 + five\or% 053 + six\or% 054 + seven\or% 055 + eight\or% 056 + nine\or% 057 + colon\or% 058 + semicolon\or% 059 + less\or% 060 + equal\or% 061 + greater\or% 062 + question\or% 063 + at\or% 064 + A\or% 065 + B\or% 066 + C\or% 067 + D\or% 068 + E\or% 069 + F\or% 070 + G\or% 071 + H\or% 072 + I\or% 073 + J\or% 074 + K\or% 075 + L\or% 076 + M\or% 077 + N\or% 078 + O\or% 079 + P\or% 080 + Q\or% 081 + R\or% 082 + S\or% 083 + T\or% 084 + U\or% 085 + V\or% 086 + W\or% 087 + X\or% 088 + Y\or% 089 + Z\or% 090 + bracketleft\or% 091 + backslash\or% 092 + bracketright\or% 093 + asciicircum\or% 094 + underscore\or% 095 + quoteleft\or% 096 + a\or% 097 + b\or% 098 + c\or% 099 + d\or% 100 + e\or% 101 + f\or% 102 + g\or% 103 + h\or% 104 + i\or% 105 + j\or% 106 + k\or% 107 + l\or% 108 + m\or% 109 + n\or% 110 + o\or% 111 + p\or% 112 + q\or% 113 + r\or% 114 + s\or% 115 + t\or% 116 + u\or% 117 + v\or% 118 + w\or% 119 + x\or% 120 + y\or% 121 + z\or% 122 + braceleft\or% 123 + bar\or% 124 + braceright\or% 125 + asciitilde\or% 126 + hyphenchar\or% 127 + CYRGDSCHCRS\or% 128 + CYRGHCRS\or% 129 + CYRGDSC\or% 130 + CYRGHK\or% 131 + CYRSHHA\or% 132 + CYRZHDSC\or% 133 + CYRDELTA\or% 134 + CYRABHDZE\or% 135 + CYRLJE\or% 136 + CYRKDSC\or% 137 + CYRLDSC\or% 138 + CYRKHK\or% 139 + CYRLHK\or% 140 + CYRNDSC\or% 141 + CYRNG\or% 142 + CYRNHK\or% 143 + CYROTLD\or% 144 + CYRSACRS\or% 145 + CYRUSHRT\or% 146 + CYRY\or% 147 + CYRHHCRS\or% 148 + CYRHDSC\or% 149 + CYRHHK\or% 150 + CYRCHLDSC\or% 151 + CYRCHRDSC\or% 152 + CYRNJE\or% 153 + CYRSCHWA\or% 154 + CYREPS\or% 155 + CYRYO\or% 156 + numero\or% 157 + currency\or% 158 + section\or% 159 + cyrgdschcrs\or% 160 + cyrghcrs\or% 161 + cyrgdsc\or% 162 + cyrghk\or% 163 + cyrshha\or% 164 + cyrzhdsc\or% 165 + cyrdelta\or% 166 + cyrabhdze\or% 167 + cyrlje\or% 168 + cyrkdsc\or% 169 + cyrldsc\or% 170 + cyrkhk\or% 171 + cyrlhk\or% 172 + cyrndsc\or% 173 + cyrng\or% 174 + cyrnhk\or% 175 + cyrotld\or% 176 + cyrsacrs\or% 177 + cyrushrt\or% 178 + cyry\or% 179 + cyrhhcrs\or% 180 + cyrhdsc\or% 181 + cyrhhk\or% 182 + cyrchldsc\or% 183 + cyrchrdsc\or% 184 + cyrnje\or% 185 + cyrschwa\or% 186 + cyreps\or% 187 + cyryo\or% 188 + quotedblbase\or% 189 + guillemotleft\or% 190 + guillemotright\or% 191 + CYRA\or% 192 + CYRB\or% 193 + CYRV\or% 194 + CYRG\or% 195 + CYRD\or% 196 + CYRE\or% 197 + CYRZH\or% 198 + CYRZ\or% 199 + CYRI\or% 200 + CYRISHRT\or% 201 + CYRK\or% 202 + CYRL\or% 203 + CYRM\or% 204 + CYRN\or% 205 + CYRO\or% 206 + CYRP\or% 207 + CYRR\or% 208 + CYRS\or% 209 + CYRT\or% 210 + CYRU\or% 211 + CYRF\or% 212 + CYRH\or% 213 + CYRC\or% 214 + CYRCH\or% 215 + CYRSH\or% 216 + CYRSHCH\or% 217 + CYRHRDSN\or% 218 + CYRERY\or% 219 + CYRSFTSN\or% 220 + CYREREV\or% 221 + CYRYU\or% 222 + CYRYA\or% 223 + cyra\or% 224 + cyrb\or% 225 + cyrv\or% 226 + cyrg\or% 227 + cyrd\or% 228 + cyre\or% 229 + cyrzh\or% 230 + cyrz\or% 231 + cyri\or% 232 + cyrishrt\or% 233 + cyrk\or% 234 + cyrl\or% 235 + cyrm\or% 236 + cyrn\or% 237 + cyro\or% 238 + cyrp\or% 239 + cyrr\or% 240 + cyrs\or% 241 + cyrt\or% 242 + cyru\or% 243 + cyrf\or% 244 + cyrh\or% 245 + cyrc\or% 246 + cyrch\or% 247 + cyrsh\or% 248 + cyrshch\or% 249 + cyrhrdsn\or% 250 + cyrery\or% 251 + cyrsftsn\or% 252 + cyrerev\or% 253 + cyryu\or% 254 + cyrya\fi% 255 +} + +\endinput +%% +%% End of file `t2bmtx.clo'. diff --git a/Master/texmf-dist/tex/latex/kerntest/ts1mtx.clo b/Master/texmf-dist/tex/latex/kerntest/ts1mtx.clo new file mode 100644 index 00000000000..b6f20a6a505 --- /dev/null +++ b/Master/texmf-dist/tex/latex/kerntest/ts1mtx.clo @@ -0,0 +1,284 @@ +%% +%% This is file `ts1mtx.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kerntest.dtx (with options: `mtx,ts1') +%% +%% kerntest class +%% +%% Copyright 2004 Harald Harders +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1.3 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +\ProvidesFile{ts1mtx.clo} + [2004/04/14 v1.32 Generate kerning tables] +\newcommand\getpsname[1]{% + \ifcase#1% + capitalgrave\or% 000 + capitalacute\or% 001 + capitalcircumflex\or% 002 + capitaltilde\or% 003 + capitaldieresis\or% 004 + capitalhungarumlaut\or% 005 + capitalring\or% 006 + capitalcaron\or% 007 + capitalbreve\or% 008 + capitalmacron\or% 009 + capitaldotaccent\or% 010 + cedilla\or% 011 + ogonek\or% 012 + quotesinglbase\or% 013 + .notdef.014\or% 014 + .notdef.015\or% 015 + .notdef.016\or% 016 + .notdef.017\or% 017 + quotedblbase\or% 018 + .notdef.019\or% 019 + .notdef.020\or% 020 + twelveudash\or% 021 + threequartersemdash\or% 022 + capitalcompwordmark\or% 023 + arrowleft\or% 024 + arrowright\or% 025 + tieaccentlowercase\or% 026 + tieaccentcapital\or% 027 + newtieaccentlowercase\or% 028 + newtieaccentcapital\or% 029 + ascendercompwordmark\or% 030 + blank\or% 031 + .notdef.032\or% 032 + .notdef.033\or% 033 + .notdef.034\or% 034 + .notdef.035\or% 035 + dollar\or% 036 + .notdef.037\or% 037 + .notdef.038\or% 038 + quotesingle\or% 039 + .notdef.040\or% 040 + .notdef.041\or% 041 + asteriskcentered\or% 042 + .notdef.043\or% 043 + comma\or% 044 + hyphendbl\or% 045 + period\or% 046 + fraction\or% 047 + zerooldstyle\or% 048 + oneoldstyle\or% 049 + twooldstyle\or% 050 + threeoldstyle\or% 051 + fouroldstyle\or% 052 + fiveoldstyle\or% 053 + sixoldstyle\or% 054 + sevenoldstyle\or% 055 + eightoldstyle\or% 056 + nineoldstyle\or% 057 + .notdef.058\or% 058 + .notdef.059\or% 059 + angbracketleft\or% 060 + minus\or% 061 + angbracketright\or% 062 + .notdef.063\or% 063 + .notdef.064\or% 064 + .notdef.065\or% 065 + .notdef.066\or% 066 + .notdef.067\or% 067 + .notdef.068\or% 068 + .notdef.069\or% 069 + .notdef.070\or% 070 + .notdef.071\or% 071 + .notdef.072\or% 072 + .notdef.073\or% 073 + .notdef.074\or% 074 + .notdef.075\or% 075 + .notdef.076\or% 076 + Omegainv\or% 077 + .notdef.078\or% 078 + bigcircle\or% 079 + .notdef.080\or% 080 + .notdef.081\or% 081 + .notdef.082\or% 082 + .notdef.083\or% 083 + .notdef.084\or% 084 + .notdef.085\or% 085 + .notdef.086\or% 086 + Omega\or% 087 + .notdef.088\or% 088 + .notdef.089\or% 089 + .notdef.090\or% 090 + openbracketleft\or% 091 + .notdef.092\or% 092 + openbracketright\or% 093 + arrowup\or% 094 + arrowdown\or% 095 + asciigrave\or% 096 + .notdef.097\or% 097 + born\or% 098 + divorced\or% 099 + died\or% 100 + .notdef.101\or% 101 + .notdef.102\or% 102 + .notdef.103\or% 103 + .notdef.104\or% 104 + .notdef.105\or% 105 + .notdef.106\or% 106 + .notdef.107\or% 107 + leaf\or% 108 + married\or% 109 + musicalnote\or% 110 + .notdef.111\or% 111 + .notdef.112\or% 112 + .notdef.113\or% 113 + .notdef.114\or% 114 + .notdef.115\or% 115 + .notdef.116\or% 116 + .notdef.117\or% 117 + .notdef.118\or% 118 + .notdef.119\or% 119 + .notdef.120\or% 120 + .notdef.121\or% 121 + .notdef.122\or% 122 + .notdef.123\or% 123 + .notdef.124\or% 124 + .notdef.125\or% 125 + tildelow\or% 126 + hyphendblchar\or% 127 + asciibreve\or% 128 + asciicaron\or% 129 + asciiacutedbl\or% 130 + asciigravedbl\or% 131 + dagger\or% 132 + daggerdbl\or% 133 + bardbl\or% 134 + perthousand\or% 135 + bullet\or% 136 + centigrade\or% 137 + dollaroldstyle\or% 138 + centoldstyle\or% 139 + florin\or% 140 + colonmonetary\or% 141 + won\or% 142 + naira\or% 143 + guarani\or% 144 + peso\or% 145 + lira\or% 146 + recipe\or% 147 + interrobang\or% 148 + interrobangdown\or% 149 + dong\or% 150 + trademark\or% 151 + pertenthousand\or% 152 + pilcrow\or% 153 + baht\or% 154 + numero\or% 155 + discount\or% 156 + estimated\or% 157 + openbullet\or% 158 + servicemark\or% 159 + quillbracketleft\or% 160 + quillbracketright\or% 161 + cent\or% 162 + sterling\or% 163 + currency\or% 164 + yen\or% 165 + brokenbar\or% 166 + section\or% 167 + asciidieresis\or% 168 + copyright\or% 169 + ordfeminine\or% 170 + copyleft\or% 171 + logicalnot\or% 172 + circledP\or% 173 + registered\or% 174 + asciimacron\or% 175 + degree\or% 176 + plusminus\or% 177 + twosuperior\or% 178 + threesuperior\or% 179 + asciiacute\or% 180 + mu\or% 181 + paragraph\or% 182 + periodcentered\or% 183 + referencemark\or% 184 + onesuperior\or% 185 + ordmasculine\or% 186 + radical\or% 187 + onequarter\or% 188 + onehalf\or% 189 + threequarters\or% 190 + euro\or% 191 + .notdef.192\or% 192 + .notdef.193\or% 193 + .notdef.194\or% 194 + .notdef.195\or% 195 + .notdef.196\or% 196 + .notdef.197\or% 197 + .notdef.198\or% 198 + .notdef.199\or% 199 + .notdef.200\or% 200 + .notdef.201\or% 201 + .notdef.202\or% 202 + .notdef.203\or% 203 + .notdef.204\or% 204 + .notdef.205\or% 205 + .notdef.206\or% 206 + .notdef.207\or% 207 + .notdef.208\or% 208 + .notdef.209\or% 209 + .notdef.210\or% 210 + .notdef.211\or% 211 + .notdef.212\or% 212 + .notdef.213\or% 213 + multiply\or% 214 + .notdef.215\or% 215 + .notdef.216\or% 216 + .notdef.217\or% 217 + .notdef.218\or% 218 + .notdef.219\or% 219 + .notdef.220\or% 220 + .notdef.221\or% 221 + .notdef.222\or% 222 + .notdef.223\or% 223 + .notdef.224\or% 224 + .notdef.225\or% 225 + .notdef.226\or% 226 + .notdef.227\or% 227 + .notdef.228\or% 228 + .notdef.229\or% 229 + .notdef.230\or% 230 + .notdef.231\or% 231 + .notdef.232\or% 232 + .notdef.233\or% 233 + .notdef.234\or% 234 + .notdef.235\or% 235 + .notdef.236\or% 236 + .notdef.237\or% 237 + .notdef.238\or% 238 + .notdef.239\or% 239 + .notdef.240\or% 240 + .notdef.241\or% 241 + .notdef.242\or% 242 + .notdef.243\or% 243 + .notdef.244\or% 244 + .notdef.245\or% 245 + divide\or% 246 + .notdef.247\or% 247 + .notdef.248\or% 248 + .notdef.249\or% 249 + .notdef.250\or% 250 + .notdef.251\or% 251 + .notdef.252\or% 252 + .notdef.253\or% 253 + .notdef.254\or% 254 + .notdef.255\fi% 255 +} + +\endinput +%% +%% End of file `ts1mtx.clo'. |