summaryrefslogtreecommitdiff
path: root/language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-03-17 03:01:06 +0000
committerNorbert Preining <norbert@preining.info>2021-03-17 03:01:06 +0000
commitbb51b61cfc3fcb367f52d31948039a1468fbcf80 (patch)
tree2c9be8de7fa3daaf6064452aaecc8ed6a0f8d567 /language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty
parent4947a16af6c8e33f697a8da222db7f3ad027ba94 (diff)
CTAN sync 202103170301
Diffstat (limited to 'language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty')
-rw-r--r--language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty6
1 files changed, 5 insertions, 1 deletions
diff --git a/language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty b/language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty
index 9517245754..d045d0efc2 100644
--- a/language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty
+++ b/language/korean/kotex-oblivoir/tex/memhangul-x/xob-font.sty
@@ -15,7 +15,7 @@
%% oblivoir hangul/hanja font setting.
%% part of oblivoir
%%
-\ProvidesPackage{xob-font}[2021/03/03 v0.9 select hangul/hanja fonts for oblivoir]
+\ProvidesPackage{xob-font}[2021/03/15 v0.9.1 select hangul/hanja fonts for oblivoir]
%%% obsolete options: retain \if@.. conditions for backward compatibility
\newif\if@nowin\@nowinfalse
@@ -44,6 +44,7 @@
\relax
\RequirePackage{xparse}
+\RequirePackage{etoolbox}
\@ifclassloaded{oblivoir}{}{%
\RequirePackage{fontspec}
\RequirePackage{kotex}
@@ -663,6 +664,9 @@
% \setkomonofont(UnTaza.ttf)
%\fi
+%%% \setmainhangulfont
+\pretocmd{\setmainhangulfont}{\bool_set_true:N \opt_mainfontdeclared_bool}{}{}
+
\AddToHook{env/document/before}{%
\bool_if:NF \opt_mainfontdeclared_bool
{