texlive[62397] Master/texmf-dist: kotex-oblivoir (4mar22)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 4 22:45:51 CET 2022


Revision: 62397
          http://tug.org/svn/texlive?view=revision&revision=62397
Author:   karl
Date:     2022-03-04 22:45:51 +0100 (Fri, 04 Mar 2022)
Log Message:
-----------
kotex-oblivoir (4mar22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog
    trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/README
    trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty
    trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-toclof.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/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog	2022-03-04 21:45:30 UTC (rev 62396)
+++ trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog	2022-03-04 21:45:51 UTC (rev 62397)
@@ -1,3 +1,9 @@
+2022-03-05	Kangsoo Kim
+
+	Version 3.1.1
+
+	* bug fix concerning toc and pdfbookmarks
+
 2022-03-01	Kangsoo Kim
 
 	Version 3.1

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

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty	2022-03-04 21:45:30 UTC (rev 62396)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty	2022-03-04 21:45:51 UTC (rev 62397)
@@ -155,9 +155,15 @@
 
 %% CHAPTER
 %%%%%%%%%%%
-\renewcommand{\@m at mchapter}[1][\@empty]{%
-  \def\ch at pt@c{#1}% capture first optional arg
-  \@dblarg{\@chapter}}
+%%\renewcommand{\@m at mchapter}[1][\@empty]{%
+%%  \def\ch at pt@c{#1}% capture first optional arg
+%%  \@dblarg{\@chapter}}
+%\renewcommand{\@m at mchapter}[1][]{%
+%  \def\ch at pt@c{#1}% capture first optional arg
+%  \@ifnextchar[{\@chapter}{\@chapter[]}%
+%}
+%\def\m at m@empty{\@empty}
+
 %%\def\m at m@empty{\@empty} 
 
 %%%%\def\@chapter[#1]#2{%

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-toclof.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-toclof.sty	2022-03-04 21:45:30 UTC (rev 62396)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-toclof.sty	2022-03-04 21:45:51 UTC (rev 62397)
@@ -1,6 +1,6 @@
 %% File `ob-toclof.sty`
 %%
-%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org>
+%% Copyright (c) 2007-2022 Kangsoo Kim <modviv2k15 at gmail.com>
 %%
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3c
@@ -71,69 +71,69 @@
 %  \@namedef{print#2title}##1{\printchaptertitle{##1}}
 } % end \newlistof
 
-\def\@chapter[#1]#2{%
-  \ifx\ch at pt@c\m at m@empty % no optional args
-    \def\f at rtoc{#1}%
-    \def\f at rhdr{#1}%
-  \else                  % at least one opt arg
-    \def\f at rtoc{\ch at pt@c}%
-    \nametest{#1}{#2}%
-    \ifsamename          % one opt arg
-      \def\f at rhdr{\ch at pt@c}%
-    \else                % two opt args
-      \def\f at rhdr{#1}%
-    \fi
-  \fi 
-  \m at m@Andfalse
-  \ifnum \c at secnumdepth >\m at ne
-    \if at mainmatter
-      \m at m@Andtrue
-    \fi
-  \fi
-  \ifm at m@And
-   \ifanappendix
-    \refstepcounter{APPchapter}%
-   \else
-    \refstepcounter{chapter}%
-   \fi
-  \fi
-  \chaptermark{\f at rhdr}
-  \ifartopt
-    \@makechapterhead{#2}%
-    \@afterheading
-  \else
-    \insertchapterspace
-    \if at twocolumn
-      \@topnewpage[\@makechapterhead{#2}]%
-    \else
-      \@makechapterhead{#2}%
-    \fi
-    \@afterheading
-  \fi
-  \ifm at m@And
-    \ifanappendix
-      \addcontentsline{toc}{appendix}{%
-       \protect\chapternumberline{\hchaptertitlehead}\f at rtoc}%
-       \memappchapinfo{\thechapter}{\f at rtoc}{\f at rhdr}{#2}%
-    \else
-      \addcontentsline{toc}{section}{%
-        \protect\chapternumberline{\hchaptertitlehead}\f at rtoc}%
-       \memchapinfo{\hchaptertitlehead}{\f at rtoc}{\f at rhdr}{#2}%
-    \fi
-  \else
-    \addcontentsline{toc}{section}{\f at rtoc}%
-    \ifanappendix
-      \memappchapinfo{}{\f at rtoc}{\f at rhdr}{#2}%
-    \else
-      \memchapinfo{\hchaptertitlehead}{\f at rtoc}{\f at rhdr}{#2}%
-    \fi
-  \fi
-  \ifheadnameref\M at gettitle{\f at rhdr}\else\M at gettitle{\f at rtoc}\fi
-%%% for chapter
-  \ifanappendix
-     \protected at edef\@currentlabel{\thechapter}%
-  \fi
-}
+%\def\@chapter[#1]#2{%
+%  \ifx\ch at pt@c\m at m@empty % no optional args
+%    \def\f at rtoc{#1}%
+%    \def\f at rhdr{#1}%
+%  \else                  % at least one opt arg
+%    \def\f at rtoc{\ch at pt@c}%
+%    \nametest{#1}{#2}%
+%    \ifsamename          % one opt arg
+%      \def\f at rhdr{\ch at pt@c}%
+%    \else                % two opt args
+%      \def\f at rhdr{#1}%
+%    \fi
+%  \fi 
+%  \m at m@Andfalse
+%  \ifnum \c at secnumdepth >\m at ne
+%    \if at mainmatter
+%      \m at m@Andtrue
+%    \fi
+%  \fi
+%  \ifm at m@And
+%   \ifanappendix
+%    \refstepcounter{APPchapter}%
+%   \else
+%    \refstepcounter{chapter}%
+%   \fi
+%  \fi
+%  \chaptermark{\f at rhdr}
+%  \ifartopt
+%    \@makechapterhead{#2}%
+%    \@afterheading
+%  \else
+%    \insertchapterspace
+%    \if at twocolumn
+%      \@topnewpage[\@makechapterhead{#2}]%
+%    \else
+%      \@makechapterhead{#2}%
+%    \fi
+%    \@afterheading
+%  \fi
+%  \ifm at m@And
+%    \ifanappendix
+%      \addcontentsline{toc}{appendix}{%
+%       \protect\chapternumberline{\hchaptertitlehead}\f at rtoc}%
+%       \memappchapinfo{\thechapter}{\f at rtoc}{\f at rhdr}{#2}%
+%    \else
+%      \addcontentsline{toc}{section}{%
+%        \protect\chapternumberline{\hchaptertitlehead}\f at rtoc}%
+%       \memchapinfo{\hchaptertitlehead}{\f at rtoc}{\f at rhdr}{#2}%
+%    \fi
+%  \else
+%    \addcontentsline{toc}{section}{\f at rtoc}%
+%    \ifanappendix
+%      \memappchapinfo{}{\f at rtoc}{\f at rhdr}{#2}%
+%    \else
+%      \memchapinfo{\hchaptertitlehead}{\f at rtoc}{\f at rhdr}{#2}%
+%    \fi
+%  \fi
+%  \ifheadnameref\M at gettitle{\f at rhdr}\else\M at gettitle{\f at rtoc}\fi
+%%%% for chapter
+%  \ifanappendix
+%     \protected at edef\@currentlabel{\thechapter}%
+%  \fi
+%}
 
 \newlistof{tableofcontents}{toc}{\contentsname}
 \newlistof{listoffigures}{lof}{\listfigurename}
@@ -142,3 +142,5 @@
 \fi % of \if at toclofentry
 
 \endinput
+
+%%% redefinition of \@chapter deprecated, 2022/03/05

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls	2022-03-04 21:45:30 UTC (rev 62396)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xl.cls	2022-03-04 21:45:51 UTC (rev 62397)
@@ -1,6 +1,6 @@
 %% File `oblivoir-xl.cls`
 %%
-%% (C) Copyright 2006-2021 Kangsoo Kim <karnes at ktug org>
+%% (C) Copyright 2006-2022 Kangsoo Kim <modviv2k15 at gmail dot com>
 %%
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3c
@@ -14,7 +14,7 @@
 %% depends upon Dohyun Kim's xetexko and the author's memhangul-x.
 %%
 \ProvidesClass{oblivoir-xl}
-  [2021/09/21 v0.8.6 article-like class to typeset Korean]
+  [2022/03/05 v0.8.7 article-like class to typeset Korean]
 %\typeout{A variant of oblivoir class for Lua- or XeLaTeX.}
 
 \providecommand\@DisabledOption[1]{%
@@ -45,8 +45,11 @@
 \DeclareOptionX{kosection}{\kosectiontrue}
 \newif\ifnobookmarks\nobookmarksfalse
 \DeclareOptionX{nobookmarks}{\nobookmarkstrue}
+\newif\ifbookmarkpkg\bookmarkpkgfalse
+\DeclareOptionX{bookmark}{\bookmarkpkgtrue}
 \newif\ifhyperrefwithlyx\hyperrefwithlyxfalse
 \DeclareOptionX{lyxhyper}{\hyperrefwithlyxtrue}{\hyperrefwithlyxfalse}
+\DeclareOptionX{nohyperref}{\hyperrefwithlyxtrue}{\hyperrefwithlyxfalse}
 \newif\if at tendotfive\@tendotfivefalse
 \DeclareOptionX{10.5pt}{\@tendotfivetrue}
 \newif\if at koreanfn\@koreanfnfalse
@@ -348,30 +351,36 @@
  \else 
    \@Call at Hyperref@With at Bookmarks
  \fi
+ \ifbookmarkpkg
+   \RequirePackage{bookmark}
+ \fi
 }
 
 \def\@Call at Hyperref@Without at Bookmarks{%
- \ifluatex
-  \usepackage[unicode,bookmarks=false]{hyperref}
- \else\ifxetex
-  \usepackage[bookmarks=false]{hyperref}
- \else
-  \usepackage[unicode,bookmarks=false]{hyperref}
- \fi\fi
+% \ifluatex
+%  \usepackage[unicode,bookmarks=false]{hyperref}
+% \else\ifxetex
+%  \usepackage[bookmarks=false]{hyperref}
+% \else
+%  \usepackage[unicode,bookmarks=false]{hyperref}
+% \fi\fi
+  \RequirePackage[bookmarks=false]{hyperref}
 }
 
 \def\@Call at Hyperref@With at Bookmarks{%
- \ifluatex
-  \usepackage[unicode]{hyperref}
- \else\ifxetex
-  \usepackage{hyperref}
- \else
-  \usepackage[unicode]{hyperref}
- \fi\fi 
+% \ifluatex
+%  \usepackage[unicode]{hyperref}
+% \else\ifxetex
+%  \usepackage{hyperref}
+% \else
+%  \usepackage[unicode]{hyperref}
+% \fi\fi 
+  \RequirePackage{hyperref}
 }
 
 %% LyX 1.6.x의 Insert-Hyperlink 기능과 충돌하지 않게 하기 위하여
 %% hyperref을 로드하지 않음. (lyxhyper 옵션)
+%% lyxhyper = nohyperref
 %% note: memhfixc는 memoir 자신이 로드해준다.
 \ifnokorean\relax\else
   \ifhyperrefwithlyx\relax\else

Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls	2022-03-04 21:45:30 UTC (rev 62396)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls	2022-03-04 21:45:51 UTC (rev 62397)
@@ -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/03/01 v3.1]
+\ProvidesClass{oblivoir}[2022/03/05 v3.1.1]
 
 \RequirePackage{xkeyval}
 \RequirePackage{xparse}



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