summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/microtype/microtype-utf.dtx')
-rw-r--r--Master/texmf-dist/source/latex/microtype/microtype-utf.dtx12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx b/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx
index eb10bc5d2fd..15f426bec15 100644
--- a/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx
+++ b/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx
@@ -2,7 +2,7 @@
% ^^A messages to WinEdt:
% !Mode:: "TeX:DTX:UK"
% !smartQuote:: "English"
-% !DTXversion:: "2.6"
+% !DTXversion:: "2.6a"
% ------------------------------------------------------------------------
% The `microtype' package
% Subliminal refinements towards typographical perfection
@@ -27,7 +27,7 @@
%
\ProvidesFile
%<*driver>
- {\jobname.dtx}[2016/05/01 v2.6]
+ {\jobname.dtx}[2016/05/14 v2.6a]
%</driver>
%<CharisSIL> {mt-CharisSIL.cfg}[2013/03/13 v1.0 microtype config. file: Charis SIL (RS)]
%<LatinModernRoman> {mt-LatinModernRoman.cfg}[2013/03/13 v1.0 microtype config. file: Latin Modern Roman (RS)]
@@ -37,6 +37,14 @@
\usepackage{fontspec}
\usepackage{luatexbase}
\RequireLuaModule{luainputenc}
+\ifnum\luatexversion>84
+ \protected\edef\pdfminorversion {\pdfvariable minorversion}
+ \protected\def\pdfobj {\pdfextension obj }
+ \protected\def\pdfcatalog {\pdfextension catalog }
+ \protected\def\pdfmapline {\pdfextension mapline }
+ \protected\def\pdfglyphtounicode {\pdfextension glyphtounicode }
+ \protected\def\pdflastobj {\numexpr\pdffeedback lastobj\relax}
+\fi
\makeatletter
% microtype-doc.sty is 8-bit, and the following is a hack
\luatexbase@directlua{luatexbase.add_to_callback('process_input_buffer', luainputenc.fake_utf_read, 'luainputenc.fake_utf_read')}