From 52f01b2f769ac290674a469d46f149985042ee2e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 01:53:50 +0000 Subject: trunk/Master/texmf-dist/mft git-svn-id: svn://tug.org/texlive/trunk@91 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/mft/base/README | 2 + Master/texmf-dist/mft/base/cmbase.mft | 76 +++++++++++++++++++++++ Master/texmf-dist/mft/base/e.mft | 33 ++++++++++ Master/texmf-dist/mft/base/mplain.mft | 91 ++++++++++++++++++++++++++++ Master/texmf-dist/mft/base/pl.mft | 111 ++++++++++++++++++++++++++++++++++ Master/texmf-dist/mft/base/plain.mft | 26 ++++++++ 6 files changed, 339 insertions(+) create mode 100644 Master/texmf-dist/mft/base/README create mode 100644 Master/texmf-dist/mft/base/cmbase.mft create mode 100644 Master/texmf-dist/mft/base/e.mft create mode 100644 Master/texmf-dist/mft/base/mplain.mft create mode 100644 Master/texmf-dist/mft/base/pl.mft create mode 100644 Master/texmf-dist/mft/base/plain.mft diff --git a/Master/texmf-dist/mft/base/README b/Master/texmf-dist/mft/base/README new file mode 100644 index 00000000000..f9f9e270b46 --- /dev/null +++ b/Master/texmf-dist/mft/base/README @@ -0,0 +1,2 @@ +e.mft from local/lib. +All others from lib. diff --git a/Master/texmf-dist/mft/base/cmbase.mft b/Master/texmf-dist/mft/base/cmbase.mft new file mode 100644 index 00000000000..3a08ded31d1 --- /dev/null +++ b/Master/texmf-dist/mft/base/cmbase.mft @@ -0,0 +1,76 @@ +%%%% MFT commands for the Computer Modern base +%%% } ( ) ]] {{ }} ! ^ %%%% tokens that need no special formatting +%%% step upto downto %%%% boldface binary operators +%%% addto fill unfill draw undraw %%%% boldface unary operators +%%% addto filldraw unfilldraw drawdot undrawdot erase pickup +%%% addto exitunless stop incr decr proofrulethickness screenrule +%%% addto define_pixels define_whole_pixels define_whole_vertical_pixels +%%% addto define_blacker_pixels define_whole_blacker_pixels +%%% addto define_corrected_pixels lowres_fix proofoffset penstroke +%%% addto beginchar beginarithchar italcorr font_size font_slant +%%% addto font_normal_space font_normal_stretch font_normal_shrink font_quad +%%% addto font_x_height font_extra_space font_identifier font_coding_scheme +%%% addto cmchar iff generate adjust_fit math_fit labels penlabels +%%% addto stroke circ_stroke padded +%%% enddef endchar %%%% boldface closing +%%% true relax mode_setup font_setup %%%% boldface nullary operators +%%% true clearit shipit cullit openit showit clearxy clearpen +%%% true nodisplay notransforms screenchars screenstrokes imagerules +%%% .. ... .... -- --- %%%% path operators made of dots and dashes +%%% length flex abs dir %%%% unary operators to be in roman type +%%% length unitvector inverse ceiling hround vround Vround counterclockwise +%%% length tensepath byte reflectedabout rotatedaround magstep max min +%%% and mod dotprod intersectionpoint softjoin %%%% binary operators to be roman +%%% ++ ** %%%% binary operators made of two special characters +%%% penoffset goodval direction directionpoint %%%% operators that take "of" +%%% pausing tolerance pixels_per_inch blacker o_correction %%%% internals +%%% pausing screen_rows screen_cols currentwindow displaying +%%% pausing pen_top pen_bot pen_lft pen_rt shrink_fit rt lft top bot +%%% good crisp fine tiny rule light_rule cal light_cal med_cal heavy_cal +%%% good term fudged mfudged sloped_serif tilted med_tilted +%%% pausing slant fudge math_spread superness superpull beak_darkness ligs +%%% input generate +%% \outer\def^^L{\par\vfill\eject} % obeypages +%% +%% % nine-point type: +%% \catcode`@=11 % borrow the private macros of PLAIN (with care) +%% \def\ninebig#1{{\hbox{$\textfont0=\tenrm\textfont2=\tensy +%% \left#1\vbox to7.25pt{}\right.\n@space$}}} +%% \catcode`@=12 % now @ is a nonletter again +%% \font\ninerm=cmr9 \font\sixrm=cmr6 +%% \font\ninei=cmmi9 \font\sixi=cmmi6 +%% \skewchar\ninei='177 \skewchar\sixi='177 +%% \font\ninesy=cmsy9 \font\sixsy=cmsy6 +%% \skewchar\ninesy='60 \skewchar\sixsy='60 +%% \font\nineit=cmti9 +%% \font\ninesl=cmsl9 +%% \font\ninebf=cmbx9 \font\sixbf=cmbx6 +%% \font\ninett=cmtt9 \hyphenchar\ninett=-1 +%% \font\ninetex=cmtex9 \hyphenchar\ninetex=-1 +%% \def\rm{\fam0\ninerm} +%% \textfont0=\ninerm \scriptfont0=\sixrm \scriptscriptfont0=\fiverm +%% \textfont1=\ninei \scriptfont1=\sixi \scriptscriptfont1=\fivei +%% \textfont2=\ninesy \scriptfont2=\sixsy \scriptscriptfont2=\fivesy +%% \textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex +%% \def\it{\fam\itfam\nineit} +%% \textfont\itfam=\nineit +%% \def\sl{\fam\slfam\ninesl} +%% \textfont\slfam=\ninesl +%% \def\bf{\fam\bffam +%% \def\_{\kern.04em\vbox{\hrule width.3em height .6pt}\kern.08em}% +%% \ninebf} +%% \textfont\bffam=\ninebf \scriptfont\bffam=\sixbf +%% \scriptscriptfont\bffam=\fivebf +%% \def\tt{\fam\ttfam\ninett} +%% \textfont\ttfam=\ninett +%% \def\finstring"#1"{\ninetex"#1"\egroup} +%% \baselineskip=11pt +%% \def\MF{{\manual hijk}\-{\manual lmnj}} +%% \let\big=\ninebig +%% \setbox\strutbox=\hbox{\vrule height8pt depth3pt width0pt} +%% \rm +%% \setbox\shorthyf=\hbox{-\kern-.05em} +%% \hsize=29pc % this is the size of pages in the Computer Modern book +%% \vsize=44pc % likewise +%% +%%%% \mag=\magstep1 %%%% for magnified proofs diff --git a/Master/texmf-dist/mft/base/e.mft b/Master/texmf-dist/mft/base/e.mft new file mode 100644 index 00000000000..729652d2639 --- /dev/null +++ b/Master/texmf-dist/mft/base/e.mft @@ -0,0 +1,33 @@ +%%%% MFT commands for the Computer Modern book (Volume E) +%%% } ( ) ]] {{ }} ! ^ %%%% tokens that need no special formatting +%%% step upto downto %%%% boldface binary operators +%%% addto fill unfill draw undraw %%%% boldface unary operators +%%% addto filldraw unfilldraw drawdot undrawdot erase pickup +%%% addto exitunless stop incr decr proofrulethickness screenrule +%%% addto define_pixels define_whole_pixels define_whole_vertical_pixels +%%% addto define_blacker_pixels define_whole_blacker_pixels +%%% addto define_whole_vertical_blacker_pixels +%%% addto define_corrected_pixels lowres_fix proofoffset penstroke +%%% addto beginchar beginarithchar italcorr font_size font_slant +%%% addto font_normal_space font_normal_stretch font_normal_shrink font_quad +%%% addto font_x_height font_extra_space font_identifier font_coding_scheme +%%% addto cmchar iff generate adjust_fit math_fit labels penlabels +%%% addto stroke circ_stroke padded +%%% enddef endchar %%%% boldface closing +%%% true relax mode_setup font_setup %%%% boldface nullary operators +%%% true clearit shipit cullit openit showit clearxy clearpen +%%% true nodisplay notransforms screenchars screenstrokes imagerules +%%% .. ... .... -- --- %%%% path operators made of dots and dashes +%%% length flex abs dir %%%% unary operators to be in roman type +%%% length unitvector inverse ceiling hround vround Vround counterclockwise +%%% length tensepath byte reflectedabout rotatedaround magstep max min +%%% and mod dotprod intersectionpoint softjoin %%%% binary operators to be roman +%%% ++ ** %%%% binary operators made of two special characters +%%% penoffset goodval direction directionpoint %%%% operators that take "of" +%%% pausing tolerance pixels_per_inch blacker o_correction %%%% internals +%%% pausing screen_rows screen_cols currentwindow displaying +%%% pausing pen_top pen_bot pen_lft pen_rt shrink_fit rt lft top bot +%%% = <= >= <> %%%% conversions for the SAIL character set only +%%% good crisp fine tiny rule light_rule cal light_cal med_cal heavy_cal +%%% good term fudged mfudged sloped_serif tilted med_tilted +%%% pausing slant fudge math_spread superness superpull beak_darkness ligs diff --git a/Master/texmf-dist/mft/base/mplain.mft b/Master/texmf-dist/mft/base/mplain.mft new file mode 100644 index 00000000000..336e3afb92c --- /dev/null +++ b/Master/texmf-dist/mft/base/mplain.mft @@ -0,0 +1,91 @@ +%%%% MFT formatting commands for METAPOST macros defined in: +%%%% +%%%% PLAIN.MP, MFPLAIN.MP, GRAPH.MP, BOXES.MP +%%%% +%%%% This file contains MFT formatting rules defined in `mp2.mft' +%%%% by Ulrik Vieth . +%%%% +%%%% METAPOST primitives not found in METAFONT are hard-wired in +%%%% the MFT program. +%%%% +%%%% Variables and macros defined both in "plain.mf" and "plain.mp" +%%%% (from "plain.mft", but severly edited) +%%%% +%%% } ( ) ]] ! ^ %%%% tokens that need no special formatting +%%% .. ... -- --- %%%% path operators made of dots and dashes +%%% ++ ** %%%% binary operators made of two special characters +%%% step upto downto thru %%%% boldface binary operators +%%% addto fill unfill draw undraw %%%% boldface unary operators +%%% addto filldraw unfilldraw drawdot undrawdot cutdraw cutoff culldraw +%%% addto erase pickup penstroke +%%% addto exitunless stop incr decr +%%% pencircle pensquare penrazor penspeck +%%% true relax blankpicture %%%% boldface nullary operators +%%% true clearit shipit cullit openit showit clearxy clearpen savepen +%%% length abs dir byte %%%% unary operators to be in roman type +%%% length unitvector inverse ceiling round hround vround counterclockwise +%%% length tensepath reflectedabout rotatedaround rotatedabout +%%% length magstep max min +%%% and mod div dotprod +%%% and intersectionpoint softjoin %%%% binary operators to be roman +%%% penoffset direction directionpoint %%%% operators that take "of" +%%% penoffset takepower +%%% pausing pen_top pen_bot pen_lft pen_rt +%%% pausing lft rt top bot llft lrt ulft urt +%%% end bye +%%%% +%%%% Variables and macros defined only in "plain.mp" +%%%% +%%% addto beginfig %%%% boldface opening +%%% enddef endfig %%%% boldface closing +%%% addto dashpattern image bbox %%%% boldface operators +%%% addto label dotlabel thelabel %%%% FIXME: handling of suffixes? +%%% addto makelabel labels dotlabels penlabels +%%% addto arrowhead drawarrow drawdblarrow drawoptions +%%% length center on off %%%% unary operators in roman +%%% and cutbefore cutafter %%%% binary operators in roman +%%% pausing beveled butt mitered rounded squared evenly withdots +%%% pausing EOF +%%% for range +%%%% +%%%% Variables and macros defined only in "mfplain.mp" +%%%% (for METAFONT compatibility, partly from "plain.mft") +%%%% +%%% addto beginchar %%%% boldface opening +%%% enddef endchar %%%% boldface closing +%%% addto define_pixels define_whole_pixels define_whole_vertical_pixels +%%% addto define_good_x_pixels define_good_y_pixels define_blacker_pixels +%%% addto define_whole_blacker_pixels define_whole_vertical_blacker_pixels +%%% addto define_corrected_pixels define_horizontal_corrected_pixels +%%% addto lowres_fix screenrule proofrule proofoffset proofrulethickness +%%% addto makebox makegrid maketicks +%%% addto italcorr font_size font_slant +%%% addto font_normal_space font_normal_stretch font_normal_shrink font_quad +%%% addto font_x_height font_extra_space font_identifier font_coding_scheme +%%% def mode_def capsule_def +%%% true mode_setup +%%% true nodisplays notransforms screenchars screenstrokes +%%% true imagerules gfcorners +%%% pausing tolerance pixels_per_inch blacker o_correction %%%% internals +%%% pausing screen_rows screen_cols currentwindow displaying proofing +%%%% +%%%% Variables and macros defined in "graph.mp", "marith.mp", "sarith.mp" +%%%% +%%% addto begingraph %%%% boldface opening +%%% enddef endgraph %%%% boldface closing +%%% addto gdraw gfill gdata %%%% boldface operators +%%% addto glabel gdotlabel augment %%%% FIXME: handling of suffixes? +%%% addto gdrawarrow gdrawdblarrow gdrawoptions +%%% addto setcoords setrange +%%% good auto +%%% addto itick otick grid autogrid frame +%%% addto format +%%% length Mabs Sabs Scvnum Mlog_str %%%% unary operators in roman +%%% and Madd Msub Mmul Mdiv Mleq %%%% binary operators in roman +%%% and Sadd Ssub Smul Sdiv Sleq Sneq +%%% pausing linear log OUT %%%% internals +%%%% +%%%% Variables and macros defined in "boxes.mp" and "rboxes.mp" +%%%% +%%% addto drawboxes drawboxed drawunboxed boxjoin boxit circleit rboxit +%%% pausing defaultdx defaultdy diff --git a/Master/texmf-dist/mft/base/pl.mft b/Master/texmf-dist/mft/base/pl.mft new file mode 100644 index 00000000000..fc10e7b73b5 --- /dev/null +++ b/Master/texmf-dist/mft/base/pl.mft @@ -0,0 +1,111 @@ +%%%% MFT style for the Polish extension of Computer Modern (PL fonts) +%%%% CMBASE style: +%%% } ( ) ]] {{ }} ! ^ %%%% tokens that need no special formatting +%%% step upto downto %%%% boldface binary operators +%%% addto fill unfill draw undraw %%%% boldface unary operators +%%% addto filldraw unfilldraw drawdot undrawdot erase pickup +%%% addto exitunless stop incr decr proofrulethickness screenrule +%%% addto define_pixels define_whole_pixels define_whole_vertical_pixels +%%% addto define_blacker_pixels define_whole_blacker_pixels +%%% addto define_corrected_pixels lowres_fix proofoffset penstroke +%%% addto beginchar beginarithchar italcorr font_size font_slant +%%% addto font_normal_space font_normal_stretch font_normal_shrink font_quad +%%% addto font_x_height font_extra_space font_identifier font_coding_scheme +%%% addto cmchar iff generate adjust_fit math_fit labels penlabels +%%% addto stroke circ_stroke padded +%%% enddef endchar %%%% boldface closing +%%% true relax mode_setup font_setup %%%% boldface nullary operators +%%% true clearit shipit cullit openit showit clearxy clearpen +%%% true nodisplay notransforms screenchars screenstrokes imagerules +%%% .. ... .... -- --- %%%% path operators made of dots and dashes +%%% length flex abs dir %%%% unary operators to be in roman type +%%% length unitvector inverse ceiling hround vround Vround counterclockwise +%%% length tensepath byte reflectedabout rotatedaround magstep max min +%%% and mod dotprod intersectionpoint softjoin %%%% binary operators to be roman +%%% ++ ** %%%% binary operators made of two special characters +%%% penoffset goodval direction directionpoint %%%% operators that take "of" +%%% pausing tolerance pixels_per_inch blacker o_correction %%%% internals +%%% pausing screen_rows screen_cols currentwindow displaying +%%% pausing pen_top pen_bot pen_lft pen_rt shrink_fit rt lft top bot +%%% = <= >= <> %%%% conversions for the SAIL character set only +%%% good crisp fine tiny rule light_rule cal light_cal med_cal heavy_cal +%%% good term fudged mfudged sloped_serif tilted med_tilted +%%% pausing slant fudge math_spread superness superpull beak_darkness ligs +%% \outer\def^^L{\par\vfill\eject} % obeypages +%%%%------------------------------------------------------------------------- +%%%% So far it was CMBASE; now +%% %--------- BJ & MR predilections & idiosyncrasies (ver. 1.09) ------------ +%%%% follow: +%%%%------------------------------------------------------------------------- +%%% end bye %%%% end=bye, isn't it? +%%% screenrule proofrule %%%% proofrule=screenrule, isn't it? +%%% def mode_def %%%% def=mode_def, isn't it? +%%% input generate %%%% input=generate, isn't it? +%%% for range %%%% we prefere \MF{}book convention +%%% step thru %%%% ditto +%%% good lower +%%%%------------------------------------------------------------------------- +%%%% our slight modifications: +%%\newcount\hours \newcount\minutes +%%\ifx\plconventions\undefined %%%% don't define some dangerous macros twice +%%%%------------------------------------------------------------------------- +%%\let\plconventions\relax +%%\def\MeX{M\kern-.111em\lower.5ex\hbox{E}\kern-.125emX} +%%\let\OSH\# +%%\def\SH{\raise.7ex\hbox{$\scriptstyle\OSH$}} % sharp sign for sharped units +%%\let\#\SH \def\\#1{{\let\#\OSH\it#1}} +%%\def\finstring"#1"{\tentex"#1"\egroup} +%%\def\frac#1/#2{\leavevmode\kern.1em +%% \raise.5ex\hbox{\the\scriptfont0 #1}\kern-.1em +%% /\kern-.15em\lower.25ex\hbox{\the\scriptfont0 #2}\,} %%%% \, added +%%\let\UL\_ +%%\def\_{\ifdim\fontdimen1\the\font=0pt \UL\kern0.01em\else\kern-0.08em\UL\kern0.04em\fi} +%%%%------------------------------------------------------------------------- +%%%% our string treatment: +%%\font\ttfont pltt10 +%%\def\vispace{{\ttfont\char32}} +%%%% strings may be broken in a .TeX file: +%%{\obeyspaces\obeylines% +%%\gdef\prepspnl{\obeyspaces\obeylines\let \vispace\let^^M\vispace}} +%%\def\7{\hbox\bgroup\prepspnl\nocats\frenchspacing\finstring} % string token +%%%%------------------------------------------------------------------------- +%%%% our comment treatment: +%%\font\commfont plsltt10 % standard comment font +%%\font\bif plbxti10 % comment bold italic font +%%%% sorry, but we're using the UNderSCOre in COmments (see the dirty trick) +%%\def\unscoco{\ifmmode_\else\_\fi} \catcode`\_\active \let_\unscoco +%%\font\trifnt plmib10 scaled \magstep2 \def\lftri{{\trifnt \char'57}} +%%{\obeyspaces\gdef\prepsp{\obeyspaces\everymath{\catcode`\ 10\relax}\let \ }} +%%\fi %%%% no more dangerous macros +%%\def\specialcomments{% +%% \def\9{$\bgroup\def\par{\hfill\lftri\endgraf\egroup}\commfont\%\prepsp}} +%%\def\normalcomments{% +%% \def\9{$\bgroup\def\par{\endgraf\egroup}\hfill\commfont\%\prepsp}} +%%\specialcomments % our favorite form of comments +%%%%------------------------------------------------------------------------- +%%%% DIRTY TRICK---sorry, but we're also using the underscore in file names +%%%% (assumption: \tt appears only as \hbox{\tt...}) +%%\def\tt{\nocats\namett} +%%{\catcode`\}\other \catcode`\)2\gdef\namett#1}{\tentex#1\egroup)) +%%%%------------------------------------------------------------------------- +%%%% our footline: +%%\def\oktime{% format `hh:mm' +%%\hours=\time \divide \hours by 60 % +%%\minutes=-\hours \multiply \minutes by 60 \advance \minutes by \time +%%\ifnum\hours>9 \the\hours \else 0\the\hours \fi +%%:% +%%\ifnum\minutes>9 \the\minutes \else 0\the\minutes \fi} +%%\def\monthnazwa{\ifcase \month +%%\or stycznia\or lutego\or marca\or kwietnia\or maja\or czerwca\or lipca% +%%\or sierpnia\or wrze\'snia\or pa\'zdziernika\or listopada\or grudnia% +%%\fi} +%%\def\makefootline{\baselineskip18pt\null\hrule\null\baselineskip12pt +%% \line{\it\oktime\quad \the\day\ \monthnazwa\ \the\year\ +%% \hfill\llap{\tentex page \the\pageno}}} +%%%%------------------------------------------------------------------------- +%%%% our headline: +%%\font\TT pltt12 scaled\magstep2 +%%\headline{\vbox to 0pt{\vss +%% \rightline{\TT\uppercase\expandafter{\jobname.mf}}\vskip5mm}} +%% %------------------------------------------------------------------------- + diff --git a/Master/texmf-dist/mft/base/plain.mft b/Master/texmf-dist/mft/base/plain.mft new file mode 100644 index 00000000000..06fa93e89eb --- /dev/null +++ b/Master/texmf-dist/mft/base/plain.mft @@ -0,0 +1,26 @@ +%%%% MFT commands for the PLAIN base +%%% } ( ) ]] ! ^ %%%% tokens that need no special formatting +%%% step upto downto %%%% boldface binary operators +%%% addto fill unfill draw undraw %%%% boldface unary operators +%%% addto filldraw unfilldraw drawdot undrawdot erase pickup +%%% addto exitunless stop incr decr proofrulethickness screenrule +%%% addto define_pixels define_whole_pixels define_whole_vertical_pixels +%%% addto define_blacker_pixels define_whole_blacker_pixels +%%% addto define_corrected_pixels lowres_fix proofoffset penstroke +%%% addto beginchar italcorr font_size font_slant labels +%%% addto font_normal_space font_normal_stretch font_normal_shrink font_quad +%%% addto font_x_height font_extra_space font_identifier font_coding_scheme +%%% enddef endchar %%%% boldface closing +%%% true relax mode_setup %%%% boldface nullary operators +%%% true clearit shipit cullit openit showit clearxy clearpen +%%% true nodisplay notransforms screenchars screenstrokes imagerules +%%% .. ... -- --- %%%% path operators made of dots and dashes +%%% length flex abs dir %%%% unary operators to be in roman type +%%% length unitvector inverse ceiling round hround vround counterclockwise +%%% length tensepath byte reflectedabout rotatedaround magstep max min +%%% and mod dotprod intersectionpoint softjoin %%%% binary operators to be roman +%%% ++ ** %%%% binary operators made of two special characters +%%% penoffset goodval direction directionpoint %%%% operators that take "of" +%%% pausing tolerance pixels_per_inch blacker o_correction %%%% internals +%%% pausing screen_rows screen_cols currentwindow displaying +%%% pausing pen_top pen_bot pen_lft pen_rt rt lft top bot -- cgit v1.2.3