From: Hironori Kitagawa Date: Wed, 26 Sep 2012 21:20:13 +0000 (+0900) Subject: lltjfont.sty: use \protected\def in the definiton of \usefont. X-Git-Tag: 20121209.0~27 X-Git-Url: http://git.osdn.net/view?p=luatex-ja%2Fluatexja.git;a=commitdiff_plain;h=971b9e87b4659db7c5c816944126f9a3833f8088 lltjfont.sty: use \protected\def in the definiton of \usefont. --- diff --git a/src/patches/lltjfont.sty b/src/patches/lltjfont.sty index 06d5f2b..936b625 100644 --- a/src/patches/lltjfont.sty +++ b/src/patches/lltjfont.sty @@ -519,7 +519,7 @@ \def\useroman#1#2#3#4{% \romanencoding{#1}\romanfamily{#2}\romanseries{#3}\romanshape{#4}% \selectfont\ignorespaces} -\def\usefont#1#2#3#4{% +\protected\def\usefont#1#2#3#4{% \edef\tmp@item{{#1}}% \expandafter\expandafter\expandafter \inlist@\expandafter\tmp@item\expandafter{\kenc@list}%