summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mdwfonts
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/mdwfonts
Initial commit
Diffstat (limited to 'macros/latex/contrib/mdwfonts')
-rw-r--r--macros/latex/contrib/mdwfonts/COPYING339
-rw-r--r--macros/latex/contrib/mdwfonts/MANIFEST75
-rw-r--r--macros/latex/contrib/mdwfonts/OMLpplcm.fd20
-rw-r--r--macros/latex/contrib/mdwfonts/OMSpzccm.fd18
-rw-r--r--macros/latex/contrib/mdwfonts/OMXpsycm.fd18
-rw-r--r--macros/latex/contrib/mdwfonts/OT1pplcm.fd18
-rw-r--r--macros/latex/contrib/mdwfonts/README210
-rw-r--r--macros/latex/contrib/mdwfonts/gpl.tex444
-rw-r--r--macros/latex/contrib/mdwfonts/mTTpcr.fd61
-rw-r--r--macros/latex/contrib/mdwfonts/mdwfonts.dtx823
-rw-r--r--macros/latex/contrib/mdwfonts/mdwfonts.ins43
-rw-r--r--macros/latex/contrib/mdwfonts/mdwfonts.pdfbin0 -> 150003 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/mdwfonts.sty344
-rw-r--r--macros/latex/contrib/mdwfonts/pcrb7tn.tfmbin0 -> 1000 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrb7tn.vfbin0 -> 1496 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrb8a.tfmbin0 -> 1116 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrb8rn.tfmbin0 -> 1256 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrb8tn.tfmbin0 -> 1352 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrb8tn.vfbin0 -> 2984 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbc7tn.tfmbin0 -> 1004 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbc7tn.vfbin0 -> 1640 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbc8tn.tfmbin0 -> 1368 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbc8tn.vfbin0 -> 3808 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbo7tn.tfmbin0 -> 1192 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbo7tn.vfbin0 -> 1500 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbo8a.tfmbin0 -> 1368 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbo8rn.tfmbin0 -> 1508 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbo8tn.tfmbin0 -> 1580 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrbo8tn.vfbin0 -> 3072 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrr7tn.tfmbin0 -> 1000 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrr7tn.vfbin0 -> 1496 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrr8a.tfmbin0 -> 1116 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrr8rn.tfmbin0 -> 1256 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrr8tn.tfmbin0 -> 1352 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrr8tn.vfbin0 -> 2984 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrrc7tn.tfmbin0 -> 1004 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrrc7tn.vfbin0 -> 1640 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrrc8tn.tfmbin0 -> 1368 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrrc8tn.vfbin0 -> 3808 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrro7tn.tfmbin0 -> 1156 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrro7tn.vfbin0 -> 1500 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrro8a.tfmbin0 -> 1312 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrro8rn.tfmbin0 -> 1496 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrro8tn.tfmbin0 -> 1560 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pcrro8tn.vfbin0 -> 3072 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pplr8r.tfmbin0 -> 1556 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pplri8r.tfmbin0 -> 1528 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/psyr.tfmbin0 -> 1328 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/pzcmi8r.tfmbin0 -> 1672 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpplcmr.tfmbin0 -> 1268 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpplcmr.vfbin0 -> 1536 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpplcmrm.tfmbin0 -> 1300 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpplcmrm.vfbin0 -> 1512 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpsycmrv.tfmbin0 -> 1028 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpsycmrv.vfbin0 -> 1440 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpzccmry.tfmbin0 -> 1204 bytes
-rw-r--r--macros/latex/contrib/mdwfonts/zpzccmry.vfbin0 -> 1400 bytes
57 files changed, 2413 insertions, 0 deletions
diff --git a/macros/latex/contrib/mdwfonts/COPYING b/macros/latex/contrib/mdwfonts/COPYING
new file mode 100644
index 0000000000..a43ea2126f
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/COPYING
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program 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. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/macros/latex/contrib/mdwfonts/MANIFEST b/macros/latex/contrib/mdwfonts/MANIFEST
new file mode 100644
index 0000000000..acd8bdea76
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/MANIFEST
@@ -0,0 +1,75 @@
+%
+% MANIFEST file for mdwfonts
+%
+
+% --- Standard bits of documentation and licencing ---
+
+COPYING
+MANIFEST
+README
+gpl.tex
+
+% --- The main `mdwfonts' package ---
+%
+% Technically, mdwfonts.dtx and mdwfonts.ins are all you need. In practice,
+% it seems that one requires a considerable amount of patience and dexterity.
+
+mdwfonts.dtx
+mdwfonts.dvi
+mdwfonts.ins
+mdwfonts.sty
+
+% --- Font description files ---
+
+OMLpplcm.fd
+OMSpzccm.fd
+OMXpsycm.fd
+OT1pplcm.fd
+mTTpcr.fd
+
+% --- And all the other font files ---
+
+pcrb7tn.tfm
+pcrb7tn.vf
+pcrb8a.tfm
+pcrb8rn.tfm
+pcrb8tn.tfm
+pcrb8tn.vf
+pcrbc7tn.tfm
+pcrbc7tn.vf
+pcrbc8tn.tfm
+pcrbc8tn.vf
+pcrbo7tn.tfm
+pcrbo7tn.vf
+pcrbo8a.tfm
+pcrbo8rn.tfm
+pcrbo8tn.tfm
+pcrbo8tn.vf
+pcrr7tn.tfm
+pcrr7tn.vf
+pcrr8a.tfm
+pcrr8rn.tfm
+pcrr8tn.tfm
+pcrr8tn.vf
+pcrrc7tn.tfm
+pcrrc7tn.vf
+pcrrc8tn.tfm
+pcrrc8tn.vf
+pcrro7tn.tfm
+pcrro7tn.vf
+pcrro8a.tfm
+pcrro8rn.tfm
+pcrro8tn.tfm
+pcrro8tn.vf
+pplr8r.tfm
+pplri8r.tfm
+psyr.tfm
+pzcmi8r.tfm
+zpplcmr.tfm
+zpplcmr.vf
+zpplcmrm.tfm
+zpplcmrm.vf
+zpsycmrv.tfm
+zpsycmrv.vf
+zpzccmry.tfm
+zpzccmry.vf
diff --git a/macros/latex/contrib/mdwfonts/OMLpplcm.fd b/macros/latex/contrib/mdwfonts/OMLpplcm.fd
new file mode 100644
index 0000000000..adf92e0902
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/OMLpplcm.fd
@@ -0,0 +1,20 @@
+%Filename: OMLpplcm.fd
+%Created by: tex mdwfonts
+%Created using fontinst v1.504
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{OMLpplcm.fd}
+ [1996/10/30 Fontinst v1.504 font definitions for OML/pplcm.]
+
+\DeclareFontFamily{OML}{pplcm}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{pplcm}{m}{it}{
+ <-> zpplcmrm
+}{}
+
+\DeclareFontShape{OML}{pplcm}{l}{it}{<->ssub * pplcm/m/it}{}
+\DeclareFontShape{OML}{pplcm}{m}{sl}{<->ssub * pplcm/m/it}{}
+\DeclareFontShape{OML}{pplcm}{l}{sl}{<->ssub * pplcm/m/sl}{}
+
+\endinput
diff --git a/macros/latex/contrib/mdwfonts/OMSpzccm.fd b/macros/latex/contrib/mdwfonts/OMSpzccm.fd
new file mode 100644
index 0000000000..ec4f1f5687
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/OMSpzccm.fd
@@ -0,0 +1,18 @@
+%Filename: OMSpzccm.fd
+%Created by: tex mdwfonts
+%Created using fontinst v1.504
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{OMSpzccm.fd}
+ [1996/10/30 Fontinst v1.504 font definitions for OMS/pzccm.]
+
+\DeclareFontFamily{OMS}{pzccm}{}
+
+\DeclareFontShape{OMS}{pzccm}{m}{n}{
+ <-> zpzccmry
+}{}
+
+\DeclareFontShape{OMS}{pzccm}{l}{n}{<->ssub * pzccm/m/n}{}
+
+\endinput
diff --git a/macros/latex/contrib/mdwfonts/OMXpsycm.fd b/macros/latex/contrib/mdwfonts/OMXpsycm.fd
new file mode 100644
index 0000000000..0030f5f375
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/OMXpsycm.fd
@@ -0,0 +1,18 @@
+%Filename: OMXpsycm.fd
+%Created by: tex mdwfonts
+%Created using fontinst v1.504
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{OMXpsycm.fd}
+ [1996/10/30 Fontinst v1.504 font definitions for OMX/psycm.]
+
+\DeclareFontFamily{OMX}{psycm}{}
+
+\DeclareFontShape{OMX}{psycm}{m}{n}{
+ <-> zpsycmrv
+}{}
+
+\DeclareFontShape{OMX}{psycm}{l}{n}{<->ssub * psycm/m/n}{}
+
+\endinput
diff --git a/macros/latex/contrib/mdwfonts/OT1pplcm.fd b/macros/latex/contrib/mdwfonts/OT1pplcm.fd
new file mode 100644
index 0000000000..df7452912d
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/OT1pplcm.fd
@@ -0,0 +1,18 @@
+%Filename: OT1pplcm.fd
+%Created by: tex mdwfonts
+%Created using fontinst v1.504
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{OT1pplcm.fd}
+ [1996/10/30 Fontinst v1.504 font definitions for OT1/pplcm.]
+
+\DeclareFontFamily{OT1}{pplcm}{}
+
+\DeclareFontShape{OT1}{pplcm}{m}{n}{
+ <-> zpplcmr
+}{}
+
+\DeclareFontShape{OT1}{pplcm}{l}{n}{<->ssub * pplcm/m/n}{}
+
+\endinput
diff --git a/macros/latex/contrib/mdwfonts/README b/macros/latex/contrib/mdwfonts/README
new file mode 100644
index 0000000000..c4cc6f849a
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/README
@@ -0,0 +1,210 @@
+
+ ===============
+
+ M D W F O N T S
+
+ ===============
+
+
+--- Licence note ---
+
+mdwfonts package release note
+Copyright (c) 1996 Mark Wooding
+
+These programs are free software; you can redistribute them and/or modify
+them under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+These programs are distributed in the hope that they will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with these programs; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+
+--- What it's all about ---
+
+This is a LaTeX package and some various font bits which allow configurable
+fonts in documents, provide a `squashed' Courier font (inlcuding the bits
+David Carlisle left out of pslatex) and some maths support for Palatino.
+
+
+--- Licencing ---
+
+The packages are made available under the GNU General Public Licence (not the
+usual LaTeX agreement). A copy of this licence is supplied in the file
+COPYING. You should read this document if you haven't read it already, even
+if it's just for educational value. I'm not actually sure how good a thing
+the GNU GPL actually is, so I'm sort of testing the water. The idea that
+this is how all software should be distributed still fills me with a certain
+amount of trepidation.
+
+
+--- What's in the box ---
+
+You should have received the following files in whatever sort of archive
+thing this suite came in:
+
+ README -- You've got this file for sure, because it's this one
+ COPYING -- A textual version of the GNU General Public Licence
+ mdwfonts.dtx -- Documentation and code for `mdwfonts.sty', the `.fd'
+ files, and a whole lot of other stuff
+ mdwfonts.ins -- Installation script for the packages
+ gpl.tex -- LaTeX version of the GNU General Public Licence
+
+If you're missing any of these files, complain at whoever gave the rest of
+them to you, and get them quickly. You /should/ also have a large collection
+of `.tfm' and `.vf' files:
+
+ pcrb7tn.tfm pcrbo7tn.tfm pcrr8rn.tfm pcrro8rn.tfm pzcmi8r.tfm
+ pcrb8a.tfm pcrbo8a.tfm pcrr8tn.tfm pcrro8tn.tfm zpplcmr.tfm
+ pcrb8rn.tfm pcrbo8rn.tfm pcrrc7tn.tfm pplr8r.tfm zpplcmrm.tfm
+ pcrb8tn.tfm pcrbo8tn.tfm pcrrc8tn.tfm pplri8r.tfm zpsycmrv.tfm
+ pcrbc7tn.tfm pcrr7tn.tfm pcrro7tn.tfm psyr.tfm zpzccmry.tfm
+ pcrbc8tn.tfm pcrr8a.tfm pcrro8a.tfm
+
+ pcrb7tn.vf pcrbo7tn.vf pcrr8tn.vf pcrro7tn.vf zpplcmrm.vf
+ pcrb8tn.vf pcrbo8tn.vf pcrrc7tn.vf pcrro8tn.vf zpsycmrv.vf
+ pcrbc7tn.vf pcrr7tn.vf pcrrc8tn.vf zpplcmr.vf zpzccmry.vf
+ pcrbc8tn.vf
+
+If you don't have these, then strictly speaking you can generate them given
+the above sources and fontinst.sty, but I found this ever so fiddly, and I
+recommend strongly that nobody else try unless they're feeling really brave.
+
+Finally, you may be lucky and have some extra files:
+
+ mdwfonts.sty -- Unpacked `mdwfonts.sty' package
+ OMLpplcm.fd, OMSpzccm.fd, OMXpsycm.fd, OT1pplcm.fd and mTTpcr.fd
+ -- Font description files for LaTeX
+ mdwfonts.dvi -- Typeset documentation for the system
+
+If you've already got these, then great, because you don't have to generate
+them. If you haven't, it's not a big deal. You might also have a bunch of
+files with extensions like `.log', `.aux', `.tmp', `.ilg' and so on. These
+files are really not at all interesting, and you might as well get rid of
+them now.
+
+
+--- Extracting the packages ---
+
+If you don't have the various .sty files already, you'll need to extract them
+from the .dtx files. This requires docstrip.tex, which should be part of
+your base LaTeX 2e distribution. If you have docstrip vsersion 2.3d, which
+is available with the December 1995 release of LaTeX, things will go rather
+faster. If your LaTeX release is much older than this, you should upgrade,
+because the packages need a fairly new LaTeX anyway. (I could do something
+about this, but I won't, because I want to encourage everyone to upgrade.)
+
+If everything's set up correctly, all you should need to do is say
+
+ tex mdwfonts.ins
+
+or
+
+ latex mdwfonts.ins
+
+or whatever incantation is necessary to run TeX or LaTeX on the supplied
+`mdwfonts.ins' file on your system.
+
+TeX will grind away at the files for a bit, and then say `Done' at you. (This
+could take a while, so be patient.) You will then have a mdwfonts.log file,
+which you can throw away, and a collection of sparkly new files. Now the
+installation can really begin.
+
+
+--- Installing all the files ---
+
+The package comes with a large number of miscellaneous font files. They
+ought to be placed in appropriate directories where TeX and/or other programs
+can find them. Exactly where this will be depends heavily on your
+installation: try looking for the other fonts and put these with them. The
+various extensions for the font files are:
+
+`.tfm' is a TeX Font Metric file, needed by TeX.
+`.vf' is a virtual font description file, needed by DVI-drivers.
+`.fd' is a font description file, required by LaTeX.
+
+You'll also need to put mdwfonts.sty somewhere where LaTeX will find
+it. What you do with the documentation file is up to you.
+
+The various `.fd' files and mdwfonts.sty may not have been included in your
+distribution. If you don't have them, run LaTeX on `mdwfonts.ins' to build
+them (see above). I'm explicitly not giving instructions for building all
+the other font files, because I'd much prefer it if they were distributed as
+they are, please -- building them is a fiddly business, and I'd rather that
+only I had to do it.
+
+Once you've done all that, you must tell dvips about your new fonts, so add
+the following lines to the `psfonts.map' file, unless they're already there:
+
+ pcrb8rn Courier-Bold ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrb8a.pfb
+ pcrbo8rn Courier-BoldOblique ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrbo8a.pfb
+ pcrr8rn Courier ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrr8a.pfb
+ pcrro8rn Courier-Oblique ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrro8a.pfb
+
+The `pcrr8rn' line will already be in the file if you've installed the
+`pslatex' package, so don't bother putting it in again.
+
+
+--- Typesetting the documentation ---
+
+If you want to typeset the documentation for the package, you'll need some
+packages from the `mdwtools' distribution. In particular, you need the
+`mdwtools.tex' file, and the `syntax.sty' and `sverb.sty' packages. You'll
+also need the `mdwfonts.dtx' file for the package you want documentation on,
+and all the files it generated.
+
+Make sure you've got all the files, and then run LaTeX on mdwfonts.dtx.
+
+TeX will start hammering away for a very short while, and then stop and ask
+you whether you want to build the indexing files. Generating index files
+takes a lot longer (I'd guess that it doubled the amount of time taken to
+typeset the `.dtx' file) so I don't recommend it unless:
+
+ * you've got a very fast processor, or
+ * you're very interested in how the package works internally, or
+ * you just like everything to be complete, or
+ * you're a masochist.
+
+Even so, there's no point writing indexing information the first time you
+run LaTeX on a file, because the table of contents hasn't been created yet,
+and when you LaTeX the file the second time, all the references will change.
+
+If you want the index files anyway, type `y' when you're asked. Otherwise,
+type 'n'. You know you want to type `n' really...
+
+If you want to do the job properly, you need to run LaTeX a second time
+to read in the contents table. /This/ is the correct time to turn on
+indexing, if you really want it.
+
+If you did build the index files, you should now sort the index by saying
+
+ makeindex -s gind.ist mdwfonts.idx
+
+The `gind.ist' file should have come with LaTeX. Having done this, you
+should run the `.dtx' file though LaTeX one final time, to insert the
+formatted index.
+
+You can now print or preview the generated `.dvi' file using whatever tools
+you usually use for such things.
+
+
+--- Contacting the author ---
+
+The author can be reached by email at mdw@excessus.demon.co.uk. This is his
+personal dial-up account, paid for privately, so don't expect replies after
+five minutes or anything like that.
+
+If you do have any comments regarding the code, its documentation, or
+anything else to do with these packages, don't leave me guessing -- let me
+know. While I won't guarantee to do anything about your comments, chances
+are that I'll right any wrongs and rescue any damsels in distress (oh, no,
+wrong spiel).
+
+
+-----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/mdwfonts/gpl.tex b/macros/latex/contrib/mdwfonts/gpl.tex
new file mode 100644
index 0000000000..b0d1915e5f
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/gpl.tex
@@ -0,0 +1,444 @@
+% \iffalse <meta-comment>
+%
+% $Id: gpl.tex,v 1.1 1996/11/19 20:51:14 mdw Exp $
+%
+% The GNU General Public Licence as a LaTeX section
+%
+% (c) 1989, 1991 Free Software Foundation, Inc.
+% LaTeX markup and minor formatting changes by Mark Wooding
+%
+
+%----- Revision history -----------------------------------------------------
+%
+% $Log: gpl.tex,v $
+% Revision 1.1 1996/11/19 20:51:14 mdw
+% Initial revision
+%
+
+% --- Chapter heading ---
+%
+% We don't know whether this ought to be a section or a chapter. Easy.
+% We'll see if chapters are possible.
+%
+% \fi
+
+\begingroup
+\makeatletter
+
+\edef\next#1#2#3{\relax
+ \ifx\chapter\@@undefined
+ \ifx\documentclass\@notprerr#2\else#3\fi
+ \else#1\fi
+}
+
+\expandafter\endgroup\next
+{
+ \let\gpltoplevel\chapter
+ \let\gplsec\section
+ \let\gplend\endinput
+}{
+ \let\gpltoplevel\section
+ \let\gplsec\subsection
+ \let\gplend\endinput
+}{
+ \documentclass[a4paper]{article}
+ \def\gpltoplevel#1{%
+ \vspace*{1in}%
+ \hbox to\hsize{\hfil\LARGE\bfseries#1\hfil}%
+ \vspace{1in}%
+ }
+ \let\gplsec\section
+ \def\gplend{\end{document}}
+ \advance\textwidth1in
+ \advance\oddsidemargin-.5in
+ \sloppy
+ \begin{document}
+}
+
+%^^A-------------------------------------------------------------------------
+\gpltoplevel{The GNU General Public Licence}
+
+
+The following is the text of the GNU General Public Licence, under the terms
+of which this software is distrubuted.
+
+\vspace{12pt}
+
+\begin{center}
+\textbf{GNU GENERAL PUBLIC LICENSE} \\
+Version 2, June 1991
+\end{center}
+
+\begin{center}
+Copyright (C) 1989, 1991 Free Software Foundation, Inc. \\
+675 Mass Ave, Cambridge, MA 02139, USA
+
+Everyone is permitted to copy and distribute verbatim copies \\
+of this license document, but changing it is not allowed.
+\end{center}
+
+
+\gplsec{Preamble}
+
+The licenses for most software are designed to take away your freedom to
+share and change it. By contrast, the GNU General Public License is intended
+to guarantee your freedom to share and change free software---to make sure
+the software is free for all its users. This General Public License applies
+to most of the Free Software Foundation's software and to any other program
+whose authors commit to using it. (Some other Free Software Foundation
+software is covered by the GNU Library General Public License instead.) You
+can apply it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not price. Our
+General Public Licenses are designed to make sure that you have the freedom
+to distribute copies of free software (and charge for this service if you
+wish), that you receive source code or can get it if you want it, that you
+can change the software or use pieces of it in new free programs; and that
+you know you can do these things.
+
+To protect your rights, we need to make restrictions that forbid anyone to
+deny you these rights or to ask you to surrender the rights. These
+restrictions translate to certain responsibilities for you if you distribute
+copies of the software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether gratis or
+for a fee, you must give the recipients all the rights that you have. You
+must make sure that they, too, receive or can get the source code. And you
+must show them these terms so they know their rights.
+
+We protect your rights with two steps: (1) copyright the software, and (2)
+offer you this license which gives you legal permission to copy, distribute
+and/or modify the software.
+
+Also, for each author's protection and ours, we want to make certain that
+everyone understands that there is no warranty for this free software. If
+the software is modified by someone else and passed on, we want its
+recipients to know that what they have is not the original, so that any
+problems introduced by others will not reflect on the original authors'
+reputations.
+
+Finally, any free program is threatened constantly by software patents. We
+wish to avoid the danger that redistributors of a free program will
+individually obtain patent licenses, in effect making the program
+proprietary. To prevent this, we have made it clear that any patent must be
+licensed for everyone's free use or not licensed at all.
+
+The precise terms and conditions for copying, distribution and modification
+follow.
+
+
+\gplsec{Terms and conditions for copying, distribution and modification}
+
+\begin{enumerate}
+
+\makeatletter \setcounter{\@listctr}{-1} \makeatother
+
+\item [0.] This License applies to any program or other work which contains a
+ notice placed by the copyright holder saying it may be distributed
+ under the terms of this General Public License. The ``Program'',
+ below, refers to any such program or work, and a ``work based on the
+ Program'' means either the Program or any derivative work under
+ copyright law: that is to say, a work containing the Program or a
+ portion of it, either verbatim or with modifications and/or translated
+ into another language. (Hereinafter, translation is included without
+ limitation in the term ``modification''.) Each licensee is addressed
+ as ``you''.
+
+ Activities other than copying, distribution and modification are not
+ covered by this License; they are outside its scope. The act of
+ running the Program is not restricted, and the output from the Program
+ is covered only if its contents constitute a work based on the Program
+ (independent of having been made by running the Program). Whether that
+ is true depends on what the Program does.
+
+\item [1.] You may copy and distribute verbatim copies of the Program's
+ source code as you receive it, in any medium, provided that you
+ conspicuously and appropriately publish on each copy an appropriate
+ copyright notice and disclaimer of warranty; keep intact all the
+ notices that refer to this License and to the absence of any warranty;
+ and give any other recipients of the Program a copy of this License
+ along with the Program.
+
+ You may charge a fee for the physical act of transferring a copy, and
+ you may at your option offer warranty protection in exchange for a fee.
+
+\item [2.] You may modify your copy or copies of the Program or any portion
+ of it, thus forming a work based on the Program, and copy and
+ distribute such modifications or work under the terms of Section 1
+ above, provided that you also meet all of these conditions:
+
+ \begin{enumerate}
+
+ \item [(a)] You must cause the modified files to carry prominent
+ notices stating that you changed the files and the date of any
+ change.
+
+ \item [(b)] You must cause any work that you distribute or publish,
+ that in whole or in part contains or is derived from the Program
+ or any part thereof, to be licensed as a whole at no charge to
+ all third parties under the terms of this License.
+
+ \item [(c)] If the modified program normally reads commands
+ interactively when run, you must cause it, when started running
+ for such interactive use in the most ordinary way, to print or
+ display an announcement including an appropriate copyright notice
+ and a notice that there is no warranty (or else, saying that you
+ provide a warranty) and that users may redistribute the program
+ under these conditions, and telling the user how to view a copy
+ of this License. (Exception: if the Program itself is
+ interactive but does not normally print such an announcement,
+ your work based on the Program is not required to print an
+ announcement.)
+
+ \end{enumerate}
+
+ These requirements apply to the modified work as a whole. If
+ identifiable sections of that work are not derived from the Program,
+ and can be reasonably considered independent and separate works in
+ themselves, then this License, and its terms, do not apply to those
+ sections when you distribute them as separate works. But when you
+ distribute the same sections as part of a whole which is a work based
+ on the Program, the distribution of the whole must be on the terms of
+ this License, whose permissions for other licensees extend to the
+ entire whole, and thus to each and every part regardless of who wrote
+ it.
+
+ Thus, it is not the intent of this section to claim rights or contest
+ your rights to work written entirely by you; rather, the intent is to
+ exercise the right to control the distribution of derivative or
+ collective works based on the Program.
+
+ In addition, mere aggregation of another work not based on the Program
+ with the Program (or with a work based on the Program) on a volume of a
+ storage or distribution medium does not bring the other work under the
+ scope of this License.
+
+\item [3.] You may copy and distribute the Program (or a work based on it,
+ under Section 2) in object code or executable form under the terms of
+ Sections 1 and 2 above provided that you also do one of the following:
+
+ \begin{enumerate}
+
+ \item [(a)] Accompany it with the complete corresponding
+ machine-readable source code, which must be distributed under the
+ terms of Sections 1 and 2 above on a medium customarily used for
+ software interchange; or,
+
+ \item [(b)] Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ \item [(c)] Accompany it with the information you received as to the
+ offer to distribute corresponding source code. (This alternative
+ is allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+ \end{enumerate}
+
+ The source code for a work means the preferred form of the work for
+ making modifications to it. For an executable work, complete source
+ code means all the source code for all modules it contains, plus any
+ associated interface definition files, plus the scripts used to control
+ compilation and installation of the executable. However, as a special
+ exception, the source code distributed need not include anything that
+ is normally distributed (in either source or binary form) with the
+ major components (compiler, kernel, and so on) of the operating system
+ on which the executable runs, unless that component itself accompanies
+ the executable.
+
+ If distribution of executable or object code is made by offering access
+ to copy from a designated place, then offering equivalent access to
+ copy the source code from the same place counts as distribution of the
+ source code, even though third parties are not compelled to copy the
+ source along with the object code.
+
+\item [4.] You may not copy, modify, sublicense, or distribute the Program
+ except as expressly provided under this License. Any attempt otherwise
+ to copy, modify, sublicense or distribute the Program is void, and will
+ automatically terminate your rights under this License. However,
+ parties who have received copies, or rights, from you under this
+ License will not have their licenses terminated so long as such parties
+ remain in full compliance.
+
+\item [5.] You are not required to accept this License, since you have not
+ signed it. However, nothing else grants you permission to modify or
+ distribute the Program or its derivative works. These actions are
+ prohibited by law if you do not accept this License. Therefore, by
+ modifying or distributing the Program (or any work based on the
+ Program), you indicate your acceptance of this License to do so, and
+ all its terms and conditions for copying, distributing or modifying the
+ Program or works based on it.
+
+\item [6.] Each time you redistribute the Program (or any work based on the
+ Program), the recipient automatically receives a license from the
+ original licensor to copy, distribute or modify the Program subject to
+ these terms and conditions. You may not impose any further
+ restrictions on the recipients' exercise of the rights granted herein.
+ You are not responsible for enforcing compliance by third parties to
+ this License.
+
+\item [7.] If, as a consequence of a court judgment or allegation of patent
+ infringement or for any other reason (not limited to patent issues),
+ conditions are imposed on you (whether by court order, agreement or
+ otherwise) that contradict the conditions of this License, they do not
+ excuse you from the conditions of this License. If you cannot
+ distribute so as to satisfy simultaneously your obligations under this
+ License and any other pertinent obligations, then as a consequence you
+ may not distribute the Program at all. For example, if a patent
+ license would not permit royalty-free redistribution of the Program by
+ all those who receive copies directly or indirectly through you, then
+ the only way you could satisfy both it and this License would be to
+ refrain entirely from distribution of the Program.
+
+ If any portion of this section is held invalid or unenforceable under
+ any particular circumstance, the balance of the section is intended to
+ apply and the section as a whole is intended to apply in other
+ circumstances.
+
+ It is not the purpose of this section to induce you to infringe any
+ patents or other property right claims or to contest validity of any
+ such claims; this section has the sole purpose of protecting the
+ integrity of the free software distribution system, which is
+ implemented by public license practices. Many people have made
+ generous contributions to the wide range of software distributed
+ through that system in reliance on consistent application of that
+ system; it is up to the author/donor to decide if he or she is willing
+ to distribute software through any other system and a licensee cannot
+ impose that choice.
+
+ This section is intended to make thoroughly clear what is believed to
+ be a consequence of the rest of this License.
+
+\item [8.] If the distribution and/or use of the Program is restricted in
+ certain countries either by patents or by copyrighted interfaces, the
+ original copyright holder who places the Program under this License may
+ add an explicit geographical distribution limitation excluding those
+ countries, so that distribution is permitted only in or among countries
+ not thus excluded. In such case, this License incorporates the
+ limitation as if written in the body of this License.
+
+\item [9.] The Free Software Foundation may publish revised and/or new
+ versions of the General Public License from time to time. Such new
+ versions will be similar in spirit to the present version, but may
+ differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the Program
+ specifies a version number of this License which applies to it and
+ ``any later version'', you have the option of following the terms and
+ conditions either of that version or of any later version published by
+ the Free Software Foundation. If the Program does not specify a
+ version number of this License, you may choose any version ever
+ published by the Free Software Foundation.
+
+\item [10.] If you wish to incorporate parts of the Program into other free
+ programs whose distribution conditions are different, write to the
+ author to ask for permission. For software which is copyrighted by the
+ Free Software Foundation, write to the Free Software Foundation; we
+ sometimes make exceptions for this. Our decision will be guided by the
+ two goals of preserving the free status of all derivatives of our free
+ software and of promoting the sharing and reuse of software generally.
+
+\begin{center}
+NO WARRANTY
+\end{center}
+
+\bfseries
+
+\item [11.] Because the Program is licensed free of charge, there is no
+ warranty for the Program, to the extent permitted by applicable law.
+ except when otherwise stated in writing the copyright holders and/or
+ other parties provide the program ``as is'' without warranty of any
+ kind, either expressed or implied, including, but not limited to, the
+ implied warranties of merchantability and fitness for a particular
+ purpose. The entire risk as to the quality and performance of the
+ Program is with you. Should the Program prove defective, you assume
+ the cost of all necessary servicing, repair or correction.
+
+\item [12.] In no event unless required by applicable law or agreed to in
+ writing will any copyright holder, or any other party who may modify
+ and/or redistribute the program as permitted above, be liable to you
+ for damages, including any general, special, incidental or
+ consequential damages arising out of the use or inability to use the
+ program (including but not limited to loss of data or data being
+ rendered inaccurate or losses sustained by you or third parties or a
+ failure of the Program to operate with any other programs), even if
+ such holder or other party has been advised of the possibility of such
+ damages.
+
+\end{enumerate}
+
+\begin{center}
+\textbf{END OF TERMS AND CONDITIONS}
+\end{center}
+
+
+\gplsec{Appendix: How to Apply These Terms to Your New Programs}
+
+If you develop a new program, and you want it to be of the greatest possible
+use to the public, the best way to achieve this is to make it free software
+which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey the
+exclusion of warranty; and each file should have at least the ``copyright''
+line and a pointer to where the full notice is found.
+
+\begin{verbatim}
+<one line to give the program's name and a brief idea of what it does.>
+Copyright (C) 19yy <name of author>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program 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. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+\end{verbatim}
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this when
+it starts in an interactive mode:
+
+\begin{verbatim}
+Gnomovision version 69, Copyright (C) 19yy name of author
+Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+This is free software, and you are welcome to redistribute it
+under certain conditions; type `show c' for details.
+\end{verbatim}
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may be
+called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a ``copyright disclaimer'' for the program, if
+necessary. Here is a sample; alter the names:
+
+\begin{verbatim}
+Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+`Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+<signature of Ty Coon>, 1 April 1989
+Ty Coon, President of Vice
+\end{verbatim}
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General Public
+License instead of this License.
+
+\gplend
diff --git a/macros/latex/contrib/mdwfonts/mTTpcr.fd b/macros/latex/contrib/mdwfonts/mTTpcr.fd
new file mode 100644
index 0000000000..c1dbbef5eb
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/mTTpcr.fd
@@ -0,0 +1,61 @@
+%%
+%% This is file `mTTpcr.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mdwfonts.dtx (with options: `mttpcr')
+%%
+%% IMPORTANT NOTICE
+%%
+%% mdwtools common declarations
+%% Copyright (c) 1996 Mark Wooding
+%%
+%% This program is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published by
+%% the Free Software Foundation; either version 2 of the License, or
+%% (at your option) any later version.
+%%
+%% This program 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. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%%
+\ProvidesFile{mTTpcr.fd}
+ [1997/01/11 1.2 PostScript fonts for my documents]
+%% \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 \~}
+%%
+\DeclareFontFamily{mTT}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{mTT}{pcr}{b}{n}{<-> pcrb7tn}{}
+\DeclareFontShape{mTT}{pcr}{b}{sc}{<-> pcrbc7tn}{}
+\DeclareFontShape{mTT}{pcr}{b}{sl}{<-> pcrbo7tn}{}
+\DeclareFontShape{mTT}{pcr}{m}{n}{<-> pcrr7tn}{}
+\DeclareFontShape{mTT}{pcr}{m}{sc}{<-> pcrrc7tn}{}
+\DeclareFontShape{mTT}{pcr}{m}{sl}{<-> pcrro7tn}{}
+\DeclareFontShape{mTT}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}%
+\DeclareFontShape{mTT}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}%
+\DeclareFontShape{mTT}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}%
+\DeclareFontShape{mTT}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}%
+\DeclareFontShape{mTT}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}%
+\DeclareFontShape{mTT}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}%
+\endinput
+%%
+%% End of file `mTTpcr.fd'.
diff --git a/macros/latex/contrib/mdwfonts/mdwfonts.dtx b/macros/latex/contrib/mdwfonts/mdwfonts.dtx
new file mode 100644
index 0000000000..676a986a62
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/mdwfonts.dtx
@@ -0,0 +1,823 @@
+% \begin{meta-comment}
+%
+% $Id: mdwfonts.dtx,v 1.1 1996/11/19 22:02:15 mdw Exp mdw $
+%
+% PostScript fonts for more excitement
+%
+% (c) 1996 Mark Wooding
+%
+%----- Revision history -----------------------------------------------------
+%
+% $Log: mdwfonts.dtx,v $
+% Revision 1.1 1996/11/19 22:02:15 mdw
+% Initial revision
+%
+%
+% \end{meta-comment}
+%
+% \begin{meta-comment} <general public licence>
+%%
+%% mdwtools common declarations
+%% Copyright (c) 1996 Mark Wooding
+%%
+%% This program is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published by
+%% the Free Software Foundation; either version 2 of the License, or
+%% (at your option) any later version.
+%%
+%% This program 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. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%%
+% \end{meta-comment}
+%
+% \begin{meta-comment} <file preamble>
+%<+sty>\NeedsTeXFormat{LaTeX2e}
+%<+sty>\ProvidesPackage{mdwfonts}
+%<+mttpcr>\ProvidesFile{mTTpcr.fd}
+%<*fontinst>
+\ifx\ProvidesFile\mdwundefined
+ \def\ProvidesFile#1[#2]{\wlog{File: #1 #2}}
+\fi
+\ProvidesFile{mdwfonts.tex}
+%</fontinst>
+ [1997/01/11 1.2 PostScript fonts for my documents]
+% \end{meta-comment}
+%
+% \CheckSum{562}
+%% \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 \~}
+%%
+%
+% \begin{meta-comment}
+%
+%<*driver>
+\input{mdwtools}
+\usepackage{mflogo}
+\describespackage{mdwfonts}
+\mdwdoc
+%</driver>
+%
+% \end{meta-comment}
+%
+%
+%^^A-------------------------------------------------------------------------
+% \section{Overview}
+%
+% This suite of \LaTeX\ bits is intended to provide some configurability
+% for the fonts used by documents. It lets users define their favourite
+% collection of fonts, and any documents using this package will
+% automatically honour those design decisions.
+%
+% It goes a little beyond this brief, however, by supplying some missing
+% PostScript fonts which may be useful. (Well, the author uses them a lot.)
+% In particular:
+% \begin{itemize}
+% \item The `squashed' Courier from David Carlisle's \package{pslatex}
+% package is included, and extended to cover the other known variants of
+% Courier (e.g., bold and oblique).
+% \item A maths symbol font for Palatino has been added. It works in a
+% similar way to the \package{mathptm} package's support for Times (i.e.,
+% it grabs glyphs from the normal Palatino font, and from the Computer
+% Modern symbols).
+% \end{itemize}
+%
+%
+% \section{Installing \package{mdwfonts}}
+%
+% The package comes with a large number of miscellaneous font files. They
+% ought to be placed in appropriate directories where \TeX and/or other
+% programs can find them. Exactly where this will be depends heavily on your
+% installation: try looking for the other fonts and put these with them.
+% The various extensions for the font files are:
+% \begin{description}
+% \item [.tfm] is a \TeX\ Font Metric file, needed by \TeX.
+% \item [.vf] is a virtual font description file, needed by DVI-drivers.
+% \item [.fd] is a font description file, required by \LaTeX.
+% \end{description}
+%
+% You'll also need to put |mdwfonts.sty| somewhere where \LaTeX\ will find
+% it. What you do with the documentation file is up to you.
+%
+% The files |mTTpcr.fd| and |mdwfonts.sty| may not have been included in
+% your distribution. If you don't have them, run \LaTeX\ on |mdwfonts.ins|
+% to build them. I'm explicitly not giving instructions for building all
+% the other font files, because I'd much prefer it if they were distributed
+% as they are, please -- building them is a fiddly business, and I'd rather
+% that only I had to do it.
+%
+% Once you've done all that, you must tell \textit{dvips} about your new
+% fonts, so add the following lines to the |psfonts.map| file, unless they're
+% already there:
+% \begin{listing}
+%pcrb8rn Courier-Bold ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrb8a.pfb
+%pcrbo8rn Courier-BoldOblique ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrbo8a.pfb
+%pcrr8rn Courier ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrr8a.pfb
+%pcrro8rn Courier-Oblique ".85 ExtendFont TeXBase1Encoding ReEncodeFont" <8r.enc <pcrro8a.pfb
+% \end{listing}
+% The |pcrr8rn| line will already be in the file if you've installed the
+% \package{pslatex} package, so don't bother putting it in again.
+%
+%
+% \section{Using \package{mdwfonts}}
+%
+% \subsection{Defining fonts to use}
+%
+% The font faces you can use, with their names as used by this package,
+% currently are:
+% \begin{itemize}
+% \item Computer Modern Roman (|cmr|)
+% \item Computer Modern Sans (|cmss|)
+% \item Times Roman (|times|)
+% \item Helvetica (|helvetica|)
+% \item Palatino (|palatino|)
+% \item Computer Modern Typewriter (|cmtt|)
+% \item Courier (condensed version) (|courier|)
+% \end{itemize}
+% Only Computer Modern Roman, Times Roman and Palatino may be used as a maths
+% family.
+%
+% The \package{mdwfonts} package knows about five font families which
+% documents probably want to use. The available families you can set, with
+% their names as used by this package, are:
+% \begin{description}
+% \item [The body text family] (|body|) is the main font your document uses.
+% The default body family is Computer Modern Roman.
+% \item [The maths family] (|maths|) is the font used for mathematics.
+% The default maths family is the same as the body family.
+% \item [The sans serif family] (|sans|) is used for sans serif text.
+% The default sans serif family is Computer Modern Sans.
+% \item [The headings family] (|head|) is used for headings, if your
+% document class supports this.\footnote{
+% The \texttt{\char`\\headfam} command is configured to change to the
+% chosen headings family. Co-operating document classes should use this
+% hook when typesetting chapter and section headings, etc.}
+% Most document classes don't support this, but \package{mdwfonts} patches
+% the standard \LaTeX\ classes so that they work. The default headings
+% family is Computer Modern Roman.
+% \item [The typewriter family] (|tt|) is used for monospaced text. The
+% default typewriter family is Computer Modern Typewriter.
+% \end{description}
+% American users not used to spelling \lit{maths} correctly may use the
+% alternative spelling \lit{math} instead. If only the rest of \LaTeX\ were
+% this considerate.
+%
+%
+% \subsection{Assigning faces to families}
+%
+% \DescribeMacro\mdwfont
+% This is fairly simple, really. The |\mdwfont| will attach a typeface to a
+% given family. The syntax is as follows:
+% \begin{syntdiag}
+% "\\mdwfont" "{" \< <family-name> "=" <face-name> \\ "," \> "}"
+% \end{syntdiag}
+% For example, saying
+% \begin{listing}
+%\mdwfont{body=palatino, maths=palatino,
+% sans=helvetica, head=helvetica
+% tt=courier}
+% \end{listing}
+% uses Palatino for the main body text, and for maths, Helvetica for sans
+% serif text, and for headings (again, only if your document class supports
+% this).
+%
+% The \package{mdwfonts} package also supports a collection of options which
+% may be passed to the package. The syntax of the package invocation is:
+% \begin{syntdiag}
+% "\\usepackage"
+% \[ "["
+% \< \( <face-name> \\ <family-name> "=" <face-name> \) \\ "," \>
+% "]" \]
+% \\
+% "{" "mdwfonts" "}"
+% \end{syntdiag}
+%
+% A face name on its own configures families sensibly to use that face.
+% The actual behaviour is as follows:
+% \begin{description}
+% \item [times] Set body and maths families to Times Roman.
+% \item [palatino] Set body and maths families to Palatino.
+% \item [cmr] Set body, headings and maths families to Computer Modern Roman.
+% \item [helvetica] Set sans serif and headings families to Helvetica.
+% \item [cmss] Set sans serif family to Computer Modern Sans.
+% \item [courier] Set typewriter family to Courier.
+% \item [cmtt] Set typewriter family to Computer Modern Typewriter.
+% \end{description}
+% Astute readers will be able to deduce the author's personal preferences
+% for assigning typefaces to families from the above rules. However, they
+% should suffice for most simple configurations. Moreover, the direct
+% assignment of faces to families is supported in case the above aren't
+% expressive enough.
+%
+% When \package{mdwfonts} starts up, it reads a file called |mdwfonts.cfg|,
+% if it exists. This file should set up defaults for the various families
+% according to the user's preferences. The decisions made by the
+% configuration file may be overridden by the document, however, since
+% package options are processed after running |mdwfonts.cfg|.
+%
+%
+% \implementation
+%
+% \section{The package}
+%
+% \begin{macrocode}
+%<*sty>
+% \end{macrocode}
+%
+%
+% \subsection{Options handing}
+%
+% There are several font choices to be made. These can be made from the
+% package options or the configuration file; the former takes precedence over
+% the latter.
+%
+% I'll use David Carlisle's rather good \package{keyval} package to handle
+% this lot because it saves a lot of hassle in the long run.
+%
+% \begin{macrocode}
+\RequirePackage{keyval}
+% \end{macrocode}
+%
+% Now to define how all this actually works. Maintain a variable for each
+% family that I understand, and a list of which fonts people have expressed
+% an interest in.
+%
+% \begin{macrocode}
+\def\mdwf@bodyfont{\mdwf@cmr}
+\def\mdwf@mathsfont{\mdwf@bodyfont}
+\def\mdwf@sansfont{\mdwf@cmss}
+\def\mdwf@headfont{\mdwf@cmr}
+\def\mdwf@ttfont{\mdwf@cmtt}
+% \end{macrocode}
+%
+% Now to define the keys and values which I'll accept.
+%
+% \begin{macrocode}
+\def\mdwf@set#1#2{\edef#1{\expandafter\noexpand\csname mdwf@#2\endcsname}}
+\define@key{mdwf}{body}{\mdwf@set\mdwf@bodyfont{#1}}
+\define@key{mdwf}{maths}{\mdwf@set\mdwf@mathsfont{#1}}
+\define@key{mdwf}{math}{\mdwf@set\mdwf@mathsfont{#1}}
+\define@key{mdwf}{sans}{\mdwf@set\mdwf@sansfont{#1}}
+\define@key{mdwf}{head}{\mdwf@set\mdwf@headfont{#1}}
+\define@key{mdwf}{tt}{\mdwf@set\mdwf@ttfont{#1}}
+% \end{macrocode}
+%
+% Now input the configuration file.
+%
+% \begin{macrocode}
+\def\mdwfont{\setkeys{mdwf}}
+\@input{mdwfonts.cfg}
+% \end{macrocode}
+%
+% Set up some package options which handle the common cases. Then add
+% a catch-all option which just gets bundled to \package{keyval}.
+%
+% \begin{macrocode}
+\DeclareOption{times}{\mdwfont{body=times, maths=times}}
+\DeclareOption{palatino}{\mdwfont{body=palatino, maths=palatino}}
+\DeclareOption{cmr}{\mdwfont{body=cmr, maths=cmr, head=cmr}}
+\DeclareOption{helvetica}{\mdwfont{sans=helvetica, head=helvetica}}
+\DeclareOption{cmss}{\mdwfont{sans=cmss}}
+\DeclareOption{courier}{\mdwfont{tt=courier}}
+\DeclareOption{cmtt}{\mdwfont{tt=cmtt}}
+\DeclareOption*{\expandafter\mdwfont\expandafter{\CurrentOption}}
+\ProcessOptions*
+% \end{macrocode}
+%
+% Now, if a client wants a really odd setup not provided by the above
+% interface, it can define |\mdwfonts| to declare its decision.
+%
+% \begin{macrocode}
+\ifx\mdwfonts\@@undefined\else
+ \def\@tempa#1\@@{\mdwfont{#1}}
+ \expandafter\@tempa\mdwfonts\@@
+\fi
+% \end{macrocode}
+%
+%
+% \subsection{Setting up the actual fonts}
+%
+% \begin{macro}{\mdwf@iffont}
+%
+% I need to check whether a font's been used. This macro will help.
+%
+% First, I'll define some numeric values for various fonts.
+%
+% \begin{macrocode}
+\count@\z@
+\def\@tempa#1{%
+ \expandafter\chardef\csname mdwf@#1\endcsname\count@%
+ \advance\count@\@ne%
+}
+\@tempa{cmr}\@tempa{cmss}\@tempa{cmtt}
+\@tempa{times}\@tempa{palatino}\@tempa{helvetica}\@tempa{courier}
+% \end{macrocode}
+%
+% And now to check whether a font is being used. This is rather horrible.
+%
+% \begin{macrocode}
+\def\mdwf@iffont#1{\if1%
+ \ifnum\mdwf@bodyfont=#11\else%
+ \ifnum\mdwf@headfont=#11\else%
+ \ifnum\mdwf@sansfont=#11\else%
+ \ifnum\mdwf@ttfont=#11\else0%
+ \fi\fi\fi\fi%
+}
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \subsubsection{Text fonts}
+%
+% \paragraph{Courier}
+% The courier family is redefined in its entirety here. I use the condensed
+% courier provided by David Carlisle's \package{pslatex} package, although
+% I've extended it to cover all the shapes and not just medium roman.
+% \begin{macrocode}
+\mdwf@iffont\mdwf@courier
+\DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{OT1}{pcr}{b}{n}{<-> pcrb7tn}{}
+\DeclareFontShape{OT1}{pcr}{b}{sc}{<-> pcrbc7tn}{}
+\DeclareFontShape{OT1}{pcr}{b}{sl}{<-> pcrbo7tn}{}
+\DeclareFontShape{OT1}{pcr}{m}{n}{<-> pcrr7tn}{}
+\DeclareFontShape{OT1}{pcr}{m}{sc}{<-> pcrrc7tn}{}
+\DeclareFontShape{OT1}{pcr}{m}{sl}{<-> pcrro7tn}{}
+\DeclareFontShape{OT1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}
+\DeclareFontShape{OT1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}
+\DeclareFontShape{OT1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{OT1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{OT1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}
+\DeclareFontShape{OT1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}
+\DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{T1}{pcr}{b}{n}{<-> pcrb8tn}{}
+\DeclareFontShape{T1}{pcr}{b}{sc}{<-> pcrbc8tn}{}
+\DeclareFontShape{T1}{pcr}{b}{sl}{<-> pcrbo8tn}{}
+\DeclareFontShape{T1}{pcr}{m}{n}{<-> pcrr8tn}{}
+\DeclareFontShape{T1}{pcr}{m}{sc}{<-> pcrrc8tn}{}
+\DeclareFontShape{T1}{pcr}{m}{sl}{<-> pcrro8tn}{}
+\DeclareFontShape{T1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}
+\DeclareFontShape{T1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}
+\DeclareFontShape{T1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{T1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{T1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}
+\DeclareFontShape{T1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}
+\fi
+% \end{macrocode}
+%
+% \paragraph{Helvetica}
+% Again the whole of helvetica is defined here, this time so that the font
+% can be scaled a little.
+% \begin{macrocode}
+\mdwf@iffont\mdwf@helvetica
+\DeclareFontFamily{OT1}{phv}{}
+\DeclareFontShape{OT1}{phv}{b}{n}{<-> s * [.9] phvb7t}{}
+\DeclareFontShape{OT1}{phv}{b}{sc}{<-> s * [.9] phvbc7t}{}
+\DeclareFontShape{OT1}{phv}{b}{sl}{<-> s * [.9] phvbo7t}{}
+\DeclareFontShape{OT1}{phv}{bc}{n}{<-> s * [.9] phvbrn7t}{}
+\DeclareFontShape{OT1}{phv}{bc}{sc}{<-> s * [.9] phvbcn7t}{}
+\DeclareFontShape{OT1}{phv}{bc}{sl}{<-> s * [.9] phvbon7t}{}
+\DeclareFontShape{OT1}{phv}{m}{n}{<-> s * [.9] phvr7t}{}
+\DeclareFontShape{OT1}{phv}{m}{sc}{<-> s * [.9] phvrc7t}{}
+\DeclareFontShape{OT1}{phv}{m}{sl}{<-> s * [.9] phvro7t}{}
+\DeclareFontShape{OT1}{phv}{mc}{n}{<-> s * [.9] phvrrn7t}{}
+\DeclareFontShape{OT1}{phv}{mc}{sc}{<-> s * [.9] phvrcn7t}{}
+\DeclareFontShape{OT1}{phv}{mc}{sl}{<-> s * [.9] phvron7t}{}
+\DeclareFontShape{OT1}{phv}{bx}{n}{<->ssub * phv/b/n}{}
+\DeclareFontShape{OT1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{}
+\DeclareFontShape{OT1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{OT1}{phv}{b}{it}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{OT1}{phv}{bx}{it}{<->ssub * phv/b/it}{}
+\DeclareFontShape{OT1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{}
+\DeclareFontShape{OT1}{phv}{m}{it}{<->ssub * phv/m/sl}{}
+\DeclareFontShape{OT1}{phv}{mc}{it}{<->ssub * phv/mc/sl}{}
+\DeclareFontFamily{T1}{phv}{}
+\DeclareFontShape{T1}{phv}{b}{n}{<-> s * [.9] phvb8t}{}
+\DeclareFontShape{T1}{phv}{b}{sc}{<-> s * [.9] phvbc8t}{}
+\DeclareFontShape{T1}{phv}{b}{sl}{<-> s * [.9] phvbo8t}{}
+\DeclareFontShape{T1}{phv}{bc}{n}{<-> s * [.9] phvbrn8t}{}
+\DeclareFontShape{T1}{phv}{bc}{sc}{<-> s * [.9] phvbcn8t}{}
+\DeclareFontShape{T1}{phv}{bc}{sl}{<-> s * [.9] phvbon8t}{}
+\DeclareFontShape{T1}{phv}{m}{n}{<-> s * [.9] phvr8t}{}
+\DeclareFontShape{T1}{phv}{m}{sc}{<-> s * [.9] phvrc8t}{}
+\DeclareFontShape{T1}{phv}{m}{sl}{<-> s * [.9] phvro8t}{}
+\DeclareFontShape{T1}{phv}{mc}{n}{<-> s * [.9] phvrrn8t}{}
+\DeclareFontShape{T1}{phv}{mc}{sc}{<-> s * [.9] phvrcn8t}{}
+\DeclareFontShape{T1}{phv}{mc}{sl}{<-> s * [.9] phvron8t}{}
+\DeclareFontShape{T1}{phv}{bx}{n}{<->ssub * phv/b/n}{}
+\DeclareFontShape{T1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{}
+\DeclareFontShape{T1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{T1}{phv}{b}{it}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{T1}{phv}{bx}{it}{<->ssub * phv/b/it}{}
+\DeclareFontShape{T1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{}
+\DeclareFontShape{T1}{phv}{m}{it}{<->ssub * phv/m/sl}{}
+\DeclareFontShape{T1}{phv}{mc}{it}{<->ssub * phv/mc/sl}{}
+\fi
+% \end{macrocode}
+%
+% \paragraph{Palatino}
+% Might as well define palatino too, for completeness' sake.
+% \begin{macrocode}
+\mdwf@iffont\mdwf@palatino
+\DeclareFontFamily{OT1}{ppl}{}
+\DeclareFontShape{OT1}{ppl}{b}{n}{<-> pplb7t}{}
+\DeclareFontShape{OT1}{ppl}{b}{sc}{<-> pplbc7t}{}
+\DeclareFontShape{OT1}{ppl}{b}{sl}{<-> pplbo7t}{}
+\DeclareFontShape{OT1}{ppl}{b}{it}{<-> pplbi7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{n}{<-> pplr7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{sc}{<-> pplrc7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{sl}{<-> pplro7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{it}{<-> pplri7t}{}
+\DeclareFontShape{OT1}{ppl}{bx}{n}{<->ssub * ppl/b/n}{}
+\DeclareFontShape{OT1}{ppl}{bx}{sc}{<->ssub * ppl/b/sc}{}
+\DeclareFontShape{OT1}{ppl}{bx}{sl}{<->ssub * ppl/b/sl}{}
+\DeclareFontShape{OT1}{ppl}{bx}{it}{<->ssub * ppl/b/it}{}
+\DeclareFontShape{OT1}{ppl}{l}{n}{<->ssub * ppl/m/n}{}
+\DeclareFontShape{OT1}{ppl}{l}{sc}{<->ssub * ppl/m/sc}{}
+\DeclareFontShape{OT1}{ppl}{l}{sl}{<->ssub * ppl/m/sl}{}
+\DeclareFontShape{OT1}{ppl}{l}{it}{<->ssub * ppl/m/it}{}
+\DeclareFontFamily{T1}{ppl}{}
+\DeclareFontShape{T1}{ppl}{b}{n}{<-> pplb8t}{}
+\DeclareFontShape{T1}{ppl}{b}{sc}{<-> pplbc8t}{}
+\DeclareFontShape{T1}{ppl}{b}{sl}{<-> pplbo8t}{}
+\DeclareFontShape{T1}{ppl}{b}{it}{<-> pplbi8t}{}
+\DeclareFontShape{T1}{ppl}{m}{n}{<-> pplr8t}{}
+\DeclareFontShape{T1}{ppl}{m}{sc}{<-> pplrc8t}{}
+\DeclareFontShape{T1}{ppl}{m}{sl}{<-> pplro8t}{}
+\DeclareFontShape{T1}{ppl}{m}{it}{<-> pplri8t}{}
+\DeclareFontShape{T1}{ppl}{bx}{n}{<->ssub * ppl/b/n}{}
+\DeclareFontShape{T1}{ppl}{bx}{sc}{<->ssub * ppl/b/sc}{}
+\DeclareFontShape{T1}{ppl}{bx}{sl}{<->ssub * ppl/b/sl}{}
+\DeclareFontShape{T1}{ppl}{bx}{it}{<->ssub * ppl/b/it}{}
+\DeclareFontShape{T1}{ppl}{l}{n}{<->ssub * ppl/m/n}{}
+\DeclareFontShape{T1}{ppl}{l}{sc}{<->ssub * ppl/m/sc}{}
+\DeclareFontShape{T1}{ppl}{l}{sl}{<->ssub * ppl/m/sl}{}
+\DeclareFontShape{T1}{ppl}{l}{it}{<->ssub * ppl/m/it}{}
+\fi
+% \end{macrocode}
+%
+% \paragraph{Times}
+% Finally, times, for those who like it\dots
+% \begin{macrocode}
+\mdwf@iffont\mdwf@times
+\DeclareFontFamily{OT1}{ptm}{}
+\DeclareFontShape{OT1}{ptm}{b}{n}{<-> ptmb7t}{}
+\DeclareFontShape{OT1}{ptm}{b}{sc}{<-> ptmbc7t}{}
+\DeclareFontShape{OT1}{ptm}{b}{sl}{<-> ptmbo7t}{}
+\DeclareFontShape{OT1}{ptm}{b}{it}{<-> ptmbi7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{n}{<-> ptmr7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{sc}{<-> ptmrc7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{sl}{<-> ptmro7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{it}{<-> ptmri7t}{}
+\DeclareFontShape{OT1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{}
+\DeclareFontShape{OT1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{}
+\DeclareFontShape{OT1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{}
+\DeclareFontShape{OT1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{}
+\DeclareFontShape{OT1}{ptm}{l}{n}{<->ssub * ptm/m/n}{}
+\DeclareFontShape{OT1}{ptm}{l}{sc}{<->ssub * ptm/m/sc}{}
+\DeclareFontShape{OT1}{ptm}{l}{sl}{<->ssub * ptm/m/sl}{}
+\DeclareFontShape{OT1}{ptm}{l}{it}{<->ssub * ptm/m/it}{}
+\DeclareFontFamily{T1}{ptm}{}
+\DeclareFontShape{T1}{ptm}{b}{n}{<-> ptmb8t}{}
+\DeclareFontShape{T1}{ptm}{b}{sc}{<-> ptmbc8t}{}
+\DeclareFontShape{T1}{ptm}{b}{sl}{<-> ptmbo8t}{}
+\DeclareFontShape{T1}{ptm}{b}{it}{<-> ptmbi8t}{}
+\DeclareFontShape{T1}{ptm}{m}{n}{<-> ptmr8t}{}
+\DeclareFontShape{T1}{ptm}{m}{sc}{<-> ptmrc8t}{}
+\DeclareFontShape{T1}{ptm}{m}{sl}{<-> ptmro8t}{}
+\DeclareFontShape{T1}{ptm}{m}{it}{<-> ptmri8t}{}
+\DeclareFontShape{T1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{}
+\DeclareFontShape{T1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{}
+\DeclareFontShape{T1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{}
+\DeclareFontShape{T1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{}
+\DeclareFontShape{T1}{ptm}{l}{n}{<->ssub * ptm/m/n}{}
+\DeclareFontShape{T1}{ptm}{l}{sc}{<->ssub * ptm/m/sc}{}
+\DeclareFontShape{T1}{ptm}{l}{sl}{<->ssub * ptm/m/sl}{}
+\DeclareFontShape{T1}{ptm}{l}{it}{<->ssub * ppl/m/it}{}
+\fi
+% \end{macrocode}
+%
+% \subsubsection{Maths fonts}
+%
+% \paragraph{Palatino}
+% Easy stuff.
+% \begin{macrocode}
+\ifnum\mdwf@mathsfont=\mdwf@palatino
+\DeclareSymbolFont{operators} {OT1}{pplcm}{m}{n}
+\DeclareSymbolFont{letters} {OML}{pplcm}{m}{it}
+\DeclareSymbolFont{bold} {OT1}{ppl}{bx}{n}
+\DeclareSymbolFont{italic} {OT1}{ppl}{m}{it}
+\fi
+% \end{macrocode}
+%
+% \paragraph{Times}
+% Also easy.
+% \begin{macrocode}
+\ifnum\mdwf@mathsfont=\mdwf@times
+\DeclareSymbolFont{operators} {OT1}{ptmcm}{m}{n}
+\DeclareSymbolFont{letters} {OML}{ptmcm}{m}{it}
+\DeclareSymbolFont{bold} {OT1}{ptm}{bx}{n}
+\DeclareSymbolFont{italic} {OT1}{ptm}{m}{it}
+\fi
+% \end{macrocode}
+%
+% \paragraph{General PostScript things}
+% Set up the symbols and large symbols fonts. This lot is all from
+% \package{mathptm}.
+% \begin{macrocode}
+\if1\ifnum\mdwf@mathsfont=\mdwf@times1\else
+ \ifnum\mdwf@mathsfont=\mdwf@palatino1\else0\fi\fi
+\DeclareSymbolFont{symbols} {OMS}{pzccm}{m}{n}
+\DeclareSymbolFont{largesymbols}{OMX}{psycm}{m}{n}
+% \end{macrocode}
+% Adjust the spacing around operators and things to fit PostScript fonts
+% better.
+% \begin{macrocode}
+\thinmuskip=2mu
+\medmuskip=2.5mu plus 1mu minus 1mu
+\thickmuskip=4mu plus 1.5mu minus 1mu
+% \end{macrocode}
+% There isn't a bold symbol font.
+% \begin{macrocode}
+\def\boldmath{%
+ \@warning{there is no bold Symbol font}%
+ \global\let\boldmath=\relax
+}
+% \end{macrocode}
+% Provide an |\omicron| character. No idea why\dots
+% \begin{macrocode}
+\DeclareMathSymbol{\omicron}{0}{operators}{`\o}
+% \end{macrocode}
+% Make scripts a bit bigger.
+% \begin{macrocode}
+\DeclareMathSizes{5}{5}{5}{5}
+\DeclareMathSizes{6}{6}{5}{5}
+\DeclareMathSizes{7}{7}{5}{5}
+\DeclareMathSizes{8}{8}{6}{5}
+\DeclareMathSizes{9}{9}{7}{5}
+\DeclareMathSizes{10}{10}{7.4}{6}
+\DeclareMathSizes{10.95}{10.95}{8}{6}
+\DeclareMathSizes{12}{12}{9}{7}
+\DeclareMathSizes{14.4}{14.4}{10.95}{8}
+\DeclareMathSizes{17.28}{17.28}{12}{10}
+\DeclareMathSizes{20.74}{20.74}{14.4}{12}
+\DeclareMathSizes{24.88}{24.88}{17.28}{14.4}
+% \end{macrocode}
+% Redefine the standard font for the symbols encoding.
+% \begin{macrocode}
+\DeclareFontSubstitution{OMS}{pzccm}{m}{n}
+\fi
+% \end{macrocode}
+%
+%
+% \subsection{Setting the font families}
+%
+% First, define the family names for everything.
+%
+% \begin{macrocode}
+\def\mdwf@cmr{cmr}
+\def\mdwf@cmss{cmss}
+\def\mdwf@cmtt{cmtt}
+\def\mdwf@times{ptm}
+\def\mdwf@palatino{ppl}
+\def\mdwf@helvetica{phv}
+\def\mdwf@courier{pcr}
+% \end{macrocode}
+%
+% Now assign families to the various variables.
+%
+% \begin{macrocode}
+\edef\rmdefault{\mdwf@bodyfont}
+\edef\sfdefault{\mdwf@sansfont}
+\edef\ttdefault{\mdwf@ttfont}
+\edef\headdefault{\mdwf@headfont}
+% \end{macrocode}
+%
+% Set various maths families.
+%
+% \begin{macrocode}
+\def\mdwf@mathsfam#1#2#3{%
+ \edef\@tempa{\noexpand\DeclareMathAlphabet{\noexpand#1}{#2}{#3}}%
+ \@tempa%
+}
+\mdwf@mathsfam{\mathit}{OT1}{\rmdefault}{m}{it}
+\mdwf@mathsfam{\mathbf}{OT1}{\rmdefault}{bx}{n}
+\mdwf@mathsfam{\mathsf}{OT1}{\sfdefault}{m}{n}
+\mdwf@mathsfam{\mathtt}{OT1}{\ttdefault}{m}{n}
+% \end{macrocode}
+%
+% Finally, set |\headfam| nicely.
+%
+% \begin{macrocode}
+\def\headfam{\fontfamily\headdefault\selectfont}
+% \end{macrocode}
+%
+% \subsection{Clobber standard packages}
+%
+% Now, if I recognise this document class, patch it until it accepts
+% |\headfam| correctly. This stuff isn't terribly pleasant, but I don't
+% care about that.
+%
+% First see if I'm in familiar territory.
+%
+% \begin{macrocode}
+\begingroup
+\catcode`\.11
+\if1\ifx\ver@article.cls\@@undefined
+ \ifx\ver@report.cls\@@undefined
+ \ifx\ver@book.cls\@@undefined
+ \ifx\ver@amsart.cls\@@undefined
+ \ifx\ver@amsproc.cls\@@undefined
+ \ifx\ver@amsbook.cls\@@undefined0%
+ \else1\fi
+ \else1\fi
+ \else1\fi
+ \else1\fi
+ \else1\fi
+ \else1\fi
+% \end{macrocode}
+%
+% Looks like it. Now to patch the |\@startsection|-based commands. I'll
+% redefine |\@startsection| to do the atching for me, and then just run
+% all the commands which want patching.
+%
+% \begin{macrocode}
+ \def\@startsection#1#2#3#4#5#6#7{%
+ \gdef#7{\@startsection{#1}{#2}{#3}{#4}{#5}{#6\headfam}}%
+ }
+ \section\section
+ \subsection\subsection
+ \subsubsection\subsubsection
+ \paragraph\paragraph
+ \subparagraph\subparagraph
+ \if1\ifx\ver@amsart.cls\@@undefined\ifx\ver@amsproc.cls\@@undefined0%
+ \else1\fi\else1\fi
+ \part\part
+ \fi
+% \end{macrocode}
+%
+% Now for the difficult bits. Firstly, deal with part headings for normal
+% \LaTeX\ classes.
+%
+% \begin{macrocode}
+ \long\def\mdwf@grab#1{\expandafter\mdwf@grab@i#1\@@delim}
+ \long\def\mdwf@grab@i#1\@@delim#2{#2{#1}}
+ \def\mdwf@patch@opt#1{\mdwf@grab{#1[##1]{##2}}\mdwf@patch@opt@i#1}
+ \long\def\mdwf@patch@opt@i#1#2{\gdef#2[##1]##2{%
+ \let\mdwf@@bfseries\bfseries\def\bfseries{\headfam\mdwf@@bfseries}%
+ #1%
+ \let\bfseries\mdwf@@bfseries%
+ }}%
+ \def\mdwf@patch#1{\mdwf@grab{#1{##1}}\mdwf@patch@i#1}
+ \long\def\mdwf@patch@i#1#2{\gdef#2##1{%
+ \let\mdwf@@bfseries\bfseries\def\bfseries{\headfam\mdwf@@bfseries}%
+ #1%
+ \let\bfseries\mdwf@@bfseries%
+ }}%
+ \if0\ifx\ver@amsart.cls\@@undefined\ifx\ver@amsproc.cls\@@undefined0%
+ \else1\fi\else1\fi
+ \mdwf@patch@opt\@part
+ \mdwf@patch\@spart
+ \fi
+ \ifx\@makechapterhead\@@undefined\else
+ \mdwf@patch\@makechapterhead
+ \mdwf@patch\@makeschapterhead
+ \fi
+\fi
+\endgroup
+% \end{macrocode}
+%
+% Wasn't that fun?
+%
+%
+% That's it for the package.
+%
+% \begin{macrocode}
+%</sty>
+% \end{macrocode}
+%
+%
+% \section{Font installation script}
+%
+% If you're lucky you'll never need to use this.
+%
+% \begin{macrocode}
+%<*fontinst>
+\input fontinst.sty
+% \end{macrocode}
+%
+% Firstly, some code for building squashed courier fonts.
+%
+% \begin{macrocode}
+\def\squashcourier#1{%
+ \transformfont{pcr#18rn}{%
+ \xscalefont{850}{%
+ \reencodefont{8r}{\fromafm{pcr#18a}}}}}
+\squashcourier{b}
+\squashcourier{bo}
+\squashcourier{r}
+\squashcourier{ro}
+% \end{macrocode}
+%
+% Now start installing fonts.
+%
+% \begin{macrocode}
+\installfonts
+% \end{macrocode}
+%
+% Start with the courier ones.
+%
+% \begin{macrocode}
+\installfont{pcrb7tn}{pcrb8rn,psyr,latin}{OT1tt}{OT1}{pcr}{b}{n}{}
+\installfont{pcrb8tn}{pcrb8rn,psyr,latin}{T1}{T1}{pcr}{b}{n}{}
+\installfont{pcrbc7tn}{pcrb8rn,psyr,latin}{OT1ctt}{OT1}{pcr}{b}{sc}{}
+\installfont{pcrbc8tn}{pcrb8rn,psyr,latin}{T1c}{T1}{pcr}{b}{sc}{}
+\installfont{pcrbo7tn}{pcrbo8rn,psyr,latin}{OT1tt}{OT1}{pcr}{b}{sl}{}
+\installfont{pcrbo8tn}{pcrbo8rn,psyr,latin}{T1}{T1}{pcr}{b}{sl}{}
+\installfont{pcrr7tn}{pcrr8rn,psyr,latin}{OT1tt}{OT1}{pcr}{m}{n}{}
+\installfont{pcrr8tn}{pcrr8rn,psyr,latin}{T1}{T1}{pcr}{m}{n}{}
+\installfont{pcrrc7tn}{pcrr8rn,psyr,latin}{OT1ctt}{OT1}{pcr}{m}{sc}{}
+\installfont{pcrrc8tn}{pcrr8rn,psyr,latin}{T1c}{T1}{pcr}{m}{sc}{}
+\installfont{pcrro7tn}{pcrro8rn,psyr,latin}{OT1tt}{OT1}{pcr}{m}{sl}{}
+\installfont{pcrro8tn}{pcrro8rn,psyr,latin}{T1}{T1}{pcr}{m}{sl}{}
+% \end{macrocode}
+%
+% Now build palatino-based maths fonts. This lot seems to work. It's based
+% on \package{mathptm}, and hacked a bit.
+%
+% \begin{macrocode}
+\installfamily{OT1}{pplcm}{}
+\installfamily{OML}{pplcm}{\skewchar\font=127}
+\installfamily{OMS}{pzccm}{}
+\installfamily{OMX}{psycm}{}
+\installfont{zpplcmr}
+ {pplr8r,psyr,latin,zrhax,kernoff,cmr10}
+ {OT1}{OT1}{pplcm}{m}{n}{}
+\installfont{zpplcmrm}
+ {kernoff,cmmi10,kernon,unsetalf,unsethum,pplri8r,psyr,mathit,zrmhax}
+ {OML}{OML}{pplcm}{m}{it}{}
+\installfont{zpzccmry}
+ {cmsy10,unsethum,psyr,pplr8r,unsetalf,pzcmi8r scaled 1124,mathsy}
+ {OMS}{OMS}{pzccm}{m}{n}{}
+\installfont{zpsycmrv}
+ {cmex10,psyr,zrvhax,cmex9 scaled 900}
+ {OMX}{OMX}{psycm}{m}{n}{}
+% \end{macrocode}
+%
+% Done.
+%
+% \begin{macrocode}
+\endinstallfonts
+\end
+%</fontinst>
+% \end{macrocode}
+%
+%
+% \section{Description file for courier}
+%
+% Here's a short |.fd| file for the squashed courier font which makes it
+% work in my `|mTT|' encoding.
+%
+% \begin{macrocode}
+%<*mttpcr>
+\DeclareFontFamily{mTT}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{mTT}{pcr}{b}{n}{<-> pcrb7tn}{}
+\DeclareFontShape{mTT}{pcr}{b}{sc}{<-> pcrbc7tn}{}
+\DeclareFontShape{mTT}{pcr}{b}{sl}{<-> pcrbo7tn}{}
+\DeclareFontShape{mTT}{pcr}{m}{n}{<-> pcrr7tn}{}
+\DeclareFontShape{mTT}{pcr}{m}{sc}{<-> pcrrc7tn}{}
+\DeclareFontShape{mTT}{pcr}{m}{sl}{<-> pcrro7tn}{}
+\DeclareFontShape{mTT}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}%
+\DeclareFontShape{mTT}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}%
+\DeclareFontShape{mTT}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}%
+\DeclareFontShape{mTT}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}%
+\DeclareFontShape{mTT}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}%
+\DeclareFontShape{mTT}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}%
+%</mttpcr>
+% \end{macrocode}
+%
+%
+% Done.
+%
+% \hfill Mark Wooding, \today
+%
+% \Finale
+%
+\endinput
diff --git a/macros/latex/contrib/mdwfonts/mdwfonts.ins b/macros/latex/contrib/mdwfonts/mdwfonts.ins
new file mode 100644
index 0000000000..5c5160cbd3
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/mdwfonts.ins
@@ -0,0 +1,43 @@
+%
+% $Id: mdwfonts.ins,v 1.1 1996/11/19 22:01:30 mdw Exp $
+%
+% Install mdwfonts package
+%
+% (c) 1996 Mark Wooding
+%
+
+%----- Revision history -----------------------------------------------------
+%
+% $Log: mdwfonts.ins,v $
+% Revision 1.1 1996/11/19 22:01:30 mdw
+% Initial revision
+%
+
+\def\batchfile{mdwfonts.ins}
+\input docstrip
+\keepsilent
+
+\preamble
+
+IMPORTANT NOTICE
+\endpreamble
+
+{ % --- This is a group so that docstrip \reads it all in one go ---
+
+ \ifx\generate\mdwxxnotdef
+ \gdef\mdwgen#1{#1}
+ \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
+ \gdef\needed#1{}
+ \else
+ \global\let\mdwgen\generate
+ \global\def\mdwf{\file}
+ \global\askforoverwritefalse
+ \fi
+
+}
+
+\mdwgen{\mdwf {mdwfonts.sty} {\from{mdwfonts.dtx}{sty}}
+ \mdwf {mdwfonts.tex} {\from{mdwfonts.dtx}{fontinst}}
+ \mdwf {mTTpcr.fd} {\from{mdwfonts.dtx}{mttpcr}}}
+
+\Msg{Done!}
diff --git a/macros/latex/contrib/mdwfonts/mdwfonts.pdf b/macros/latex/contrib/mdwfonts/mdwfonts.pdf
new file mode 100644
index 0000000000..2fd175c993
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/mdwfonts.pdf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/mdwfonts.sty b/macros/latex/contrib/mdwfonts/mdwfonts.sty
new file mode 100644
index 0000000000..c9ca24720b
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/mdwfonts.sty
@@ -0,0 +1,344 @@
+%%
+%% This is file `mdwfonts.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mdwfonts.dtx (with options: `sty')
+%%
+%% IMPORTANT NOTICE
+%%
+%% mdwtools common declarations
+%% Copyright (c) 1996 Mark Wooding
+%%
+%% This program is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published by
+%% the Free Software Foundation; either version 2 of the License, or
+%% (at your option) any later version.
+%%
+%% This program 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. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{mdwfonts}
+ [1997/01/11 1.2 PostScript fonts for my documents]
+%% \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 \~}
+%%
+\RequirePackage{keyval}
+\def\mdwf@bodyfont{\mdwf@cmr}
+\def\mdwf@mathsfont{\mdwf@bodyfont}
+\def\mdwf@sansfont{\mdwf@cmss}
+\def\mdwf@headfont{\mdwf@cmr}
+\def\mdwf@ttfont{\mdwf@cmtt}
+\def\mdwf@set#1#2{\edef#1{\expandafter\noexpand\csname mdwf@#2\endcsname}}
+\define@key{mdwf}{body}{\mdwf@set\mdwf@bodyfont{#1}}
+\define@key{mdwf}{maths}{\mdwf@set\mdwf@mathsfont{#1}}
+\define@key{mdwf}{math}{\mdwf@set\mdwf@mathsfont{#1}}
+\define@key{mdwf}{sans}{\mdwf@set\mdwf@sansfont{#1}}
+\define@key{mdwf}{head}{\mdwf@set\mdwf@headfont{#1}}
+\define@key{mdwf}{tt}{\mdwf@set\mdwf@ttfont{#1}}
+\def\mdwfont{\setkeys{mdwf}}
+\@input{mdwfonts.cfg}
+\DeclareOption{times}{\mdwfont{body=times, maths=times}}
+\DeclareOption{palatino}{\mdwfont{body=palatino, maths=palatino}}
+\DeclareOption{cmr}{\mdwfont{body=cmr, maths=cmr, head=cmr}}
+\DeclareOption{helvetica}{\mdwfont{sans=helvetica, head=helvetica}}
+\DeclareOption{cmss}{\mdwfont{sans=cmss}}
+\DeclareOption{courier}{\mdwfont{tt=courier}}
+\DeclareOption{cmtt}{\mdwfont{tt=cmtt}}
+\DeclareOption*{\expandafter\mdwfont\expandafter{\CurrentOption}}
+\ProcessOptions*
+\ifx\mdwfonts\@@undefined\else
+ \def\@tempa#1\@@{\mdwfont{#1}}
+ \expandafter\@tempa\mdwfonts\@@
+\fi
+\count@\z@
+\def\@tempa#1{%
+ \expandafter\chardef\csname mdwf@#1\endcsname\count@%
+ \advance\count@\@ne%
+}
+\@tempa{cmr}\@tempa{cmss}\@tempa{cmtt}
+\@tempa{times}\@tempa{palatino}\@tempa{helvetica}\@tempa{courier}
+\def\mdwf@iffont#1{\if1%
+ \ifnum\mdwf@bodyfont=#11\else%
+ \ifnum\mdwf@headfont=#11\else%
+ \ifnum\mdwf@sansfont=#11\else%
+ \ifnum\mdwf@ttfont=#11\else0%
+ \fi\fi\fi\fi%
+}
+\mdwf@iffont\mdwf@courier
+\DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{OT1}{pcr}{b}{n}{<-> pcrb7tn}{}
+\DeclareFontShape{OT1}{pcr}{b}{sc}{<-> pcrbc7tn}{}
+\DeclareFontShape{OT1}{pcr}{b}{sl}{<-> pcrbo7tn}{}
+\DeclareFontShape{OT1}{pcr}{m}{n}{<-> pcrr7tn}{}
+\DeclareFontShape{OT1}{pcr}{m}{sc}{<-> pcrrc7tn}{}
+\DeclareFontShape{OT1}{pcr}{m}{sl}{<-> pcrro7tn}{}
+\DeclareFontShape{OT1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}
+\DeclareFontShape{OT1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}
+\DeclareFontShape{OT1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{OT1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{OT1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}
+\DeclareFontShape{OT1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}
+\DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{T1}{pcr}{b}{n}{<-> pcrb8tn}{}
+\DeclareFontShape{T1}{pcr}{b}{sc}{<-> pcrbc8tn}{}
+\DeclareFontShape{T1}{pcr}{b}{sl}{<-> pcrbo8tn}{}
+\DeclareFontShape{T1}{pcr}{m}{n}{<-> pcrr8tn}{}
+\DeclareFontShape{T1}{pcr}{m}{sc}{<-> pcrrc8tn}{}
+\DeclareFontShape{T1}{pcr}{m}{sl}{<-> pcrro8tn}{}
+\DeclareFontShape{T1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}
+\DeclareFontShape{T1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}
+\DeclareFontShape{T1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{T1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}
+\DeclareFontShape{T1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}
+\DeclareFontShape{T1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}
+\fi
+\mdwf@iffont\mdwf@helvetica
+\DeclareFontFamily{OT1}{phv}{}
+\DeclareFontShape{OT1}{phv}{b}{n}{<-> s * [.9] phvb7t}{}
+\DeclareFontShape{OT1}{phv}{b}{sc}{<-> s * [.9] phvbc7t}{}
+\DeclareFontShape{OT1}{phv}{b}{sl}{<-> s * [.9] phvbo7t}{}
+\DeclareFontShape{OT1}{phv}{bc}{n}{<-> s * [.9] phvbrn7t}{}
+\DeclareFontShape{OT1}{phv}{bc}{sc}{<-> s * [.9] phvbcn7t}{}
+\DeclareFontShape{OT1}{phv}{bc}{sl}{<-> s * [.9] phvbon7t}{}
+\DeclareFontShape{OT1}{phv}{m}{n}{<-> s * [.9] phvr7t}{}
+\DeclareFontShape{OT1}{phv}{m}{sc}{<-> s * [.9] phvrc7t}{}
+\DeclareFontShape{OT1}{phv}{m}{sl}{<-> s * [.9] phvro7t}{}
+\DeclareFontShape{OT1}{phv}{mc}{n}{<-> s * [.9] phvrrn7t}{}
+\DeclareFontShape{OT1}{phv}{mc}{sc}{<-> s * [.9] phvrcn7t}{}
+\DeclareFontShape{OT1}{phv}{mc}{sl}{<-> s * [.9] phvron7t}{}
+\DeclareFontShape{OT1}{phv}{bx}{n}{<->ssub * phv/b/n}{}
+\DeclareFontShape{OT1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{}
+\DeclareFontShape{OT1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{OT1}{phv}{b}{it}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{OT1}{phv}{bx}{it}{<->ssub * phv/b/it}{}
+\DeclareFontShape{OT1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{}
+\DeclareFontShape{OT1}{phv}{m}{it}{<->ssub * phv/m/sl}{}
+\DeclareFontShape{OT1}{phv}{mc}{it}{<->ssub * phv/mc/sl}{}
+\DeclareFontFamily{T1}{phv}{}
+\DeclareFontShape{T1}{phv}{b}{n}{<-> s * [.9] phvb8t}{}
+\DeclareFontShape{T1}{phv}{b}{sc}{<-> s * [.9] phvbc8t}{}
+\DeclareFontShape{T1}{phv}{b}{sl}{<-> s * [.9] phvbo8t}{}
+\DeclareFontShape{T1}{phv}{bc}{n}{<-> s * [.9] phvbrn8t}{}
+\DeclareFontShape{T1}{phv}{bc}{sc}{<-> s * [.9] phvbcn8t}{}
+\DeclareFontShape{T1}{phv}{bc}{sl}{<-> s * [.9] phvbon8t}{}
+\DeclareFontShape{T1}{phv}{m}{n}{<-> s * [.9] phvr8t}{}
+\DeclareFontShape{T1}{phv}{m}{sc}{<-> s * [.9] phvrc8t}{}
+\DeclareFontShape{T1}{phv}{m}{sl}{<-> s * [.9] phvro8t}{}
+\DeclareFontShape{T1}{phv}{mc}{n}{<-> s * [.9] phvrrn8t}{}
+\DeclareFontShape{T1}{phv}{mc}{sc}{<-> s * [.9] phvrcn8t}{}
+\DeclareFontShape{T1}{phv}{mc}{sl}{<-> s * [.9] phvron8t}{}
+\DeclareFontShape{T1}{phv}{bx}{n}{<->ssub * phv/b/n}{}
+\DeclareFontShape{T1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{}
+\DeclareFontShape{T1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{T1}{phv}{b}{it}{<->ssub * phv/b/sl}{}
+\DeclareFontShape{T1}{phv}{bx}{it}{<->ssub * phv/b/it}{}
+\DeclareFontShape{T1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{}
+\DeclareFontShape{T1}{phv}{m}{it}{<->ssub * phv/m/sl}{}
+\DeclareFontShape{T1}{phv}{mc}{it}{<->ssub * phv/mc/sl}{}
+\fi
+\mdwf@iffont\mdwf@palatino
+\DeclareFontFamily{OT1}{ppl}{}
+\DeclareFontShape{OT1}{ppl}{b}{n}{<-> pplb7t}{}
+\DeclareFontShape{OT1}{ppl}{b}{sc}{<-> pplbc7t}{}
+\DeclareFontShape{OT1}{ppl}{b}{sl}{<-> pplbo7t}{}
+\DeclareFontShape{OT1}{ppl}{b}{it}{<-> pplbi7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{n}{<-> pplr7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{sc}{<-> pplrc7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{sl}{<-> pplro7t}{}
+\DeclareFontShape{OT1}{ppl}{m}{it}{<-> pplri7t}{}
+\DeclareFontShape{OT1}{ppl}{bx}{n}{<->ssub * ppl/b/n}{}
+\DeclareFontShape{OT1}{ppl}{bx}{sc}{<->ssub * ppl/b/sc}{}
+\DeclareFontShape{OT1}{ppl}{bx}{sl}{<->ssub * ppl/b/sl}{}
+\DeclareFontShape{OT1}{ppl}{bx}{it}{<->ssub * ppl/b/it}{}
+\DeclareFontShape{OT1}{ppl}{l}{n}{<->ssub * ppl/m/n}{}
+\DeclareFontShape{OT1}{ppl}{l}{sc}{<->ssub * ppl/m/sc}{}
+\DeclareFontShape{OT1}{ppl}{l}{sl}{<->ssub * ppl/m/sl}{}
+\DeclareFontShape{OT1}{ppl}{l}{it}{<->ssub * ppl/m/it}{}
+\DeclareFontFamily{T1}{ppl}{}
+\DeclareFontShape{T1}{ppl}{b}{n}{<-> pplb8t}{}
+\DeclareFontShape{T1}{ppl}{b}{sc}{<-> pplbc8t}{}
+\DeclareFontShape{T1}{ppl}{b}{sl}{<-> pplbo8t}{}
+\DeclareFontShape{T1}{ppl}{b}{it}{<-> pplbi8t}{}
+\DeclareFontShape{T1}{ppl}{m}{n}{<-> pplr8t}{}
+\DeclareFontShape{T1}{ppl}{m}{sc}{<-> pplrc8t}{}
+\DeclareFontShape{T1}{ppl}{m}{sl}{<-> pplro8t}{}
+\DeclareFontShape{T1}{ppl}{m}{it}{<-> pplri8t}{}
+\DeclareFontShape{T1}{ppl}{bx}{n}{<->ssub * ppl/b/n}{}
+\DeclareFontShape{T1}{ppl}{bx}{sc}{<->ssub * ppl/b/sc}{}
+\DeclareFontShape{T1}{ppl}{bx}{sl}{<->ssub * ppl/b/sl}{}
+\DeclareFontShape{T1}{ppl}{bx}{it}{<->ssub * ppl/b/it}{}
+\DeclareFontShape{T1}{ppl}{l}{n}{<->ssub * ppl/m/n}{}
+\DeclareFontShape{T1}{ppl}{l}{sc}{<->ssub * ppl/m/sc}{}
+\DeclareFontShape{T1}{ppl}{l}{sl}{<->ssub * ppl/m/sl}{}
+\DeclareFontShape{T1}{ppl}{l}{it}{<->ssub * ppl/m/it}{}
+\fi
+\mdwf@iffont\mdwf@times
+\DeclareFontFamily{OT1}{ptm}{}
+\DeclareFontShape{OT1}{ptm}{b}{n}{<-> ptmb7t}{}
+\DeclareFontShape{OT1}{ptm}{b}{sc}{<-> ptmbc7t}{}
+\DeclareFontShape{OT1}{ptm}{b}{sl}{<-> ptmbo7t}{}
+\DeclareFontShape{OT1}{ptm}{b}{it}{<-> ptmbi7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{n}{<-> ptmr7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{sc}{<-> ptmrc7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{sl}{<-> ptmro7t}{}
+\DeclareFontShape{OT1}{ptm}{m}{it}{<-> ptmri7t}{}
+\DeclareFontShape{OT1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{}
+\DeclareFontShape{OT1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{}
+\DeclareFontShape{OT1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{}
+\DeclareFontShape{OT1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{}
+\DeclareFontShape{OT1}{ptm}{l}{n}{<->ssub * ptm/m/n}{}
+\DeclareFontShape{OT1}{ptm}{l}{sc}{<->ssub * ptm/m/sc}{}
+\DeclareFontShape{OT1}{ptm}{l}{sl}{<->ssub * ptm/m/sl}{}
+\DeclareFontShape{OT1}{ptm}{l}{it}{<->ssub * ptm/m/it}{}
+\DeclareFontFamily{T1}{ptm}{}
+\DeclareFontShape{T1}{ptm}{b}{n}{<-> ptmb8t}{}
+\DeclareFontShape{T1}{ptm}{b}{sc}{<-> ptmbc8t}{}
+\DeclareFontShape{T1}{ptm}{b}{sl}{<-> ptmbo8t}{}
+\DeclareFontShape{T1}{ptm}{b}{it}{<-> ptmbi8t}{}
+\DeclareFontShape{T1}{ptm}{m}{n}{<-> ptmr8t}{}
+\DeclareFontShape{T1}{ptm}{m}{sc}{<-> ptmrc8t}{}
+\DeclareFontShape{T1}{ptm}{m}{sl}{<-> ptmro8t}{}
+\DeclareFontShape{T1}{ptm}{m}{it}{<-> ptmri8t}{}
+\DeclareFontShape{T1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{}
+\DeclareFontShape{T1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{}
+\DeclareFontShape{T1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{}
+\DeclareFontShape{T1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{}
+\DeclareFontShape{T1}{ptm}{l}{n}{<->ssub * ptm/m/n}{}
+\DeclareFontShape{T1}{ptm}{l}{sc}{<->ssub * ptm/m/sc}{}
+\DeclareFontShape{T1}{ptm}{l}{sl}{<->ssub * ptm/m/sl}{}
+\DeclareFontShape{T1}{ptm}{l}{it}{<->ssub * ppl/m/it}{}
+\fi
+\ifnum\mdwf@mathsfont=\mdwf@palatino
+\DeclareSymbolFont{operators} {OT1}{pplcm}{m}{n}
+\DeclareSymbolFont{letters} {OML}{pplcm}{m}{it}
+\DeclareSymbolFont{bold} {OT1}{ppl}{bx}{n}
+\DeclareSymbolFont{italic} {OT1}{ppl}{m}{it}
+\fi
+\ifnum\mdwf@mathsfont=\mdwf@times
+\DeclareSymbolFont{operators} {OT1}{ptmcm}{m}{n}
+\DeclareSymbolFont{letters} {OML}{ptmcm}{m}{it}
+\DeclareSymbolFont{bold} {OT1}{ptm}{bx}{n}
+\DeclareSymbolFont{italic} {OT1}{ptm}{m}{it}
+\fi
+\if1\ifnum\mdwf@mathsfont=\mdwf@times1\else
+ \ifnum\mdwf@mathsfont=\mdwf@palatino1\else0\fi\fi
+\DeclareSymbolFont{symbols} {OMS}{pzccm}{m}{n}
+\DeclareSymbolFont{largesymbols}{OMX}{psycm}{m}{n}
+\thinmuskip=2mu
+\medmuskip=2.5mu plus 1mu minus 1mu
+\thickmuskip=4mu plus 1.5mu minus 1mu
+\def\boldmath{%
+ \@warning{there is no bold Symbol font}%
+ \global\let\boldmath=\relax
+}
+\DeclareMathSymbol{\omicron}{0}{operators}{`\o}
+\DeclareMathSizes{5}{5}{5}{5}
+\DeclareMathSizes{6}{6}{5}{5}
+\DeclareMathSizes{7}{7}{5}{5}
+\DeclareMathSizes{8}{8}{6}{5}
+\DeclareMathSizes{9}{9}{7}{5}
+\DeclareMathSizes{10}{10}{7.4}{6}
+\DeclareMathSizes{10.95}{10.95}{8}{6}
+\DeclareMathSizes{12}{12}{9}{7}
+\DeclareMathSizes{14.4}{14.4}{10.95}{8}
+\DeclareMathSizes{17.28}{17.28}{12}{10}
+\DeclareMathSizes{20.74}{20.74}{14.4}{12}
+\DeclareMathSizes{24.88}{24.88}{17.28}{14.4}
+\DeclareFontSubstitution{OMS}{pzccm}{m}{n}
+\fi
+\def\mdwf@cmr{cmr}
+\def\mdwf@cmss{cmss}
+\def\mdwf@cmtt{cmtt}
+\def\mdwf@times{ptm}
+\def\mdwf@palatino{ppl}
+\def\mdwf@helvetica{phv}
+\def\mdwf@courier{pcr}
+\edef\rmdefault{\mdwf@bodyfont}
+\edef\sfdefault{\mdwf@sansfont}
+\edef\ttdefault{\mdwf@ttfont}
+\edef\headdefault{\mdwf@headfont}
+\def\mdwf@mathsfam#1#2#3{%
+ \edef\@tempa{\noexpand\DeclareMathAlphabet{\noexpand#1}{#2}{#3}}%
+ \@tempa%
+}
+\mdwf@mathsfam{\mathit}{OT1}{\rmdefault}{m}{it}
+\mdwf@mathsfam{\mathbf}{OT1}{\rmdefault}{bx}{n}
+\mdwf@mathsfam{\mathsf}{OT1}{\sfdefault}{m}{n}
+\mdwf@mathsfam{\mathtt}{OT1}{\ttdefault}{m}{n}
+\def\headfam{\fontfamily\headdefault\selectfont}
+\begingroup
+\catcode`\.11
+\if1\ifx\ver@article.cls\@@undefined
+ \ifx\ver@report.cls\@@undefined
+ \ifx\ver@book.cls\@@undefined
+ \ifx\ver@amsart.cls\@@undefined
+ \ifx\ver@amsproc.cls\@@undefined
+ \ifx\ver@amsbook.cls\@@undefined0%
+ \else1\fi
+ \else1\fi
+ \else1\fi
+ \else1\fi
+ \else1\fi
+ \else1\fi
+ \def\@startsection#1#2#3#4#5#6#7{%
+ \gdef#7{\@startsection{#1}{#2}{#3}{#4}{#5}{#6\headfam}}%
+ }
+ \section\section
+ \subsection\subsection
+ \subsubsection\subsubsection
+ \paragraph\paragraph
+ \subparagraph\subparagraph
+ \if1\ifx\ver@amsart.cls\@@undefined\ifx\ver@amsproc.cls\@@undefined0%
+ \else1\fi\else1\fi
+ \part\part
+ \fi
+ \long\def\mdwf@grab#1{\expandafter\mdwf@grab@i#1\@@delim}
+ \long\def\mdwf@grab@i#1\@@delim#2{#2{#1}}
+ \def\mdwf@patch@opt#1{\mdwf@grab{#1[##1]{##2}}\mdwf@patch@opt@i#1}
+ \long\def\mdwf@patch@opt@i#1#2{\gdef#2[##1]##2{%
+ \let\mdwf@@bfseries\bfseries\def\bfseries{\headfam\mdwf@@bfseries}%
+ #1%
+ \let\bfseries\mdwf@@bfseries%
+ }}%
+ \def\mdwf@patch#1{\mdwf@grab{#1{##1}}\mdwf@patch@i#1}
+ \long\def\mdwf@patch@i#1#2{\gdef#2##1{%
+ \let\mdwf@@bfseries\bfseries\def\bfseries{\headfam\mdwf@@bfseries}%
+ #1%
+ \let\bfseries\mdwf@@bfseries%
+ }}%
+ \if0\ifx\ver@amsart.cls\@@undefined\ifx\ver@amsproc.cls\@@undefined0%
+ \else1\fi\else1\fi
+ \mdwf@patch@opt\@part
+ \mdwf@patch\@spart
+ \fi
+ \ifx\@makechapterhead\@@undefined\else
+ \mdwf@patch\@makechapterhead
+ \mdwf@patch\@makeschapterhead
+ \fi
+\fi
+\endgroup
+\endinput
+%%
+%% End of file `mdwfonts.sty'.
diff --git a/macros/latex/contrib/mdwfonts/pcrb7tn.tfm b/macros/latex/contrib/mdwfonts/pcrb7tn.tfm
new file mode 100644
index 0000000000..d9ef3f2c10
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrb7tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrb7tn.vf b/macros/latex/contrib/mdwfonts/pcrb7tn.vf
new file mode 100644
index 0000000000..bec3f7837b
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrb7tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrb8a.tfm b/macros/latex/contrib/mdwfonts/pcrb8a.tfm
new file mode 100644
index 0000000000..2c8a0b2c92
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrb8a.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrb8rn.tfm b/macros/latex/contrib/mdwfonts/pcrb8rn.tfm
new file mode 100644
index 0000000000..d44b30504a
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrb8rn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrb8tn.tfm b/macros/latex/contrib/mdwfonts/pcrb8tn.tfm
new file mode 100644
index 0000000000..2fdba18d72
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrb8tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrb8tn.vf b/macros/latex/contrib/mdwfonts/pcrb8tn.vf
new file mode 100644
index 0000000000..09cb56cd89
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrb8tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbc7tn.tfm b/macros/latex/contrib/mdwfonts/pcrbc7tn.tfm
new file mode 100644
index 0000000000..0fbcb464a7
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbc7tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbc7tn.vf b/macros/latex/contrib/mdwfonts/pcrbc7tn.vf
new file mode 100644
index 0000000000..8ba43e6318
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbc7tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbc8tn.tfm b/macros/latex/contrib/mdwfonts/pcrbc8tn.tfm
new file mode 100644
index 0000000000..a543f13a92
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbc8tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbc8tn.vf b/macros/latex/contrib/mdwfonts/pcrbc8tn.vf
new file mode 100644
index 0000000000..a552c23c86
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbc8tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbo7tn.tfm b/macros/latex/contrib/mdwfonts/pcrbo7tn.tfm
new file mode 100644
index 0000000000..93aa89b840
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbo7tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbo7tn.vf b/macros/latex/contrib/mdwfonts/pcrbo7tn.vf
new file mode 100644
index 0000000000..2e0373ae84
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbo7tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbo8a.tfm b/macros/latex/contrib/mdwfonts/pcrbo8a.tfm
new file mode 100644
index 0000000000..fe2463a152
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbo8a.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbo8rn.tfm b/macros/latex/contrib/mdwfonts/pcrbo8rn.tfm
new file mode 100644
index 0000000000..aac8340d40
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbo8rn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbo8tn.tfm b/macros/latex/contrib/mdwfonts/pcrbo8tn.tfm
new file mode 100644
index 0000000000..2a0097c056
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbo8tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrbo8tn.vf b/macros/latex/contrib/mdwfonts/pcrbo8tn.vf
new file mode 100644
index 0000000000..d5b74a7c9f
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrbo8tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrr7tn.tfm b/macros/latex/contrib/mdwfonts/pcrr7tn.tfm
new file mode 100644
index 0000000000..b761a62bbe
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrr7tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrr7tn.vf b/macros/latex/contrib/mdwfonts/pcrr7tn.vf
new file mode 100644
index 0000000000..afc898e168
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrr7tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrr8a.tfm b/macros/latex/contrib/mdwfonts/pcrr8a.tfm
new file mode 100644
index 0000000000..b42051afdc
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrr8a.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrr8rn.tfm b/macros/latex/contrib/mdwfonts/pcrr8rn.tfm
new file mode 100644
index 0000000000..f3fdedb84f
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrr8rn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrr8tn.tfm b/macros/latex/contrib/mdwfonts/pcrr8tn.tfm
new file mode 100644
index 0000000000..ce838f686e
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrr8tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrr8tn.vf b/macros/latex/contrib/mdwfonts/pcrr8tn.vf
new file mode 100644
index 0000000000..7221bf996f
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrr8tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrrc7tn.tfm b/macros/latex/contrib/mdwfonts/pcrrc7tn.tfm
new file mode 100644
index 0000000000..285485e220
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrrc7tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrrc7tn.vf b/macros/latex/contrib/mdwfonts/pcrrc7tn.vf
new file mode 100644
index 0000000000..0f4196c3b4
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrrc7tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrrc8tn.tfm b/macros/latex/contrib/mdwfonts/pcrrc8tn.tfm
new file mode 100644
index 0000000000..0b0959e2cf
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrrc8tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrrc8tn.vf b/macros/latex/contrib/mdwfonts/pcrrc8tn.vf
new file mode 100644
index 0000000000..b8e09d33a6
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrrc8tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrro7tn.tfm b/macros/latex/contrib/mdwfonts/pcrro7tn.tfm
new file mode 100644
index 0000000000..3e0a59567c
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrro7tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrro7tn.vf b/macros/latex/contrib/mdwfonts/pcrro7tn.vf
new file mode 100644
index 0000000000..b8d17f89ca
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrro7tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrro8a.tfm b/macros/latex/contrib/mdwfonts/pcrro8a.tfm
new file mode 100644
index 0000000000..1b9c499e5c
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrro8a.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrro8rn.tfm b/macros/latex/contrib/mdwfonts/pcrro8rn.tfm
new file mode 100644
index 0000000000..7dfdea7a8f
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrro8rn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrro8tn.tfm b/macros/latex/contrib/mdwfonts/pcrro8tn.tfm
new file mode 100644
index 0000000000..4c915ce64d
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrro8tn.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pcrro8tn.vf b/macros/latex/contrib/mdwfonts/pcrro8tn.vf
new file mode 100644
index 0000000000..77f1750712
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pcrro8tn.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pplr8r.tfm b/macros/latex/contrib/mdwfonts/pplr8r.tfm
new file mode 100644
index 0000000000..e1d0e69961
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pplr8r.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pplri8r.tfm b/macros/latex/contrib/mdwfonts/pplri8r.tfm
new file mode 100644
index 0000000000..14dc61ad54
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pplri8r.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/psyr.tfm b/macros/latex/contrib/mdwfonts/psyr.tfm
new file mode 100644
index 0000000000..e14c353f15
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/psyr.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/pzcmi8r.tfm b/macros/latex/contrib/mdwfonts/pzcmi8r.tfm
new file mode 100644
index 0000000000..65c7d8cd83
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/pzcmi8r.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpplcmr.tfm b/macros/latex/contrib/mdwfonts/zpplcmr.tfm
new file mode 100644
index 0000000000..0005b7d036
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpplcmr.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpplcmr.vf b/macros/latex/contrib/mdwfonts/zpplcmr.vf
new file mode 100644
index 0000000000..4e57854aed
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpplcmr.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpplcmrm.tfm b/macros/latex/contrib/mdwfonts/zpplcmrm.tfm
new file mode 100644
index 0000000000..4a30da7c19
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpplcmrm.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpplcmrm.vf b/macros/latex/contrib/mdwfonts/zpplcmrm.vf
new file mode 100644
index 0000000000..8cc39023ff
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpplcmrm.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpsycmrv.tfm b/macros/latex/contrib/mdwfonts/zpsycmrv.tfm
new file mode 100644
index 0000000000..538137971c
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpsycmrv.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpsycmrv.vf b/macros/latex/contrib/mdwfonts/zpsycmrv.vf
new file mode 100644
index 0000000000..b76bffeb8a
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpsycmrv.vf
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpzccmry.tfm b/macros/latex/contrib/mdwfonts/zpzccmry.tfm
new file mode 100644
index 0000000000..e5531e9e59
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpzccmry.tfm
Binary files differ
diff --git a/macros/latex/contrib/mdwfonts/zpzccmry.vf b/macros/latex/contrib/mdwfonts/zpzccmry.vf
new file mode 100644
index 0000000000..92a462c09a
--- /dev/null
+++ b/macros/latex/contrib/mdwfonts/zpzccmry.vf
Binary files differ