summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/microtype
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-18 18:56:40 +0000
committerKarl Berry <karl@freefriends.org>2008-06-18 18:56:40 +0000
commit9f961a65285a9ab345ee4d3d0c909f842f169812 (patch)
tree3cabe7cafa035e123c5c95273db20ed89038d336 /Master/texmf-dist/source/latex/microtype
parent9e94a386a9a31f7e556dca94f9a2361bfad50ea2 (diff)
microtype update (16jun08)
git-svn-id: svn://tug.org/texlive/trunk@8851 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/microtype')
-rw-r--r--Master/texmf-dist/source/latex/microtype/microtype.dtx22
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/microtype/microtype.dtx b/Master/texmf-dist/source/latex/microtype/microtype.dtx
index d880e34e535..0d8d6546ee9 100644
--- a/Master/texmf-dist/source/latex/microtype/microtype.dtx
+++ b/Master/texmf-dist/source/latex/microtype/microtype.dtx
@@ -4,7 +4,7 @@
% !smartQuote:: "English"
% !DTXversion:: "2.3b"
% ------------------------------------------------------------------------
-% $Id: microtype.dtx,v 1.51 2008-06-04 22:22:22+02 schlicht Exp schlicht $
+% $Id: microtype.dtx,v 1.52 2008-06-16 18:16:29+02 schlicht Exp schlicht $
% ------------------------------------------------------------------------
% The `microtype' package
% An interface to the micro-typographic extensions of pdfTeX
@@ -309,8 +309,8 @@
\MacrocodeTopsep=3pt
\setlength\MacroIndent{0pt}
\ifpdf
- \def\theCodelineNo{\reset@font % don't copy line numbers
- \pdfliteral direct{/Span<</ActualText()>>BDC}%
+ \def\theCodelineNo{\reset@font
+ \pdfliteral direct{/Span<</ActualText()>>BDC}% don't copy line numbers
\color{thegrey}\scriptsize\arabic{CodelineNo}\,%
\pdfliteral direct{EMC}}
\else
@@ -400,8 +400,8 @@
keywordstyle=[0]\color{thegreen},
keywords=[1]{protrusion,expansion,activate,DVIoutput,draft,final,verbose,
config,factor,auto,stretch,shrink,step,selected,unit,tracking,spacing,
- kerning,letterspace,babel,%defersetup,copyfonts, % undocumented
- context,no ligatures,outer spacing,outer kerning}, % there are three \nobreakspace in this line
+ kerning,letterspace,babel,context,%defersetup,copyfonts, % undocumented
+ no ligatures,outer spacing,outer kerning}, % there are three \nobreakspace in this line
keywordstyle=[1]\color{thered},
comment=[l]\%,
commentstyle=\color{thegrey}\itshape,
@@ -411,14 +411,14 @@
}
\let\verbatim\relax
\lstnewenvironment{verbatim}[1][]{\lstset{##1}}{}
- \ifpdf
- \def\lst@outputspace{% copy spaces (nbspace from non-embedded Courier)
+ \ifpdf \IfFileExists{dummy-space.pfb}{%
+ \def\lst@outputspace{% copy spaces (from a font that really has a space at x20)
\setbox0\hbox{ }\@tempdima\wd0
- \setbox0\hbox{\courier\char'240}\advance\@tempdima-\wd0
+ \setbox0\hbox{\dummyspace\char"20}\advance\@tempdima-\wd0
\unhbox0 \kern\@tempdima}
- \pdfmapline {=pcrr8y Courier 33 " TeXnANSIEncoding ReEncodeFont " <texnansi.enc}
- \font\courier=pcrr8y
- \fi
+ \pdfmapline{+dummy-space <dummy-space.pfb}
+ \font\dummyspace=dummy-space
+ }\relax \fi
}{
\let\lstset\@gobble
}