summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/microtype
diff options
context:
space:
mode:
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
}