]> git.lyx.org Git - lyx.git/blobdiff - lib/chkconfig.ltx
Add beamer layout file and examople, fresh from the beamer CVS.
[lyx.git] / lib / chkconfig.ltx
index ea5a8d8c5c143bc15c3ff33b65e7a3d22a4ffbe0..7a59958f709aff760b2cfc22f470aef35accb096 100644 (file)
@@ -4,7 +4,7 @@
 % with minimal changes by Asger Alstrup (alstrup@diku.dk).
 %
 % This script should only be run from the configure script to update
-% the files textclass.lst and doc/LyXConfig.lyx
+% the files textclass.lst and doc/LaTeXConfig.lyx
 %
 % This script is in fact a complete rewrite of the original chkconfig
 % script. Expect bugs.
@@ -19,7 +19,7 @@
 %%% 1- Add the command \TestPackage{<name>}. The syntax is:
 %%%    \TestPackage[<file>]{<name>}, which  tests whether <name>.sty
 %%%    (or <file>, if this optional parameter is provided) exists.
-%%% 2- Add a description for <name> in doc/LyXConfig.lyx.in,
+%%% 2- Add a description for <name> in doc/LaTeXConfig.lyx.in,
 %%%    containing in particular a line like
 %%%         Found   @chk_<name>@
 %%%    This line will be replaced at configure time by the proper text.
@@ -27,7 +27,7 @@
 %%% For document classes, things are even simpler, since you do not
 %%% need to edit this file. Just put your layout file in some place
 %%% where LyX can find it and add if you wish a description in
-%%% LyXConfig.lyx.in, as described above.
+%%% LaTeXConfig.lyx.in, as described above.
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%% Initialization part (skip) %%%%%%%%%%%%%%%%%%%%%
            {\AddLayout[\firstelement]{\layoutname}{#2}{true}}
            {\AddLayout[\firstelement]{\layoutname}{#2}{false}}
 }
-\newcommand{\DeclareLinuxDocClass}[2][\default]{
-  \message{^^J\prefix checking for linuxdoc class \layoutname... }
-  \@ifundefined{haslinuxdoc}
-    {\message{no^^J}
-     \AddLayout[#1]{\layoutname}{#2}{false}}
-    {\message{yes^^J}
-     \AddLayout[#1]{\layoutname}{#2}{true}}
-}
 % Only for compatibility. Will be removed later.
 \let\DeclareSGMLClass=\DeclareDocBookClass