From 3f78b824add5f8236277b3be45a141e7436ec5d5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 1 Jun 2006 22:56:51 +0000 Subject: microtype 1.9d git-svn-id: svn://tug.org/texlive/trunk@1647 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/microtype/microtype.ins | 109 +++++++++++---------- 1 file changed, 57 insertions(+), 52 deletions(-) (limited to 'Master/texmf-dist/source/latex/microtype/microtype.ins') diff --git a/Master/texmf-dist/source/latex/microtype/microtype.ins b/Master/texmf-dist/source/latex/microtype/microtype.ins index 0c700a5c05c..a1c1395231d 100644 --- a/Master/texmf-dist/source/latex/microtype/microtype.ins +++ b/Master/texmf-dist/source/latex/microtype/microtype.ins @@ -1,20 +1,19 @@ % -*- TeX:UK -*- -% $Id: microtype.ins,v 1.8 2005-10-28 16:22:21+02 schlicht Exp schlicht $ +% $Id: microtype.ins,v 1.11 2006-05-05 19:20:39+02 schlicht Exp schlicht $ % ----------------------------------------------------------------------- \newif\ifbeta %\betatrue \input docstrip \keepsilent \askonceonly - \preamble ----------------------------------------------------------------------- The `microtype' package An interface to the micro-typographic extensions of pdfTeX - Copyright (c) 2004, 2005 R Schlicht + Copyright (c) 2004--2006 R Schlicht -This work may be distributed and/or modified under the conditions of +This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 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.3 or later @@ -34,66 +33,72 @@ derived file microtype.sty. {\catcode`\^^M=13 % \gdef\declarepreambleX#1#2 \endpreamble{\endgroup% - \def^^M{^^J\MetaPrefix\space}% - \edef#1{\firstpreamblepart\checkeoln#2\empty ------------------------------------------------------------------------^^M}}} - + \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\cfgpreamble - This is the main configuration file for the `microtype' package. - It contains settings for font expansion and character protrusion. - Please consult the documentation for details. - - You may customize these settings here, or in a different file. If - you think you have found improvements to the settings, please tell - me about them. - - When modifying this file, also change the identification line below. + This is the main configuration file for the `microtype' package. + It contains settings for font expansion and character protrusion, + as well as character inheritance and font set declarations. + Please consult the documentation for details.^^M + You may customize these settings here, or in a different file. If + you think you have found improvements to the 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 contains settings for font expansion and character - protrusion. Please consult the documentation for details. - - If you think you have found improvements to these settings, please - tell me about them. - - When modifying this file, also change the identification line below. + This is a font-specific configuration file for the `microtype' + package. It contains settings for font expansion and character + protrusion. 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. + 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 - - These settings have been prepared by, and are copied with the - generous permission of, Harald Harders . - + Harald Harders .^^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{ - \file{microtype.sty}{\from{microtype.dtx}{package\ifbeta,beta\fi}} - \usepreamble\cfgpreamble - \file{microtype.cfg}{\from{microtype.dtx}{config,m-t\ifbeta,beta\fi}} - \usepreamble\fontpreamble - \file{mt-bch.cfg}{\from{microtype.dtx}{config,bch}} - \file{mt-cmr.cfg}{\from{microtype.dtx}{config,cmr}} - \file{mt-pad.cfg}{\from{microtype.dtx}{config,pad}} - \file{mt-ppl.cfg}{\from{microtype.dtx}{config,ppl}} - \file{mt-ptm.cfg}{\from{microtype.dtx}{config,ptm}} - \file{mt-msa.cfg}{\from{microtype.dtx}{config,cfg-u,msa}} - \file{mt-msb.cfg}{\from{microtype.dtx}{config,cfg-u,msb}} - \file{mt-euf.cfg}{\from{microtype.dtx}{config,cfg-u,euf}} - \file{mt-eus.cfg}{\from{microtype.dtx}{config,cfg-u,eus}} - \usepreamble\haraldpreamble - \file{mt-pmn.cfg}{\from{microtype.dtx}{config,pmn}} - \usepreamble\testpreamble - \file{test-microtype.tex}{\from{microtype.dtx}{test}} + \makefile{microtype.sty}{package\ifbeta,beta\fi} + \usepreamble\cfgpreamble + \makefile{microtype.cfg}{config,cfg-t,m-t\ifbeta,beta\fi} + \usepreamble\fontpreamble + \makecfg{t}{bch} + \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}{eus} + \makecfg{e}{zpeu} + \makecfg{e}{euroitc} + \makecfg{e}{mvs} + \usepreamble\haraldpreamble + \makecfg{t}{pmn} + \usepreamble\testpreamble + \makefile{test-microtype.tex}{test} } \obeyspaces -- cgit v1.2.3