%%% read the explanation that follow and jump to the section 'Actual
%%% inspection code' below. You do not need to understand the ugly
%%% LaTeX code below to help improving chkconfig.ltx :-)
%%% read the explanation that follow and jump to the section 'Actual
%%% inspection code' below. You do not need to understand the ugly
%%% LaTeX code below to help improving chkconfig.ltx :-)
%%% This inset will automatically display a boxed "yes" or "no"
%%% depending on the availability of the package.
%%%
%%% This inset will automatically display a boxed "yes" or "no"
%%% depending on the availability of the package.
%%%
%%% 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
%%% 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
% script generates the needed macro calls automatically.
% \TestPackage[<file>]{<name>} tests whether <name>.sty (or <file>,
% if it is provided) exists.
% script generates the needed macro calls automatically.
% \TestPackage[<file>]{<name>} tests whether <name>.sty (or <file>,
% if it is provided) exists.
- \immediate\write\layouts{"#2" "#1" "#3" "#4" "#5"}}
+ \@ifundefined{category@#2}{%
+ \immediate\write\layouts{"#2" "#1" "#3" "#4" "#5" ""}%
+ }{%
+ \immediate\write\layouts{"#2" "#1" "#3" "#4" "#5" "\@nameuse{category@#2}"}%
+ }
+}
+
% psnfss is in fact the name of a set of style files, among which
% times.sty. If times.sty is here, we will assume that everything is fine.
% psnfss is in fact the name of a set of style files, among which
% times.sty. If times.sty is here, we will assume that everything is fine.
-% necessary to get correct size for InstantPreview images created by dvipng
-\TestPackage[c70fs.fd]{zhmetrics}
-% symbol packakges supported by LyX for items and the special character dialog
+% symbol packages supported by LyX for items and the special character dialog
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% END ACTUAL CONFIGURATION INSPECTION CODE %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% END ACTUAL CONFIGURATION INSPECTION CODE %%%%%%%%%%%%%%%%%%%%%%%%%%%%