summaryrefslogtreecommitdiff
path: root/language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty')
-rw-r--r--language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty46
1 files changed, 23 insertions, 23 deletions
diff --git a/language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty b/language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty
index d55aa90015..ed31c8fe3b 100644
--- a/language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty
+++ b/language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty
@@ -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@sh@ns@current page\endcsname{rectangle}%
- \strictpagecheck%
- \checkoddpage%
- \ifoddpage%
- \expandafter\def\csname pgf@sh@np@current page\endcsname{%
- \def\southwest{\pgfpoint{\stockwidth-\paperwidth-\trimedge}%
- {\stockheight-\trimtop-\paperheight}}%
- \def\northeast{\pgfpoint{\stockwidth-\trimedge}{\stockheight-\trimtop}}%
- }%
- \else
- \expandafter\def\csname pgf@sh@np@current page\endcsname{%
- \def\southwest{\pgfpoint{\trimedge}{\stockheight-\trimtop-\paperheight}}%
- \def\northeast{\pgfpoint{\trimedge+\paperwidth}{\stockheight-\trimtop}}%
- }%
- \fi
- \expandafter\def\csname pgf@sh@nt@current page\endcsname{{1}{0}{0}{1}{0pt}{0pt}}%
- \expandafter\def\csname pgf@sh@pi@current page\endcsname{pgfpageorigin}}
-
-\pgfkeys{/tikz/overlay/.add code={}{\setpagenode}}
-\fi
-}{}
+ \newcommand\setpagenode{%
+ \expandafter\def\csname pgf@sh@ns@current page\endcsname{rectangle}%
+ \strictpagecheck%
+ \checkoddpage%
+ \ifoddpage%
+ \expandafter\def\csname pgf@sh@np@current page\endcsname{%
+ \def\southwest{\pgfpoint{\stockwidth-\paperwidth-\trimedge}%
+ {\stockheight-\trimtop-\paperheight}}%
+ \def\northeast{\pgfpoint{\stockwidth-\trimedge}{\stockheight-\trimtop}}%
+ }%
+ \else
+ \expandafter\def\csname pgf@sh@np@current page\endcsname{%
+ \def\southwest{\pgfpoint{\trimedge}{\stockheight-\trimtop-\paperheight}}%
+ \def\northeast{\pgfpoint{\trimedge+\paperwidth}{\stockheight-\trimtop}}%
+ }%
+ \fi
+ \expandafter\def\csname pgf@sh@nt@current page\endcsname{{1}{0}{0}{1}{0pt}{0pt}}%
+ \expandafter\def\csname pgf@sh@pi@current page\endcsname{pgfpageorigin}}
+
+ \pgfkeys{/tikz/overlay/.add code={}{\setpagenode}}
+ }{}
}
%%% \texthl