mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Clean up DeclareDocBookClass
This commit is contained in:
parent
77e0f69901
commit
eeaea7cbbb
@ -197,18 +197,6 @@
|
|||||||
{}% we have already defined this one.
|
{}% we have already defined this one.
|
||||||
}
|
}
|
||||||
|
|
||||||
% Only for compatibility. Will be removed later.
|
|
||||||
\let\DeclareSGMLClass=\DeclareDocBookClass
|
|
||||||
|
|
||||||
\newcommand{\DeclareDocBookClass}[2][\default]{
|
|
||||||
\message{^^J\prefix checking for docbook\space\space class \layoutname... }
|
|
||||||
\@ifundefined{hasdocbook}
|
|
||||||
{\message{no^^J}
|
|
||||||
\AddLayout[#1]{\layoutname}{#2}{false}{docbook}}
|
|
||||||
{\message{yes^^J}
|
|
||||||
\AddLayout[#1]{\layoutname}{#2}{true}{}}
|
|
||||||
}
|
|
||||||
|
|
||||||
% Stolen from article.cls
|
% Stolen from article.cls
|
||||||
\newcommand{\today}{\ifcase\month\or
|
\newcommand{\today}{\ifcase\month\or
|
||||||
January\or February\or March\or April\or May\or June\or
|
January\or February\or March\or April\or May\or June\or
|
||||||
|
Loading…
Reference in New Issue
Block a user