texlive[62974] Master/texmf-dist: kotex-oblivoir (7apr22)

commits+karl at tug.org commits+karl at tug.org
Thu Apr 7 22:31:29 CEST 2022


Revision: 62974
          http://tug.org/svn/texlive?view=revision&revision=62974
Author:   karl
Date:     2022-04-07 22:31:29 +0200 (Thu, 07 Apr 2022)
Log Message:
-----------
kotex-oblivoir (7apr22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/README
    trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty
    trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty
    trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls
    trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls

Modified: trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/README
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty	2022-04-06 23:49:29 UTC (rev 62973)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty	2022-04-07 20:31:29 UTC (rev 62974)
@@ -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 at sh@ns at current page\endcsname{rectangle}%
-    \strictpagecheck%
-    \checkoddpage%
-    \ifoddpage%
-        \expandafter\def\csname pgf at sh@np at current page\endcsname{%
-          \def\southwest{\pgfpoint{\stockwidth-\paperwidth-\trimedge}%
-                                  {\stockheight-\trimtop-\paperheight}}%
-          \def\northeast{\pgfpoint{\stockwidth-\trimedge}{\stockheight-\trimtop}}%
-        }%
-    \else
-        \expandafter\def\csname pgf at sh@np at current page\endcsname{%
-          \def\southwest{\pgfpoint{\trimedge}{\stockheight-\trimtop-\paperheight}}%
-          \def\northeast{\pgfpoint{\trimedge+\paperwidth}{\stockheight-\trimtop}}%
-        }%
-    \fi
-    \expandafter\def\csname pgf at sh@nt at current page\endcsname{{1}{0}{0}{1}{0pt}{0pt}}%
-    \expandafter\def\csname pgf at sh@pi at current page\endcsname{pgfpageorigin}}
-
-\pgfkeys{/tikz/overlay/.add code={}{\setpagenode}}
-\fi
-}{}
+    \newcommand\setpagenode{%
+        \expandafter\def\csname pgf at sh@ns at current page\endcsname{rectangle}%
+        \strictpagecheck%
+        \checkoddpage%
+        \ifoddpage%
+            \expandafter\def\csname pgf at sh@np at current page\endcsname{%
+              \def\southwest{\pgfpoint{\stockwidth-\paperwidth-\trimedge}%
+                                      {\stockheight-\trimtop-\paperheight}}%
+              \def\northeast{\pgfpoint{\stockwidth-\trimedge}{\stockheight-\trimtop}}%
+            }%
+        \else
+            \expandafter\def\csname pgf at sh@np at current page\endcsname{%
+              \def\southwest{\pgfpoint{\trimedge}{\stockheight-\trimtop-\paperheight}}%
+              \def\northeast{\pgfpoint{\trimedge+\paperwidth}{\stockheight-\trimtop}}%
+            }%
+        \fi
+        \expandafter\def\csname pgf at sh@nt at current page\endcsname{{1}{0}{0}{1}{0pt}{0pt}}%
+        \expandafter\def\csname pgf at sh@pi at current page\endcsname{pgfpageorigin}}
+    
+    \pgfkeys{/tikz/overlay/.add code={}{\setpagenode}}
+  }{}
 }
 
 %%% \texthl

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty	2022-04-06 23:49:29 UTC (rev 62973)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty	2022-04-07 20:31:29 UTC (rev 62974)
@@ -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 at .. conditions for backward compatibility
 \newif\if at nowin\@nowinfalse
@@ -62,6 +62,7 @@
 \if at 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,6 +680,7 @@
         	\fi
         	\setkosansfont(NanumGothic)(*Bold)(*)
         	\setkomonofont(NanumGothic)
+			\tl_set:Nn \ko_regu_font_name { NanumMyeongjo }
         \else
         %%% [hcr] adds [Script=Hangul] feature automatically.
         \if at hcrfonts
@@ -684,12 +687,18 @@
         	\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.

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls	2022-04-06 23:49:29 UTC (rev 62973)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls	2022-04-07 20:31:29 UTC (rev 62974)
@@ -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 at chapter\else

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls	2022-04-06 23:49:29 UTC (rev 62973)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls	2022-04-07 20:31:29 UTC (rev 62974)
@@ -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}



More information about the tex-live-commits mailing list.