summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-10-08 00:31:24 +0000
committerKarl Berry <karl@freefriends.org>2008-10-08 00:31:24 +0000
commit8f7baaf124c4913de1442cf0536aa61716a39b50 (patch)
tree1c713c6109accaf5db078ae34c03dae7985a94e1 /Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
parented627af9ac01852762186267a2a6e6c945b2d810 (diff)
gmdoc update (7oct08)
git-svn-id: svn://tug.org/texlive/trunk@10883 c570f23f-e606-0410-a88d-b1316a301751
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