summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/microtype/microtype.ins
blob: 6af5d5c8b798a317767295222e74982ac45fe698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
% !Mode:: "TeX:STY:UK"
% $Id: microtype.ins,v 1.19 2009-11-09 05:57:07+01 schlicht Exp schlicht $
% ------------------------------------------------------------------------
\input docstrip
\keepsilent
\askonceonly
\preamble

------------------------------------------------------------------------

                      The `microtype' package
       An interface to the micro-typographic extensions of pdfTeX
          Copyright (c) 2004--2009  R Schlicht <w.m.l@gmx.net>

This work may be distributed and/or modified under the conditions of the
LaTeX Project Public License, either version 1.3c of this license or (at
your option) any later version. The latest version of this license is in:
http://www.latex-project.org/lppl.txt, and version 1.3c or later is part
of all distributions of LaTeX version 2005/12/01 or later.

This work has the LPPL maintenance status `author-maintained'.

This work consists of the files  microtype.dtx and microtype.ins and the
derived files microtype.sty and letterspace.sty.

% Modified versions of the configuration files (*.cfg) may be distributed
% provided that: (1) the original copyright statement is not removed, and
% (2) the identification string is changed.
------------------------------------------------------------------------

\endpreamble
{\catcode`\^^M=13 %
 \gdef\declarepreambleX#1#2
\endpreamble{\endgroup%
  \def^^M{^^J\MetaPrefix\space}%
  \edef#1{\firstpreamblepart\checkeoln#2\lastpreamblepart\empty}}}
\def\defaultlastpreamblepart{^^J\MetaPrefix\space
------------------------------------------------------------------------
^^J\MetaPrefix}
\let\firstpreamblepart\defaultpreamble
\let\lastpreamblepart \defaultlastpreamblepart
\declarepreamble\lsppreamble
  This is a stand-alone version that only provides the letterspacing
  commands. Do not use this package together with the `microtype' package.
  Please refer to section 7 of the `microtype' documentation.
\endpreamble
\declarepreamble\cfgpreamble
  This is the main configuration file for the `microtype' package.
  It contains settings for font expansion and character protrusion,
  tracking, interword spacing and additional kerning, as well as
  character inheritance and font set declarations.
  You may customise these settings here, or in a different file.
  Please consult the documentation for details.^^M
  If you think you have found improvements to these settings, please
  let me know.^^M
  When modifying this file, also change the identification line below.
\endpreamble
\declarepreamble\fontpreamble
  This is a font-specific configuration file for the `microtype' package.
  It may contain settings for font expansion and character protrusion,
  tracking, interword spacing and additional kerning, as well as
  character inheritance declarations.
  Please consult the documentation for details.^^M
  If you think you have found improvements to these settings, please
  let me know.^^M
  When modifying this file, also change the identification line below.
\endpreamble
\declarepreamble\testpreamble
  This file might be useful to test protrusion settings for a font.
  You can do whatever you want with it.
\endpreamble
\let\firstpreamblepart\fontpreamble
\let\lastpreamblepart \empty
\declarepreamble\contribpreamble^^M
    These settings have been prepared by, and are copied with the
    generous permission of:
\endpreamble
\let\firstpreamblepart\contribpreamble
\let\lastpreamblepart \defaultlastpreamblepart
\declarepreamble\haraldpreamble
 Harald Harders <h.harders{at}tu-bs.de>.^^M
\endpreamble

\def\makefile#1#2{\file{#1}{\from{microtype.dtx}{#2}}}
\def\makecfg#1#2{\makefile{mt-#2.cfg}{config,cfg-#1,#2}}

% ------------------------------------------------------------------------

\generate{
    \makefile{microtype.sty}{package,lua}
  \usepreamble\lsppreamble
    \makefile{letterspace.sty}{letterspace,plain}
  \usepreamble\cfgpreamble
    \makefile{microtype.cfg}{config,cfg-t,m-t}
  \usepreamble\fontpreamble
    \makecfg{t}{bch}
    \makecfg{t}{blg}
    \makecfg{t}{cmr}
    \makecfg{t}{pad}
    \makecfg{t}{ppl}
    \makecfg{t}{ptm}
    \makecfg{t}{ugm}
    \makecfg{u}{msa}
    \makecfg{u}{msb}
    \makecfg{u}{euf}
    \makecfg{u}{eur}
    \makecfg{u}{eus}
    \makecfg{e}{zpeu}
    \makecfg{e}{euroitc}
    \makecfg{e}{mvs}
  \usepreamble\haraldpreamble
    \makecfg{t}{pmn}
  \usepreamble\testpreamble
    \makefile{test-microtype.tex}{test}
}

\obeyspaces
\Msg{***********************************************************************}
\Msg{* To finish installation, move all files to their appropriate places. *}
\Msg{* See the documentation for details.                                  *}
\Msg{* You can create the documentation by running latex on microtype.dtx. *}
\Msg{***********************************************************************}

\endbatchfile