From 4ab0687cfdd546779ccb6d8589a671441bf5865f Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 7 Apr 2022 03:01:53 +0000
Subject: CTAN sync 202204070301

---
 .../tex/memhangul-common/oblivoir-misc.sty         | 46 +++++++++++-----------
 1 file changed, 23 insertions(+), 23 deletions(-)

(limited to 'language/korean/kotex-oblivoir/tex/memhangul-common/oblivoir-misc.sty')

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
-- 
cgit v1.2.3

