From 61708ee48576253b5b4bd021bcb68f8244cd0d18 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 19 Nov 2019 00:01:37 +0000
Subject: microtype (19nov19)

git-svn-id: svn://tug.org/texlive/trunk@52853 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/microtype/microtype.sty | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/microtype/microtype.sty')

diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.sty b/Master/texmf-dist/tex/latex/microtype/microtype.sty
index ff823d55f97..302589147d3 100644
--- a/Master/texmf-dist/tex/latex/microtype/microtype.sty
+++ b/Master/texmf-dist/tex/latex/microtype/microtype.sty
@@ -29,7 +29,7 @@
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage
   {microtype}
-  [2019/10/10 v2.7c
+  [2019/11/18 v2.7d
    Micro-typographical refinements
    (RS)]
 \def\MT@MT
@@ -1289,8 +1289,13 @@ time will almost certainly lead to undesired results. Have your choice!}%
 }
 \def\MT@check@font{\MT@exp@one@n\MT@in@clist\MT@font\MT@font@list}
 \def\MT@register@font{\xdef\MT@font@list{\MT@font@list\MT@font,}}
-\def\MT@register@subst@font{\MT@exp@one@n\MT@in@clist\font@name\MT@font@list
-  \ifMT@inlist@\else\xdef\MT@font@list{\MT@font@list\font@name,}\fi}
+\def\MT@register@subst@font{%
+  \MT@exp@one@n\MT@in@clist\font@name\MT@font@list
+  \ifMT@inlist@\else
+    \xdef\MT@font@list{\MT@font@list\font@name,}%
+    \expandafter\MT@rem@from@clist\MT@font\MT@font@list
+  \fi
+}
 \let\MT@active@features\@empty
 \def\MT@check@font@cx{%
   \MT@if@true
@@ -1313,6 +1318,8 @@ time will almost certainly lead to undesired results. Have your choice!}%
       \MT@exp@cs\MT@xadd
         {MT@##1@\csname MT@##1@context\endcsname font@list}%
         {\font@name,}%
+      \expandafter\MT@exp@one@n\expandafter\MT@rem@from@clist\expandafter\MT@font
+         \csname MT@##1@\csname MT@##1@context\endcsname font@list\endcsname
     \fi
   }%
 }
-- 
cgit v1.2.3

