summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchaptertoc.sty36
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty17
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/ob-mathleading.sty37
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font.sty13
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls4
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/xoblivoir.cls4
6 files changed, 84 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchaptertoc.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchaptertoc.sty
index 3e9b5eb4af5..74f0492bc41 100644
--- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchaptertoc.sty
+++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchaptertoc.sty
@@ -4,7 +4,7 @@
%%%
%%% written by Nova de Hi
%%%
-\ProvidesPackage{obchaptertoc}[2020/09/03, v2.0]
+\ProvidesPackage{obchaptertoc}[2023/01/30, v3.0]
\RequirePackage{l3keys2e}
\ExplSyntaxOn
@@ -197,21 +197,25 @@
\newcommand\chaptertoc{
\begingroup
- \chaptertocfont
- \let\@orig@markboth\markboth
- \renewcommand\markboth[2]{}
- \setcounter{@memmarkcntra}{\value{tocdepth}}
- \let\changetocdepth\@gobble
- \normalchangetocdepth{-10}
- \cftinsertcode{start-\thetocmarker}{\normalchangetocdepth{\theobchaptocmaxdepth}}
- \cftinsertcode{end-\thetocmarker}{\normalchangetocdepth{-10}}
- \let\tocheadstart\relax
- \let\printtoctitle\@gobble
- \let\aftertoctitle\relax
- %%% formatting chaptertoc
- \@ChapterTOCFormat
- \tableofcontents*
+ \chaptertocfont
+ \let\@orig@markboth\markboth
+ \renewcommand\markboth[2]{}
+ \let\@orig@thispagestyle\thispagestyle
+ \renewcommand\thispagestyle[1]{}
+ \setcounter{@memmarkcntra}{\value{tocdepth}}
+ \let\changetocdepth\@gobble
+ \normalchangetocdepth{-10}
+ \cftinsertcode{start-\thetocmarker}{\normalchangetocdepth{\theobchaptocmaxdepth}}
+ \cftinsertcode{end-\thetocmarker}{\normalchangetocdepth{-10}}
+ \let\tocheadstart\relax
+ \let\printtoctitle\@gobble
+ \let\aftertoctitle\relax
+ %%% formatting chaptertoc
+ \@ChapterTOCFormat
+ \tableofcontents*
\endgroup
+ \let\thispagestyle\@orig@thispagestyle
+ \let\markboth\@orig@markboth
\setcounter{tocdepth}{\value{@memmarkcntra}}
\m@mindentafterchapter
\ifChapterTOCafterskip
@@ -221,3 +225,5 @@
}
\endinput
+
+%%% version 3.0: pagestyle bug fixed
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 ed31c8fe3be..9712b947b74 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
@@ -1,12 +1,13 @@
%% file oblivoir-misc.sty
%% part of oblivoir class
%%
-%% (c) 2022 Kangsoo Kim
+%% (c) 2022-2023 Kangsoo Kim
%%
%% 2022-03-01, 03-06
%% 2022-04-07, bugfix
+%% 2023-02-14, tikzpagenodes-conflict fixed
%%
-\ProvidesPackage{oblivoir-misc}[2022/04/07 version0.3]
+\ProvidesPackage{oblivoir-misc}[2023/02/14 version0.4]
\RequirePackage{etoolbox}
@@ -38,6 +39,17 @@
}{}
}
+
+%%% showtrims and tikzpagenode
+%%% http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=229299
+\AtEndPreamble{
+ \ifshowtrims
+ \@ifpackageloaded{tikzpagenodes}{%
+ \def\current@textarea@top{(\paperheight-\textheight-\lowermargin-\trimtop)}}{}
+ \fi
+}
+
+
%%% \texthl
%%% from oblivoir-patch2.sty, 2021
%%% \texthl command
@@ -120,4 +132,5 @@
}
\ExplSyntaxOff
+
\endinput
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/ob-mathleading.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/ob-mathleading.sty
index 2bad8f4a7f8..d623bc6f77e 100644
--- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/ob-mathleading.sty
+++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/ob-mathleading.sty
@@ -12,12 +12,13 @@
%% v. 0.0.1-pr2 : 2018/12/24
%% v. 0.0.1 : 2018/12/25
%% v. 0.1 : 2022/04/01 : <split> fixed.
+%% v. 0.2 : 2023/02/26, maintenance
%%
\RequirePackage{expl3}
\ProvidesExplPackage
{ob-mathleading}
- {2022/04/01}
- {v0.1}
+ {2023/02/26}
+ {v0.2}
{adjust math leadings for oblivoir}
\@ifpackageloaded{amsmath}{}{\RequirePackage{amsmath}}
@@ -30,7 +31,8 @@
default .bool_set:N = \l_defaultopt_bool,
mathleading .fp_set:N = \l_opt_mathleading_fp,
exception .clist_set:N = \g_opt_mlexception_clist,
- noallowdisplaybreaks .bool_set:N = \g_noallowdispbreak_bool
+ noallowdisplaybreaks .bool_set:N = \g_noallowdispbreak_bool,
+ badm .bool_set:N = \opt_badm_bool
}
\keys_set:nn { obmathleading }
@@ -38,7 +40,8 @@
default = true,
mathleading = 1.0,
exception = {},
- noallowdisplaybreaks = false
+ noallowdisplaybreaks = false,
+ badm = false
}
\ProcessKeysOptions { obmathleading }
@@ -143,4 +146,30 @@
\AtBeginDocument { \allowdisplaybreaks }
}
+%%% badm
+\dim_new:N \l_beforedm_dim
+\dim_new:N \l_afterdm_dim
+\dim_new:N \l_defaultonebasedistance_dim
+
+%%% for compatibility
+%\cs_if_exist:NF \onelineskip { \let\onelineskip\baselineskip }
+%\dim_set:Nn \l_defaultonebasedistance_dim { \baselineskip - \onelineskip }
+%
+%\NewDocumentCommand \setmlbeforeafterdm { mm }
+%{
+% \dim_set:Nn \l_beforedm_dim { #1 }
+% \dim_set:Nn \l_afterdm_dim { #2 }
+%}
+%
+%\bool_if:NT \opt_badm_bool
+%{
+% \clist_set:Nn \l_tmpa_clist { align, equation, gather, multline, align*, equation*, gather*, alignat, alignat*, multline* }
+% \clist_map_inline:Nn \l_tmpa_clist
+% {
+% \AddToHook { env/##1/before } { \vspace { \dimexpr-\l_defaultonebasedistance_dim - \l_beforedm_dim \relax } }
+% \AddToHook { env/##1/after } { \vspace { \dimexpr-\l_defaultonebasedistance_dim - \l_afterdm_dim \relax } }
+% }
+%}
+
+
%% end of file
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 3b5f617e1f3..5f75b60c317 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
@@ -1,6 +1,6 @@
%% xob-font.sty
%%
-%% Copyright (c) 2014-2022 Kangsoo Kim <karnes at ktug org>
+%% Copyright (c) 2014-2023 Kangsoo Kim <karnes at ktug org>
%% Copyright (c) 2017-2020 Kihwang Lee <leekh at ktug org>
%%
%% This work may be distributed and/or modified under the
@@ -15,7 +15,7 @@
%% oblivoir hangul/hanja font setting.
%% part of oblivoir
%%
-\ProvidesPackage{xob-font}[2022/04/11 v0.9.6 select hangul/hanja fonts for oblivoir]
+\ProvidesPackage{xob-font}[2023/02/19 v0.9.7 select hangul/hanja fonts for oblivoir]
%%% obsolete options: retain \if@.. conditions for backward compatibility
\newif\if@nowin\@nowinfalse
@@ -705,6 +705,15 @@
%\setkomainfont(UnBatang.ttf)(UnBatangBold.ttf)(UnGraphic.ttf)
%\fi\fi
+%%% compresspunctuations
+\NewDocumentCommand \compressbnms { }
+{
+ \@ifpackageloaded{luatexko}
+ {
+ \AtBeginDocument{\addhangulfontfeature{CompressPunctuations}}
+ }{}
+}
+
\ExplSyntaxOff
\endinput
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls b/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls
index e7571cfe7e3..e514073a2ec 100644
--- a/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls
+++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls
@@ -1,6 +1,6 @@
%% File `oblivoir.cls`
%%
-%% (C) Copyright 2006-2022 Kangsoo Kim <karnes at ktug org>
+%% (C) Copyright 2006-2023 Kangsoo Kim <karnes at ktug org>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -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/11 v3.1.5.1]
+\ProvidesClass{oblivoir}[2023/02/28 v3.2]
\RequirePackage{xkeyval}
\RequirePackage{xparse}
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/xoblivoir.cls b/Master/texmf-dist/tex/latex/kotex-oblivoir/xoblivoir.cls
index a825b59adfd..cffebae3068 100644
--- a/Master/texmf-dist/tex/latex/kotex-oblivoir/xoblivoir.cls
+++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/xoblivoir.cls
@@ -1,6 +1,6 @@
-%% File `xoblivoir.cls`
+%% File `xoblivoir.cls` = alias of oblivoir.cls
%%
-%% (C) Copyright 2006-2021 Kangsoo Kim <karnes at ktug org>
+%% (C) Copyright 2006-2023 Kangsoo Kim <karnes at ktug org>
%% (C) Copyright 2013 Kihwang Lee <leekh at ktug org>
%%
%% This work may be distributed and/or modified under the