diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-07 20:31:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-07 20:31:29 +0000 |
commit | d22bf0247593ecadbf688849328dce9b55bd2ef4 (patch) | |
tree | 3ce13ad7d7954e77c38cd356de6280ca29ed074a /Master/texmf-dist/tex/latex | |
parent | 9c801c56ba908bf417c64de89bfbb7eb2269c013 (diff) |
kotex-oblivoir (7apr22)
git-svn-id: svn://tug.org/texlive/trunk@62974 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
4 files changed, 37 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty index d55aa900156..ed31c8fe3be 100644 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty +++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty @@ -4,8 +4,9 @@ %% (c) 2022 Kangsoo Kim %% %% 2022-03-01, 03-06 +%% 2022-04-07, bugfix %% -\ProvidesPackage{oblivoir-misc}[2022/03/06 version0.2] +\ProvidesPackage{oblivoir-misc}[2022/04/07 version0.3] \RequirePackage{etoolbox} @@ -14,28 +15,27 @@ \AtEndPreamble{% \@ifpackageloaded{pgf}{% -\newcommand\setpagenode{% - \expandafter\def\csname pgf@sh@ns@current page\endcsname{rectangle}% - \strictpagecheck% - \checkoddpage% - \ifoddpage% - \expandafter\def\csname pgf@sh@np@current page\endcsname{% - \def\southwest{\pgfpoint{\stockwidth-\paperwidth-\trimedge}% - {\stockheight-\trimtop-\paperheight}}% - \def\northeast{\pgfpoint{\stockwidth-\trimedge}{\stockheight-\trimtop}}% - }% - \else - \expandafter\def\csname pgf@sh@np@current page\endcsname{% - \def\southwest{\pgfpoint{\trimedge}{\stockheight-\trimtop-\paperheight}}% - \def\northeast{\pgfpoint{\trimedge+\paperwidth}{\stockheight-\trimtop}}% - }% - \fi - \expandafter\def\csname pgf@sh@nt@current page\endcsname{{1}{0}{0}{1}{0pt}{0pt}}% - \expandafter\def\csname pgf@sh@pi@current page\endcsname{pgfpageorigin}} - -\pgfkeys{/tikz/overlay/.add code={}{\setpagenode}} -\fi -}{} + \newcommand\setpagenode{% + \expandafter\def\csname pgf@sh@ns@current page\endcsname{rectangle}% + \strictpagecheck% + \checkoddpage% + \ifoddpage% + \expandafter\def\csname pgf@sh@np@current page\endcsname{% + \def\southwest{\pgfpoint{\stockwidth-\paperwidth-\trimedge}% + {\stockheight-\trimtop-\paperheight}}% + \def\northeast{\pgfpoint{\stockwidth-\trimedge}{\stockheight-\trimtop}}% + }% + \else + \expandafter\def\csname pgf@sh@np@current page\endcsname{% + \def\southwest{\pgfpoint{\trimedge}{\stockheight-\trimtop-\paperheight}}% + \def\northeast{\pgfpoint{\trimedge+\paperwidth}{\stockheight-\trimtop}}% + }% + \fi + \expandafter\def\csname pgf@sh@nt@current page\endcsname{{1}{0}{0}{1}{0pt}{0pt}}% + \expandafter\def\csname pgf@sh@pi@current page\endcsname{pgfpageorigin}} + + \pgfkeys{/tikz/overlay/.add code={}{\setpagenode}} + }{} } %%% \texthl diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty index d045d0efc2b..ac65ab088bc 100644 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty +++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty @@ -15,7 +15,7 @@ %% oblivoir hangul/hanja font setting. %% part of oblivoir %% -\ProvidesPackage{xob-font}[2021/03/15 v0.9.1 select hangul/hanja fonts for oblivoir] +\ProvidesPackage{xob-font}[2022/04/07 v0.9.5 select hangul/hanja fonts for oblivoir] %%% obsolete options: retain \if@.. conditions for backward compatibility \newif\if@nowin\@nowinfalse @@ -62,6 +62,7 @@ \if@oldhangul \bool_set_true:N \hangulscript_bool \else \bool_set_false:N \hangulscript_bool \fi \bool_new:N \opt_mainfontdeclared_bool +\bool_new:N \opt_mathfontdeclared_bool \bool_set_false:N \bold_prov_bool \bool_set_false:N \in_hanja_mode @@ -666,6 +667,7 @@ %%% \setmainhangulfont \pretocmd{\setmainhangulfont}{\bool_set_true:N \opt_mainfontdeclared_bool}{}{} +\pretocmd{\setmathhangulfont}{\bool_set_true:N \opt_mathfontdeclared_bool}{}{} \AddToHook{env/document/before}{% \bool_if:NF \opt_mainfontdeclared_bool @@ -678,18 +680,25 @@ \fi \setkosansfont(NanumGothic)(*Bold)(*) \setkomonofont(NanumGothic) + \tl_set:Nn \ko_regu_font_name { NanumMyeongjo } \else %%% [hcr] adds [Script=Hangul] feature automatically. \if@hcrfonts \setkomainfont(HCRBatangLVT)(HCRBatangLVT-Bold)(HCRBatangLVT) \setkosansfont(HCRDotumLVT)(HCRDotumLVT-Bold)(HCRDotumLVT) \setkomonofont(HCRDotumLVT) + \tl_set:Nn \ko_regu_font_name { HCRBatangLVT } \else %%% 2020/03/03: Now UnFonts is set to default \RequirePackage{ob-unfontsdefault} + \tl_set:Nn \ko_regu_font_name { UnBatang } \fi \fi } + \bool_if:NF \opt_mathfontdeclared_bool + { + \setmathhangulfont{\ko_regu_font_name} + } } %\setkomainfont(UnBatang.ttf)(UnBatangBold.ttf)(UnGraphic.ttf) %\fi\fi @@ -700,6 +709,7 @@ %%% end of file `xob-font.sty` %% CHANGES +%% v0.9.5 : \setmathhangulfont, default (requested by ischo) %% v0.9 : unfontsxe introduced %% v0.8.1 : minor bug fix %% v0.8 : suport fontspec’s FontFace feature. diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls b/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls index 7023eea5502..4c87c9d62ab 100644 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls +++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls @@ -14,7 +14,7 @@ %% depends upon Dohyun Kim's xetexko and the author's memhangul-x. %% \ProvidesClass{oblivoir-xl} - [2022/03/05 v0.8.7 article-like class to typeset Korean] + [2022/04/07 v0.8.8 article-like class to typeset Korean] %\typeout{A variant of oblivoir class for Lua- or XeLaTeX.} \providecommand\@DisabledOption[1]{% @@ -283,7 +283,7 @@ %%% footnotes and floats. codes from memmanadd.pdf \renewcommand*{\footnoterule}{\kern-3pt\vfill \hrule width 0.4\columnwidth \kern 2.6pt} -\setlength{\skip\footins}{1.3\onelineskip} +\setlength{\skip\footins}{1.2\onelineskip} %%% toc 등의 레이아웃. \if@chapter\else diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls b/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls index d7efd823206..12f344a6119 100644 --- a/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls +++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls @@ -10,7 +10,7 @@ %% and version 1.3c or later is part of all distributions of LaTeX %% version 2006/05/20 or later. %% -\ProvidesClass{oblivoir}[2022/04/01 v3.1.3] +\ProvidesClass{oblivoir}[2022/04/07 v3.1.4] \RequirePackage{xkeyval} \RequirePackage{xparse} |