summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def39
1 files changed, 20 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def
index 2729281d6cb..fbf8c63fb54 100644
--- a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def
+++ b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def
@@ -10,7 +10,7 @@
%%
%% The `microtype' package
%% Subliminal refinements towards typographical perfection
-%% Copyright (c) 2004--2013 R Schlicht <w.m.l@gmx.net>
+%% Copyright (c) 2004--2016 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
@@ -21,8 +21,8 @@
%% 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, microtype-pdftex.def, microtype-xetex.def,
-%% microtype-luatex.def, microtype.lua and letterspace.sty.
+%% derived files microtype.sty, microtype-pdftex.def, microtype-luatex.def,
+%% microtype-xetex.def, microtype.lua and letterspace.sty.
%%
%% ------------------------------------------------------------------------
%% This file contains enginge-specific definitions.
@@ -30,10 +30,10 @@
%%
\ProvidesFile
{microtype-pdftex.def}
- [2013/05/23 v2.5a
+ [2016/05/01 v2.6
Definitions specific to
pdftex
- (RS)]
+ (RS)]
\def\MT@pdftex@no{7}
\ifnum\pdftexversion = 140
\ifnum\pdftexrevision < 4
@@ -135,14 +135,12 @@
\fi
}
}
-\def\MT@do@font{\MT@while@num\z@
- \@cclvi
-}
+\def\MT@do@font{\MT@while@num\z@\@cclvi}
\MT@requires@pdftex5{
\def\MT@ledmac@setup{%
\ifMT@protrusion
\MT@ifdefined@c@TF\l@dunhbox@line{%
- \MT@info@nl{Patching (e)ledmac to enable character protrusion}%
+ \MT@info@nl{Patching ((r)e)ledmac to enable character protrusion}%
\let\MT@led@unhbox@line\l@dunhbox@line
\renewcommand*{\l@dunhbox@line}[1]{%
\ifhbox##1%
@@ -154,7 +152,8 @@
}{%
\MT@warning@nl{%
Character protrusion in paragraphs with line\MessageBreak
- numbering will only work if you update ledmac}%
+ numbering will only work if you update ledmac,\MessageBreak
+ or use one of its successors, eledmac or reledmac}%
}%
\fi
}
@@ -164,7 +163,7 @@
\MT@warning@nl{%
The pdftex version you are using does not allow\MessageBreak
character protrusion in paragraphs with line\MessageBreak
- numbering by the `ledmac' package.\MessageBreak
+ numbering by the `((r)e)ledmac' package.\MessageBreak
Upgrade pdftex to version 1.30 or later}%
\fi
}
@@ -685,6 +684,7 @@
\MT@afteraftergroup{%
\MT@set@curr@os
\MT@set@curr@ok
+ \MT@glet\noexpand\glb@currsize\noexpand\@empty
\noexpand\MT@tr@outer@r
}%
\fi
@@ -727,7 +727,7 @@
\def\MT@set@lsfont{\MT@exp@two@c\let\font@name\MT@lsfont}
\DeclareRobustCommand\lsstyle{%
\not@math@alphabet\lsstyle\textls
- \let\glb@currsize\@empty
+ \MT@glet\glb@currsize\@empty
\def\MT@feat{tr}%
\let\MT@tracking\MT@set@tr@codes
\selectfont
@@ -883,7 +883,7 @@
\MT@if@outer@next\space\relax{%
\MT@if@outer@next\@xobeysp\relax{%
\MT@if@outer@next\xspace{%
- \def\MT@temp*\xspace{\futurelet\@let@token\MT@xspace}%
+ \def\MT@temp*\xspace{\MT@xspace}%
}{%
\def\MT@temp*{\ifdim\MT@outer@kern=\z@\else\MT@ls@outer@k
\fi}%
@@ -897,7 +897,8 @@
\let\@let@token= \MT@tr@outer@next
\maybe@ic@
}
-\def\MT@xspace{\@xspace@firsttrue\@xspace
+\def\MT@xspace{\futurelet\@let@token\MT@xspace@}
+\def\MT@xspace@{\@xspace@firsttrue\@xspace
\ifdim\lastskip>5sp
\unskip \hskip\MT@outer@space
\else
@@ -969,7 +970,10 @@
\def\MT@curr@list@name{\@backslashchar DisableLigatures}%
\MT@map@clist@c#2{%
\KV@@sp@def\@tempa{##1}\MT@get@slot
- \ifnum\MT@char>\m@ne \tagcode#1\MT@char=\m@ne \fi}%
+ \ifnum\MT@char>\m@ne
+ \tagcode#1\MT@char=\m@ne
+ \fi
+ }%
\MT@vinfo{... Disabling ligatures for characters: #2}%
}{%
\pdfnoligatures#1%
@@ -979,7 +983,7 @@
}%
}{%
\pdfnoligatures#1%
- \MT@vinfo{... Disabling ligatures}%
+ \MT@vinfo{... Disabling all ligatures}%
}%
}
}\relax
@@ -1347,9 +1351,6 @@
}
\MT@define@optionX@{tracking}{\ifnum\@tempcnta=\z@ \let\MT@tracking\MT@set@tr@zero
\else \let\MT@tracking\MT@tracking@ \fi}
- \MT@define@optionX@{spacing}{\pdfadjustinterwordglue\@tempcnta}
- \MT@define@optionX@{kerning}{\pdfprependkern\@tempcnta
- \pdfappendkern \@tempcnta}
}{
\define@key{MTX}{tracking}[true]{\MT@warning{Ignoring tracking setup}}
\define@key{MTX}{kerning}[true]{\MT@warning{Ignoring kerning setup}}