% \iffalse meta-comment % % Copyright (C) 1994 Jiri Zlatuska and LaTeX3 project. All rights reserved. % For additional copyright information see further down in this file. % % This system is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % % You are not allowed to change this file. % % You are NOT ALLOWED to take money for the distribution or use % of either this file or a changed version, except for a nominal % charge for copying etc. % \fi \def\fileversion{v2.3-cs} \def\filedate{1994/07/23} \def\docdate {1993/12/09} % \CheckSum{0} % %\iffalse This is a META comment % % File `csfontskoi.fdd'. % Copyright (C) 1994 Jiri Zlatuska. % Copyright (C) 1989-1994 Frank Mittelbach and Rainer Sch\"opf, % all rights reserved. % %\fi % % % \changes{v2.3-cs}{1994/02/27}{Capitalized prefix for % KOI-encoded cs fonts: cs-->CS} % \changes{v2.2-cs}{1994/02/27}{Derived for cs* fonts from % cmfonts.fdd} % \changes{v2.2f}{1994/02/07}{Added missing size 10.95 for % cmr/b/n and cmr/m/ui.} % \changes{v2.2e}{94/02/02}{Corrected encoding scheme U.} % \changes{v2.2d}{94/01/27}{Replaced most ssub with sub} % \changes{v2.2a}{93/12/13}{Removed \cmd{CodelineIndex} from the % driver code.} % % \changes{v2.1a}{93/10/17}{Shape u renamed to ui.} % \changes{v2.1a}{93/10/17}{File renamed to cmfonts.fdd.} % % % \title{The \texttt{csfonts.fdd} file\thanks % {This file has version number \fileversion, dated \filedate. % The documentation was last revised on \docdate}\\ % for use with \LaTeXe} % % \author{Ji\v r\'i Zlatu\v ska\thanks{% % based on \texttt{cmfonts.fdd} by % Frank Mittelbach and Rainer Sch\"opf}} % % \def\dst{{\normalfont\scshape docstrip}} % \setcounter{StandardModuleDepth}{1} % % % \maketitle % % \section{Introduction} % % This file contains the external font information needed to load % Czech extension of the Computer Modern fonts for KOI-8cs font % encoding. % % From this file all {\tt family.fd} files (font definition files) for % the Computer Modern fonts with KOI8-cs encoding (|KOI|) are % generated. % % The font files generated from this file are supposed to % supplement or supersede font files from the Latex2e distribution. % For |U| encoding, fonts with |KOI| encoding are chosen as far as % their layout agrees in lower 128 positions. % % \section{Customization} % % If you plan to install the AMS font package or if you have it % already installed, please note that within this package there are % additional sizes of the Computer Modern symbol and math italic % fonts. You should therefore use the |.fd| files from AMS package in % cases where they overlap with this basic set. These are the files: % \begin{quote} % |OT1cmsy.fd| and |OT1cmm.fd| % \end{quote} % % By default the font definition files are generated conservatively, % which means that only the basic font sizes coming with a normal % \LaTeX{} installation are included into the |\DeclareFontShape| % commands. However, on many installations, people have added missing % sizes by scaling up or down available Metafont sources. For example, % the Computer Modern Roman italic font |cmti| is only available in % the sizes 7, 8, 9, and 10pt. Nevertheless one could generate it for % the sizes 5, and 6pt by using the source from |cmti7| scaled % downwards. The enlarged font set can be generated if the \dst{} % directive |ori| is not used. When you generate the |.fd| files using % the installation script |csfonts.ins| you will be asked if you want % to get the enlarged font set and afterwards the installation script % runs through statements like % \begin{verbatim} % \generateFile{KOIcmr.fd}{t}{\from{csfonts.fdd}{KOIcmr}} %\end{verbatim} % rather than % \begin{verbatim} % \generateFile{KOIcmr.fd}{t}{\from{csfonts.fdd}{KOIcmr,ori}} %\end{verbatim} % % \StopEventually{} % % \section{The \texttt{docstrip} modules} % % The following modules are used to direct \texttt{docstrip} in % generating external files: % \begin{center} % \begin{tabular}{ll} % driver & produce a documentation driver file \\ % ori & make conservative |.fd| files\\ % fd & produce a font definition file \\[2pt] % KOIccr & make Concrete Roman (old encoding) \\ % KOIcmdh & make Computer Modern Dunhill (old encoding)\\ % KOIcmfib & make Computer Modern Fibonacci (old encoding)\\ % KOIcmfr & make Computer Modern Funny (old encoding)\\ % KOIcmr & make Computer Modern Roman (old encoding)\\ % KOIcmss & make Computer Modern Sans (old encoding)\\ % KOIcmtt & make Computer Modern Typewriter (old encoding)\\ % Ucmr & make Computer Modern Roman (unknown encoding)\\ % Ucmss & make Computer Modern Sans (unknown encoding)\\ % Ucmtt & make Computer Modern Typewriter (unknown encoding)\\ % \end{tabular} % \end{center} % A typical \texttt{docstrip} command file would then have entries like: % \begin{verbatim} %\generateFile{KOIcmr.fd}{t}{\from{csfonts.fdd}{fd,KOIcmr}} %\end{verbatim} % % % \section{The font definition files} % % As always we begin by identifying the latest version of the files % in the \textsf{log} file. The explicit spaces are necessary in an % |.fd| file and the |\string| guards against situations where |`|, % |<| or |>| is active. % \begin{macrocode} %<*fd> \wlog{Fontdef\space file\space produced\space from\string:\space \string`csfonts.fdd\string'\space \fileversion\space \string<\filedate\string\string>\space \string(FMi\space and\space RmS\string)} % % \end{macrocode} % % \subsection{Fonts with the KOI-8cs Czech (and Slovak) \TeX{} % text encoding (\texttt{KOI})} % % Note that in contrast to the Cork encoding, which is fully % defined, the old \TeX{} text encoding isn't implemented consistent % within all fonts. Most noticeably is that a dollar sign (\$) in % some fonts is replaced by a pound symbol (\pounds) in others, % which produced quite a number of bug fixes in the NFSS1. Also the % typewriter fonts contain a few different characters which are not % present in other fonts. % % If one would use the philosophy of NFSS2 consequently all these % would therefore be different encodings and font mixing would % therefore be nearly impossible with older fonts. Therefore such % encodings are considered the same but one should be remember that % in some situations this may cause problems. % % In other words, use |T1| encoding whenever possible, the |OT..| % encodings will be removed in some future release. % % \subsubsection{Computer Modern Roman (\texttt{KOI})} % % Beside the |KOI| encoding we also define the same family as |U| % encoded which is used for accepting old sources with stuff like % |\newmathalphabet| in it. % \begin{macrocode} %<*KOIcmr,Ucmr> %<+KOIcmr>\DeclareFontFamily{KOI}{cmr}{} %<+Ucmr>\DeclareFontFamily{U}{cmr}{} %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{m}{n} %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{n} { <5> <6> <7> <8> <9> <10> <12> gen * CSr <10.95> CSr10 <14.4> CSr12 <17.28><20.74><24.88>CSr17}{} %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{m}{sl} %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{sl} { %<+ori> <5-8>sub*cmr/m/n% %<-ori> <5><6><7>CSsl8% <8> <9> gen * CSsl <10><10.95>CSsl10% <12><14.4><17.28><20.74><24.88>CSsl12% }{} %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{m}{it} %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{it} { %<+ori> <5-7>sub*cmr/m/n% %<+ori> <7>CSti7% %<-ori> <5><6><7>CSti7% <8>CSti8% <9>CSti9% <10><10.95>CSti10% <12><14.4><17.28><20.74><24.88>CSti12% }{} %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{m}{sc} %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{sc} { %<+ori> <5-8>sub * cmr/m/n %<+ori> <8><9><10><10.95><12> %<+ori> <14.4><17.28><20.74><24.88> CScsc10 %<-ori> <5><6><7><8><9><10><10.95><12> %<-ori> <14.4><17.28><20.74><24.88> CScsc10 }{} % \end{macrocode} % Here we try to cure the famous \$ $\to$ \pounds bug: % \changes{v2.2c}{94/01/18}{Corrected forgotten renaming of font % shape u to ui in substitution.} % \begin{macrocode} %<+KOIcmr,Ucmr>% Warning: please note that the upright shape below is %<+KOIcmr,Ucmr>% used for the \pounds symbol of LaTeX. So this %<+KOIcmr,Ucmr>% font definition shouldn't be removed. %<+KOIcmr,Ucmr>% %<+ori>% If csu below 10pt is not available we substitute %<+ori>% csti as far as possible (sizes 7, 8, 9). This is %<+ori>% done because csu is used mainly for producing the %<+ori>% the \pound symbol and it is better to get a slanted %<+ori>% (or bigger) pound then to get a $ sign in such %<+ori>% situations. %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{m}{ui} %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{ui} { %<+ori> <7> subf *CSti7% %<+ori> <8> subf *CSti8% %<+ori> <9> subf *CSti9% %<+ori> <10><10.95><12><14.4><17.28><20.74><24.88>CSu10% %<-ori> <5><6><7><8><9><10><10.95><12>% %<-ori> <14.4><17.28><20.74><24.88>CSu10% }{} %<+KOIcmr,Ucmr>%%%%%%% bold series %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{b}{n} %<+Ucmr>\DeclareFontShape{U}{cmr}{b}{n} { %<+ori> <-10> sub * cmr/bx/n %<+ori> <10><10.95><12><14.4><17.28><20.74><24.88> CSb10 %<-ori> <5><6><7><8><9><10><10.95><12> %<-ori> <14.4><17.28><20.74><24.88> CSb10 }{} %<+KOIcmr,Ucmr>%%%%%%%% bold extended series %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{bx}{n} %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{n} { <5> <6> <7> <8> <9> gen * CSbx <10><10.95> CSbx10 <12><14.4><17.28><20.74><24.88>CSbx12 }{} %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{bx}{sl} %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{sl} { %<+ori> <-10> sub* cmr/bx/n %<+ori> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CSbxsl10 %<-ori> <5> <6> <7> <8> <9> %<-ori> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CSbxsl10 }{} %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{bx}{it} %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{it} { %<+ori> <-10>sub * cmr/bx/n %<+ori> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CSbxti10 %<-ori> <5> <6> <7> <8> <9> %<-ori> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CSbxti10 }{} %<+KOIcmr,Ucmr>% Again this is necessary for a correct \pounds symbol in %<+KOIcmr,Ucmr>% the csr fonts Hopefully the dc/ec font layout will take %<+KOIcmr,Ucmr>% over soon. %<+KOIcmr,Ucmr>% %<+KOIcmr>\DeclareFontShape{KOI}{cmr}{bx}{ui} %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{ui} %<+nowarn> {<->sub * cmr/m/ui}{} %<-nowarn> {<->ssub * cmr/m/ui}{} % % \end{macrocode} % % \subsubsection{Computer Modern Sans (\texttt{KOI})} % % Same game for the Sans family. % \begin{macrocode} %<*KOIcmss,Ucmss> %<+KOIcmss>\DeclareFontFamily{KOI}{cmss}{} %<+Ucmss>\DeclareFontFamily{U}{cmss}{} %<+KOIcmss>\DeclareFontShape{KOI}{cmss}{m}{n} %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{n} { %<+ori> <-8>sub*cmr/m/n %<+ori> <8>CSss8 %<-ori> <5><6><7><8>CSss8 <9>CSss9 <10><10.95>CSss10 <12><14.4>CSss12 <17.28><20.74><24.88>CSss17 }{} %<+KOIcmss,Ucmss>% Font undefined, therefore substituted %<+KOIcmss>\DeclareFontShape{KOI}{cmss}{m}{it} %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{it} %<-nowarn> {<->sub*cmss/m/sl}{} %<+nowarn> {<->ssub*cmss/m/sl}{} %<+KOIcmss>\DeclareFontShape{KOI}{cmss}{m}{sl} %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{sl} { %<+ori> <-8>sub*cmss/m/n %<+ori> <8> <9> gen * CSssi %<-ori> <5><6><7><8>CSssi8 <9> CSssi9 <10><10.95>CSssi10 <12><14.4>CSssi12 <17.28><20.74><24.88>CSssi17 }{} %<+KOIcmss,Ucmss>%%%%%%% Font/shape undefined, therefore substituted %<+KOIcmss>\DeclareFontShape{KOI}{cmss}{m}{sc} %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{sc} {<->sub*cmr/m/sc}{} %<+KOIcmss,Ucmss>%%%%%%%% semibold condensed series %<+KOIcmss>\DeclareFontShape{KOI}{cmss}{sbc}{n} %<+Ucmss>\DeclareFontShape{U}{cmss}{sbc}{n} { %<+ori> <-10> sub * cmss/m/n %<-ori> <5> <6> <7> <8> <9> CSssdc10 <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>CSssdc10 }{} %<+KOIcmss,Ucmss>%%%%%%%%% bold extended series %<+KOIcmss>\DeclareFontShape{KOI}{cmss}{bx}{n} %<+Ucmss>\DeclareFontShape{U}{cmss}{bx}{n} { %<+ori> <-10> sub * cmss/m/n %<-ori> <5> <6> <7> <8> <9> CSssbx10 <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CSssbx10 }{} % % \end{macrocode} % % \subsubsection{Computer Modern Typewriter (\texttt{KOI})} % % Notice that this encoding is in fact quite different and we % shouldn't therefore substitute some other font group if the % correct size or shape isn't available. Otherwise, we may end with % a |\verb| suddenly producing a lot of funny chars instead of the % desired ones. % \begin{macrocode} %<*KOIcmtt,Ucmtt> %<+KOIcmtt>\DeclareFontFamily{KOI}{cmtt}{\hyphenchar \font\m@ne} %<+Ucmtt>\DeclareFontFamily{U}{cmtt}{\hyphenchar \font\m@ne} %<+KOIcmtt>\DeclareFontShape{KOI}{cmtt}{m}{n} %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{n} { % \end{macrocode} % This substitution for |ori| is wrong and only in here because % that was the way stuff has be set up in the old |lfonts.tex| file. % \begin{macrocode} %<+ori> <-8>sub*cmr/m/n %<+ori> <8> <9> gen * CStt %<-ori> <5><6><7><8>CStt8 <9> CStt9 <10><10.95>CStt10 <12><14.4><17.28><20.74><24.88>CStt12 }{} %<+KOIcmtt,Ucmtt>%%%%%% make sure subst shapes are available %<+KOIcmtt>\DeclareFontShape{KOI}{cmtt}{m}{it} %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{it} { % \end{macrocode} % The following substitution however is okay since both fonts have % the same encoding. % \begin{macrocode} %<+ori> <-10>sub*cmtt/m/n %<-ori> <5> <6> <7> <8> <9> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CSitt10 }{} %<+KOIcmtt>\DeclareFontShape{KOI}{cmtt}{m}{sl} %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{sl} { %<+ori> <-10>sub*cmtt/m/n %<-ori> <5> <6> <7> <8> <9> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CSsltt10 }{} %<+KOIcmtt>\DeclareFontShape{KOI}{cmtt}{m}{sc} %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{sc} { %<+ori> <-10>sub*cmtt/m/n %<-ori> <5> <6> <7> <8> <9> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> CStcsc10 }{} %<+KOIcmtt>\DeclareFontShape{KOI}{cmtt}{bx}{n} %<+Ucmtt>\DeclareFontShape{U}{cmtt}{bx}{n} %<-nowarn> {<->sub * cmtt/m/n}{} %<+nowarn> {<->ssub * cmtt/m/n}{} %<+KOIcmtt>\DeclareFontShape{KOI}{cmtt}{bx}{it} %<+Ucmtt>\DeclareFontShape{U}{cmtt}{bx}{it} %<-nowarn> {<->sub * cmtt/m/it}{} %<+nowarn> {<->ssub * cmtt/m/it}{} % % \end{macrocode} % % \subsubsection{Computer Modern Funny (\texttt{KOI})} % % \begin{macrocode} %<*KOIcmfr> \DeclareFontFamily{KOI}{cmfr}{} \DeclareFontShape{KOI}{cmfr}{m}{n}{% <10> CSff10 }{} \DeclareFontShape{KOI}{cmfr}{m}{it}{% <10> CSfi10 }{} % % \end{macrocode} % % \subsubsection{Computer Modern Dunhill (\texttt{KOI})} % % \begin{macrocode} %<*KOIcmdh> \DeclareFontFamily{KOI}{cmdh}{} \DeclareFontShape{KOI}{cmdh}{m}{n}{ <10> CSdunh10 }{} % % \end{macrocode} % % \subsubsection{Computer Modern Fibonacci (\texttt{KOI})} % % \begin{macrocode} %<*KOIcmfib> \DeclareFontFamily{KOI}{cmfib}{} \DeclareFontShape{KOI}{cmfib}{m}{n}{ <8> CSfib8 }{} % % \end{macrocode} % % \subsection{Concrete Roman} % % \begin{macrocode} %<*KOIccr> \DeclareFontFamily{KOI}{ccr}{}{} \DeclareFontShape{KOI}{ccr}{m}{n}{% <5> <6> <7> <8> <9> <10> gen * cscr <10.95> <12> <14.4> <17.28> <20.74> <24.88>cscr10}{} \DeclareFontShape{KOI}{ccr}{m}{it}{ % \changes{v2.0-cs}{94/02/27}{Added magnifications} <5> <6> <7> <8> <9> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>cscti10}{} \DeclareFontShape{KOI}{ccr}{m}{sc}{ <10> <10.95> <12> csccsc10 }{} \DeclareFontShape{KOI}{ccr}{c}{sl}{<9>cscslc9}{} % \end{macrocode} % Finally a few substitution fonts for combinations not available. % \changes{v2.0f}{93/09/24}{Added substitution fonts} % \begin{macrocode} \DeclareFontShape{KOI}{ccr}{bx}{sl} {<->sub * cmr/bx/it }{} \DeclareFontShape{KOI}{ccr}{bx}{n} {<->sub * cmr/bx/n }{} \DeclareFontShape{KOI}{ccr}{bx}{it} {<->sub * cmr/bx/it }{} % % \end{macrocode} % % % % \section{A driver for this document} % % The next bit of code contains the documentation driver file for % \TeX{}, i.e., the file that will produce the documentation you are % currently reading. It will be extracted from this file by the % \dst{} program. % \begin{macrocode} %<*driver> \documentclass{ltxdoc} \DisableCrossrefs %\OnlyDescription % comment out for implementation details \begin{document} \DocInput{csfonts.fdd} \end{document} % % \end{macrocode} % % % The next line goes into all files and in addition prevents \dst{} % from adding any further code from the main source file (such as a % character table. % \begin{macrocode} \endinput % \end{macrocode} % % % \Finale % %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~}