summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls')
-rw-r--r--Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls b/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
index df9afaea60a..d9b689a0aff 100644
--- a/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
+++ b/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
@@ -236,6 +236,7 @@
% the default \pk{gmdoc}'s definition of marginpar typewriter and
% letting the user to redefine it \himher self seemed to me most natural.
+
\def\gmcc@setfont#1{%
\gmcc@oldfontsfalse% note that if we are not in \XeTeX, this switch
% will be turned true in line \ref{ofstrue}
@@ -258,6 +259,7 @@
\gm@DOX{fontspec}{\PassOptionsToPackage{#1}{fontspec}}
% \changes{v0.80}{2008/08/30}{added}
+
\gm@EOX{class=mwart}% \label{EOXmwart}We set the default basic class to
% be \pk{mwart}.
@@ -274,10 +276,11 @@
% ^^A switch and therefore it counts the fis properly.
% \iffalse It's for cooperation with my another class. (Feature under
% construction.)
-\@ifundefined{ifSecondClass}{%
+\XKV@ifundefined{ifSecondClass}{%
\newif\ifSecondClass}{}
%\fi\fi
+
% \skiplines
\ifSecondClass\else
% \endskiplines
@@ -303,6 +306,7 @@
\RequirePackage{gmutils}[2008/08/30]% we load it early to provide |\@ifXeTeX|.
+
\ifgmcc@mwcls\afterfi\ParanoidPostsec\fi
\@ifXeTeX{}{\gmcc@oldfontstrue}
@@ -340,7 +344,7 @@
\do\Finv\do\Game\do\beth\do\gimel\do\daleth% these five caused the
% `already defined' error.
\let\@zf@euenctrue\zf@euencfalse
- \XeTeXthree%
+ \XeTeXthree%
%^^A \setromanfont{LMRoman12}% Regular
%^^A \setsansfont{LMSans10}% Regular
%^^A \setmonofont{LMTypewriter10}% Regular