texlive[74871] Master/texmf-dist: kotex-oblivoir (6apr25)
commits+karl at tug.org
commits+karl at tug.org
Mon Apr 7 21:47:50 CEST 2025
Revision: 74871
https://tug.org/svn/texlive?view=revision&revision=74871
Author: karl
Date: 2025-04-07 21:47:49 +0200 (Mon, 07 Apr 2025)
Log Message:
-----------
kotex-oblivoir (6apr25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog
trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/README
trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/obchapterstyles-doc.pdf
trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/obchapterstyles-doc.tex
trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.pdf
trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex
trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-test.tex
trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty
trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-koreanappendix.sty
trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-nokoreanappendix.sty
trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchapterstyles.sty
trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty
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 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/ChangeLog 2025-04-07 19:47:49 UTC (rev 74871)
@@ -1,3 +1,13 @@
+2025-04-04 Kangsoo Kim
+
+ * released version 3.4.1
+ * change \addtodef to \pretocmd and \apptocmd
+ * obchapterstyles and simpledoc documentations revised
+
+2025-03-15 Kangsoo Kim
+
+ * \texthl (oblivoir-misc): support standard latex classes
+
2025-02-07 Kangsoo Kim
* released version 3.4
Modified: trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/README
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/obchapterstyles-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/obchapterstyles-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/obchapterstyles-doc.tex 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/obchapterstyles-doc.tex 2025-04-07 19:47:49 UTC (rev 74871)
@@ -1,7 +1,8 @@
\documentclass[chapter,a4paper,oneside]{oblivoir}
\usepackage{graphicx}
-\usepackage[a4]{fapapersize}
+\usepackage{fapapersize}
+\usefapapersize{*,*,1in,2in,1in,1in}
\let\clearforchapters\clearpage
Modified: trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-simpledoc.tex 2025-04-07 19:47:49 UTC (rev 74871)
@@ -58,7 +58,7 @@
\ifLuaOrXeTeX
\defaultfontfeatures{Renderer=OpenType}
- \setkomonofont(NanumBarunGothic-YetHangul.ttf)[Scale=0.9]
+ \setkomonofont(D2Coding)[Scale=0.9]
\setobmonofont(Menlo)[Scale=.9]
\setobmainfont(Minion Pro)
\setobsansfont(Myriad Pro)
@@ -101,9 +101,9 @@
\begin{document}
-\title{초간단 \obclass{} v3.4 사용법}
+\title{초간단 \obclass{} v3.4.1 사용법}
-\date{2025년 2월}
+\date{2025년 4월}
\author{x-ob-liv-oir}
@@ -1346,9 +1346,20 @@
\textsf{oblivoir}가 제공하는 chapter style들을 일별하려면
다음 명령을 내린다.
\begin{verbatim}
-texdoc obchapterstyles-doc
+texdoc obchapterstyles
\end{verbatim}
+\cmd{\apptoobchapterstyle} 명령은 여기 정의되어 있는 페이지스타일의 한두 가지 요소를
+가볍게 수정할 수 있게 하는 것이다. 예를 들어 \texttt{obwilsondob}의 \cmd{\chaptitlefont}만을
+\cmd{\sffamily}로 고치고자 한다면
+\begin{verbatim}
+\apptoobchapterstyle{obwilsondob}{
+ \renewcommand*\chaptitlefont{\sffamily\Huge}
+}
+\end{verbatim}
+와 같이 선언할 수 있다. 만약 고치고자 하는 요소가 너무 많다면 이 명령을 쓰지 말고
+\cmd{\makechapterstyle}하는 것이 좋다.
+
\subsection{한글 pagestyle}
oblivoir가 추가적으로 제공하는 페이지 스타일로 \texttt{hangul}이 있다.
@@ -1717,7 +1728,9 @@
위치는 \cs{obhlheight}, \cs{obhlraisedim}을 재정의하여 설정할 수 있다.\footnote{%
\cmd{\texthl} 명령은 \pkg{lua-ul}, \pkg{soul} 패키지 등에도 정의되어 있으므로
\pkg{oblivoir-misc}는 \cmd{\providecommand}한다. 다만, \pkg{soul} 패키지는 유니코드 한글
- 문서에서 쓰기 어려우므로 되도록 사용하지 않는 쪽을 권장한다.}
+ 문서에서 쓰기 어려우므로 되도록 사용하지 않는 쪽을 권장한다.}\textsuperscript{, }%
+ \footnote{표준 \LaTeX\ 클래스에서 \texttt{oblivoir-misc}를 usepackage하면
+ \cmd{texthl} 명령만이 활성화된다.}
\item[hverse] 한글로 된 시(운문)을 조판하기 위한 환경이다. \texttt{verse}와 달리 행끝에 \verb|\\|를 두지 않아도 시처럼 조판되게 한 것인데 \pkg{memoir}의 \texttt{verse} 조판을 위한 파라미터는 그대로 동작한다.
\end{description}
Modified: trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-test.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-test.tex 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/doc/latex/kotex-oblivoir/oblivoir-test.tex 2025-04-07 19:47:49 UTC (rev 74871)
@@ -36,29 +36,6 @@
\usepackage{ob-mathleading}
-\makeatletter
-%\def\@verbatim{\def\baselinestretch{1}
-% \the\every at verbatim
-% \trivlist \item \relax
-% \if at minipage\else\vskip\parskip\fi
-% \@beginparpenalty \predisplaypenalty
-% \leftskip\@totalleftmargin\rightskip\z@
-% \parindent\z@\parfillskip\@flushglue\parskip\z@
-% \@@par
-% \def\par{%
-% \if at tempswa
-% \leavevmode\null\@@par\penalty\interlinepenalty
-% \else
-% \@tempswatrue
-% \ifhmode\@@par\penalty\interlinepenalty\fi
-% \fi}%
-% \def\@noitemerr{\@warning{No verbatim text}}%
-% \obeylines
-% \let\do\@makeother \dospecials
-% \verbatim at font
-% \everypar \expandafter{\the\everypar \unpenalty}}
-\makeatother
-
% 폰트 설정
\ifPDFTeX
\usepackage{mathpazo}
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 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memhangul-common.sty 2025-04-07 19:47:49 UTC (rev 74871)
@@ -17,7 +17,7 @@
%%% 편, 장 섹션 타이틀 재설정
%%% 절의 섹션 타이틀은 수정하지 않음.
%%
-\ProvidesPackage{memhangul-common}[2025/02/07]
+\ProvidesPackage{memhangul-common}[2025/04/04]
\let\@CHAPAPP\@chapapp
\def\refreshprepostchapters{%
@@ -850,13 +850,13 @@
%% vertical distance of math display
\if at mathdisp
-\addtodef{\normalsize}{}{%
+\apptocmd{\normalsize}{%
\abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
\abovedisplayshortskip 1\p@ \@plus2\p@ %\@minus1\p@
\belowdisplayskip 6\p@ \@plus2\p@ \@minus4\p@
\belowdisplayshortskip 7\p@ \@plus2\p@ %\@minus1\p@
% \belowdisplayskip \abovedisplayskip
-}
+}{}{}
\fi
%% arabic frontmatter numbering
@@ -891,7 +891,7 @@
%% chapter의 첫 단락 들여쓰기.
\newcommand*\chapterindentfirst{%
- \addtodef{\@afterheading}{\@afterindenttrue}{}
+ \pretocmd{\@afterheading}{\@afterindenttrue}{}{}
}
%% memhangul-patch
Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-koreanappendix.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-koreanappendix.sty 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-koreanappendix.sty 2025-04-07 19:47:49 UTC (rev 74871)
@@ -1,6 +1,6 @@
%% File `ob-koreanappendix.sty`
%%
-%% Copyright (c) 2007-2015 Kangsoo Kim <karnes at ktug org>
+%% Copyright (c) 2007-2025 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
@@ -48,7 +48,7 @@
\addcontentsline{toc}{chapter}{\appendixname}%
\fi
\if at AttachAppendixTitleToSecnum
- \addtodef{\secheadstyle}{}{\appendixrefname~}%
+ \apptocmd{\secheadstyle}{\appendixrefname~}{}{}%
\fi
}
Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-nokoreanappendix.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-nokoreanappendix.sty 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/ob-nokoreanappendix.sty 2025-04-07 19:47:49 UTC (rev 74871)
@@ -1,6 +1,6 @@
%% File `ob-nokoreanappendix.sty`
%%
-%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org>
+%% Copyright (c) 2007-2025 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
@@ -41,7 +41,7 @@
\addcontentsline{toc}{chapter}{\appendixname}%
\fi
\if at AttachAppendixTitleToSecnum
- \addtodef{\secheadstyle}{}{\appendixrefname~}%
+ \apptocmd{\secheadstyle}{\appendixrefname~}{}{}%
\fi
}
Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchapterstyles.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchapterstyles.sty 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/obchapterstyles.sty 2025-04-07 19:47:49 UTC (rev 74871)
@@ -1,11 +1,11 @@
%%% file `obchapterstyles.sty`
%%% subpackage of oblivoir
%%%
-%%% written by Kangsoo Kim, 2024
+%%% written by Kangsoo Kim, 2024--2025
%%%
%%% chapter styles provided by oblivoir
%%%
-\ProvidesPackage{obchapterstyles}[2024/03/06, chapter styles]
+\ProvidesPackage{obchapterstyles}[2025/04/04, chapter styles]
%%%
%%%%%%%%%%%%%%%% chapterstyles from memhangul %%%%%%%%%%%%%%%
@@ -516,5 +516,11 @@
\renewcommand*{\chaptitlefont}{\chapnumfont}%
\renewcommand*{\printchapternonum}{\raggedleft}}
+\ExplSyntaxOn
+\NewDocumentCommand \apptoobchapterstyle { m m }
+{
+ \expandafter \apptocmd \cs:w chs@#1 \cs_end: { #2 } {} {}
+}
+\ExplSyntaxOff
\endinput
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 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty 2025-04-07 19:47:49 UTC (rev 74871)
@@ -8,50 +8,23 @@
%% 2023-02-14, tikzpagenodes-conflict fixed
%% 2023-03-08, hverse environment
%% 2025-02-07, hverse corrected
+%% 2025-04-04, stdclasses support
%%
-\ProvidesPackage{oblivoir-misc}[2025/02/07 version0.5]
+\ProvidesPackage{oblivoir-misc}[2025/04/04 version0.6]
\RequirePackage{etoolbox}
-%%% tikz pagenode
-%%% see http://www.ktug.org/xe/index.php?mid=KTUG_QnA_board&document_srl=253542
+\ExplSyntaxOn
-\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}}
- }{}
+\bool_new:N \opt_miscstdclasses_bool
+\@ifclassloaded{oblivoir}{
+ \bool_set_false:N \opt_miscstdclasses_bool
+}{
+ \bool_set_true:N \opt_miscstdclasses_bool
}
+\ExplSyntaxOff
-%%% showtrims and tikzpagenode
-%%% http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=229299
-\AtEndPreamble{
- \ifshowtrims
- \@ifpackageloaded{tikzpagenodes}{%
- \def\current at textarea@top{(\paperheight-\textheight-\lowermargin-\trimtop)}}{}
- \fi
-}
-
-
%%% \texthl
%%% from oblivoir-patch2.sty, 2021
%%% \texthl command
@@ -61,6 +34,8 @@
%%%
%%% \obhlcolor, \obhlheight, \obhlraisedim can be redefined by user.
\ExplSyntaxOn
+\msg_new:nnn { texthl } { luatexkocompat } { Do~not~use~ulem~with~luatexko. }
+\msg_new:nnn { texthl } { ulemcolor } { ulem~and~(x)color~required. }
\bool_new:N \g_ulemloaded_bool
\bool_new:N \g_xcolorloaded_bool
\dim_new:N \obhlraisedim
@@ -85,7 +60,7 @@
\ProvideDocumentCommand\texthl{}{
\bool_if:NTF \g_ulemloaded_bool
{
- \msg_error:nn { texthl } { Do~not~use~ulem~with~luatexko. }
+ \msg_error:nn { texthl } { luatexkocompat }
}
{
\hbox_set:Nn \l_tmpa_box { \color{\obhlcolor}\rule{1pt}{\obhlheight} }
@@ -123,7 +98,7 @@
}
{
\def\texthl {
- \msg_error:nn { texthl } { ulem~and~(x)color~required.}
+ \msg_error:nn { texthl } { ulemcolor }
}
}
% }
@@ -133,6 +108,45 @@
}
}
+\bool_if:NT \opt_miscstdclasses_bool { \endinput }
+
+%%% tikz pagenode
+%%% see http://www.ktug.org/xe/index.php?mid=KTUG_QnA_board&document_srl=253542
+
+\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}}
+ }{}
+}
+
+%%% showtrims and tikzpagenode
+%%% http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=229299
+\AtEndPreamble{
+ \ifshowtrims
+ \@ifpackageloaded{tikzpagenodes}{%
+ \def\current at textarea@top{(\paperheight-\textheight-\lowermargin-\trimtop)}}{}
+ \fi
+}
+
%%%%
%%%% 2023-03-08, hverse
%%%% 2024-06, revised
@@ -168,7 +182,7 @@
\bool_if:nTF { \l_tmpa_bool || \sys_if_engine_pdftex_p: }
{
\tl_set:Nn \l_tmpa_tl { ##1 }
- \regex_replace_all:nnN { \s } { \~ } \l_tmpa_tl
+ \regex_replace_all:nnN { \s } { \ } \l_tmpa_tl
\tl_set_rescan:NnV \l_tmpb_tl { \cctab_select:N \c_document_cctab } \l_tmpa_tl
\tl_use:N \l_tmpb_tl \\
}
Modified: trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls 2025-04-07 19:47:37 UTC (rev 74870)
+++ trunk/Master/texmf-dist/tex/latex/kotex-oblivoir/oblivoir.cls 2025-04-07 19:47:49 UTC (rev 74871)
@@ -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}[2025/02/06 v3.4]
+\ProvidesClass{oblivoir}[2025/04/04 v3.4.1]
\RequirePackage{xkeyval}
\RequirePackage{xparse}
More information about the tex-live-commits
mailing list.