diff options
author | Norbert Preining <norbert@preining.info> | 2022-04-07 03:01:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-04-07 03:01:53 +0000 |
commit | 4ab0687cfdd546779ccb6d8589a671441bf5865f (patch) | |
tree | 77554e11f1829a925194242636c38c7306fa43a8 /language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty | |
parent | 333540a9182285f9d72d7d39be3fa730c135d664 (diff) |
CTAN sync 202204070301
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.sty | 46 |
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 |