From 63ea17206439b13c00451d815085d8f8de4275ea Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 2 Mar 2023 21:00:38 +0000 Subject: kotex-oblivoir (2mar23) git-svn-id: svn://tug.org/texlive/trunk@66297 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/kotex-oblivoir/ChangeLog | 14 ++++++++ Master/texmf-dist/doc/latex/kotex-oblivoir/README | 4 +-- .../latex/kotex-oblivoir/ob-mathleading-doc.pdf | Bin 98088 -> 98096 bytes .../doc/latex/kotex-oblivoir/obchaptertoc-doc.pdf | Bin 80946 -> 81775 bytes .../doc/latex/kotex-oblivoir/obchaptertoc-doc.tex | 6 ++-- .../latex/kotex-oblivoir/oblivoir-simpledoc.pdf | Bin 316502 -> 319588 bytes .../latex/kotex-oblivoir/oblivoir-simpledoc.tex | 35 ++++++++++++++++--- .../memhangul-common/obchaptertoc.sty | 36 +++++++++++--------- .../memhangul-common/oblivoir-misc.sty | 17 ++++++++-- .../kotex-oblivoir/memhangul-x/ob-mathleading.sty | 37 ++++++++++++++++++--- .../latex/kotex-oblivoir/memhangul-x/xob-font.sty | 13 ++++++-- .../tex/latex/kotex-oblivoir/oblivoir.cls | 4 +-- .../tex/latex/kotex-oblivoir/xoblivoir.cls | 4 +-- 13 files changed, 132 insertions(+), 38 deletions(-) diff --git a/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog b/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog index d30a88686fd..f104c1f23cd 100644 --- a/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog +++ b/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog @@ -1,3 +1,17 @@ +2023-02-28 Kangsoo Kim + + Version 3.2 + + * memhangul-common, bug fixed (\bnm) + * obmathleading + * documentations revised + +2023-02-26 Kangsoo Kim + + Version 3.2.pre + + * obchaptertoc, oblivoir-misc + 2022-11-04 Kangsoo Kim Version 3.1.5.1 diff --git a/Master/texmf-dist/doc/latex/kotex-oblivoir/README b/Master/texmf-dist/doc/latex/kotex-oblivoir/README index 01de53a52bf..0b7e92bc492 100644 --- a/Master/texmf-dist/doc/latex/kotex-oblivoir/README +++ b/Master/texmf-dist/doc/latex/kotex-oblivoir/README @@ -1,9 +1,7 @@ kotex-oblivoir ==================== -Current State -------------- - +* 2023/02/28, Version 3.2, obchaptertoc, oblivoir-misc, obmathleading, xob-fonts changed. * 2022/11/04, memhangul-common.sty, a minor bug fixed, reported on KTUG, Version 3.1.5.1 % 2022/04/11, xob-font bug fixed, reported by Progress, Version 3.1.5 * 2022/04/07, new feature concerning xob-font, requested by ischo, Version 3.1.4 diff --git a/Master/texmf-dist/doc/latex/kotex-oblivoir/ob-mathleading-doc.pdf b/Master/texmf-dist/doc/latex/kotex-oblivoir/ob-mathleading-doc.pdf index 177640b01c6..03394ee2b14 100644 Binary files a/Master/texmf-dist/doc/latex/kotex-oblivoir/ob-mathleading-doc.pdf and b/Master/texmf-dist/doc/latex/kotex-oblivoir/ob-mathleading-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.pdf b/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.pdf index a63f3f15d39..55cb9a2b46b 100644 Binary files a/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.pdf and b/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.tex b/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.tex index f4ae7bd7fe5..fa237f7c4b9 100644 --- a/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.tex +++ b/Master/texmf-dist/doc/latex/kotex-oblivoir/obchaptertoc-doc.tex @@ -45,7 +45,8 @@ \title{chapter toc for oblivoir} \author{Nova de Hi} -\date{2020/09/02 \quad v2.0} +%\date{2020/09/02 \quad v2.0} +\date{2023/01/30 \quad v3.0} \begin{adjustwidth}{\unitlength}{-\unitlength} \maketitle \end{adjustwidth} @@ -62,7 +63,6 @@ chaptertoc에 대해서는 게시판의 이곳저곳에 이런저런 솔루션 [v2.0] 다음 옵션을 줄 수 있습니다. \begin{verbatim} \usepackage[level=part]{obchaptertoc} -\end{document} \end{verbatim} level로 제공할 수 있는 값은 \verb|book|, \verb|part|이고, 기본값은 \verb|chapter|입니다. @@ -131,7 +131,7 @@ chaptertoc의 모든 포매팅 설정은 memoir의 \verb|\cft...| 명령으로 version 2.0은 KTUG 게시판에 parttoc에 대한 질문이 올라온 것을 보고 확장하였습니다. - +version 3.0은 KTUG 게시판에 Kriss님이 알려주신 페이지 스타일 관련 버그를 고친 것입니다. \end{document} diff --git a/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.pdf b/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.pdf index 19c28ba1235..9d6d142d0cf 100644 Binary files a/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.pdf and b/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex b/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex index e8736d26851..586af11886a 100644 --- a/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex +++ b/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex @@ -100,9 +100,9 @@ \begin{document} -\title{초간단 \obclass{} v3.1.5 사용법} +\title{초간단 \obclass{} v3.2 사용법} -\date{2022년 11월} +\date{2023년 2월} \author{x-ob-liv-oir} @@ -1388,7 +1388,8 @@ png, jpg, pdf 그림을 잘 불러온다. %즉 \obclass가 알맞게 이 패키 이 패키지가 제공하는 문장부호는 다음과 같은 것이 있다. \begin{itemize} -\item \verb|\bnm|, \verb|\snm|, \verb|\cnm|, \verb|\ccnm|. 각각 \bnm{제목}, \snm{제목}, \cnm{제목}, \ccnm{제목}과 같이 식자된다. +\item \verb|\bnm|, \verb|\snm|, \verb|\cnm|, \verb|\ccnm|. 각각 \bnm{제목}, \snm{제목}, \cnm{제목}, \ccnm{제목}과 같이 식자된다.\footnote{만약 \LuaTeX 에서 이 부호들이 +전각문자로 나타난다면 \cs{compressbnms}를 선언하라.} \item \verb|\obldots|. \verb|\obellipsis|. 각각 \obldots, \obellipsis와 같이 식자된다. 한글 패키지 \koTeX 이 로드되면 \verb|\ldots|의 모양이 \ldots와 같이 바뀌기 때문에 영문서의 \verb|\ldots|는 \verb|\obldots|로 식자할 \obldots 수 있다. \verb|\obellipsis|는 행이 나뉘어지지 않는 여섯 개의 점으로 이루어진 말출임표이다. \item \verb|\cntrdot|, \verb|\cntrdots|. 각각 \cntrdot, \cntrdots로 식자한다. \item \verb|\expldash|, \verb|\explpunc|. 이것은 설명을 위하여 삽입하는 괘선\expldash 을 표현하기 위한 매크로이다. \verb|\explpunc|의 사용법이 조금 특별하므로 주의하라. \verb*|\explpunc.some text.\ | \explpunc.some text.\ 와 같이 입력한다. 이 사용법이 복잡하다면 \verb|\expldash|를 두 번 쓰는 방법이 있다. @@ -1600,6 +1601,23 @@ oblivoir 2.0까지 \verb|\footnotesinmargin|이 동작하지 않던 문제를 이를 제외한 다른 부분, 이를테면 label과 caption text의 폰트를 바꾸는 것 등은 memoir의 해당 명령을 이용한다. 즉, \verb|\captionnamefont|, \verb|\captiontitlefont| 등을 이용하라는 것이다. +\subsection{부록의 조판} + +\textsf{oblivoir}의 부록 만들기와 관련하여 알아두어야 하는 매크로는 다음과 같다. +\begin{description} +\item [\cs{AppendixTitleToToc}] `부록'이라는 표제명을 toc에도 붙인다. +\item [\cs{AttachAppendixTitleToSecnum}] `부록'이라는 표제명을 section number에 붙인다. +\item [\cs{AppendixTitle}] \cs{appendixname}을 식자한다. +\end{description} + +부록은 보통 chapter가 있는 문서에서 만드는 것이므로 장 표제(\texttt{chapter} 옵션의 유무와 관련없이)처럼 식자한다. +이 동작을 바꾸고 싶다면 chapterstyle과 section heading을 자신에게 +필요한 대로 설정할 수 있을 것이다. 위의 몇 가지 매크로는 다른 설정 없이 +\texttt{default} 스타일에서 나타나게 하기 위한 것이다. + +부록과 관련하여 스타일이나 페이지를 디자인할 때 유념해야 할 것은, \cs{appendix} 또는 \texttt{appendices} 환경의 선언 이후로는 +chapter와 section 등 장절표제 명령의 카운터에 \verb|APP|가 붙는다는 점이다. 부록 chapter의 카운터는 \texttt{APPchapter}, section 카운터는 \texttt{APPsection}이다.\footnote{\texttt{[nokorean]} 옵션이 주어진 경우는 그러하지 않다.} + \section{보조 패키지} \subsection{chaptertoc} @@ -1651,8 +1669,11 @@ oblivoir는 한국어 문서에 대하여 기본 행간을 넓혀서 조판하 \begin{description} \item[tikz pagenode] \texttt{tikz}를 로드했을 때 \texttt{current page} 노드가 memoir의 레이아웃과 미묘하게 엇갈리는 것을 보정해준다. 이것은 oblivoir-misc를 로드하면 (tikz가 불렸을 때) 자동으로 처리한다. -\item[\cs{texthl}] 한글 문자에 \texthl{하이라이트}해준다. 실험적인 기능으로 -현재 \XeLaTeX 일 때에 정상 동작한다. 하이라이트할 색상은 \cs{obhlcolor}, 높이와 +\item[tikzpagenodes] tikzpagenodes 패키지가 로드되었을 때에 일부 마진 길이를 +잘못 측정하는 문제를 해결해준다. +\item[\cs{texthl}] 한글 문자에 \texthl{하이라이트}해준다. 실험적인 기능이다. +%현재 \XeLaTeX 일 때에 정상 동작한다. +하이라이트할 색상은 \cs{obhlcolor}, 높이와 위치는 \cs{obhlheight}, \cs{obhlraisedim}을 재정의하여 설정할 수 있다. \end{description} @@ -1843,7 +1864,11 @@ Lua\TeX 과 \XeTeX 이라는 유니코드 텍 엔진의 등장은, 이러한 모 \section{변경 이력} +\noindent +2023년의 3.2 버전은 부분적인 수정에 그쳤다. 3.1에서 발생했던 대부분의 +문제들은 해결되었다. +\noindent 2022년의 3.1 버전은 fapapersize에 새로운 명령을 추가하고 약간의 개선된 기능을 포함하였다. 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 : 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 +%% Copyright (c) 2014-2023 Kangsoo Kim %% Copyright (c) 2017-2020 Kihwang Lee %% %% 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 +%% (C) Copyright 2006-2023 Kangsoo Kim %% %% 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 +%% (C) Copyright 2006-2023 Kangsoo Kim %% (C) Copyright 2013 Kihwang Lee %% %% This work may be distributed and/or modified under the -- cgit v1.2.3