From 16d08fad502d01b3f1c2bbef50071547c3b4c3d0 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Tue, 4 Feb 2020 04:31:35 +0900 Subject: [PATCH] lltjfont.sty: fix --- src/patches/lltjfont.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/patches/lltjfont.sty b/src/patches/lltjfont.sty index 15aa40d..137706b 100644 --- a/src/patches/lltjfont.sty +++ b/src/patches/lltjfont.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjfont}[2020/01/31 Patch to NFSS2 for LuaTeX-ja] +\ProvidesPackage{lltjfont}[2020/02/04 Patch to NFSS2 for LuaTeX-ja] %% patching \DeclareTextComposite \def\ltj@chardef@text@cmd#1{% @@ -621,7 +621,8 @@ \ifx\@reserveda\@empty \edef\k@shape{#2}% \else - \maybe@load@fontshape + \begingroup\let\f@encoding\k@encoding\let\f@family\k@family + \maybe@load@fontshape\endgroup \edef\@reserveda{\k@encoding /\k@family /\k@series/#1}% \ifcsname \@reserveda\endcsname \edef\k@shape{#1}% -- 2.11.0