X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fchkconfig.ltx;h=76ece71f00f01161190dc99772d4144195498114;hb=0601336c243e1c333ec9607fe05c7d40e7b50485;hp=3af74b9df1ef5fea0757f71225925bef8e35571b;hpb=1d84423e76c68a626fbb9acbeed245f1859d40f3;p=lyx.git diff --git a/lib/chkconfig.ltx b/lib/chkconfig.ltx index 3af74b9df1..76ece71f00 100644 --- a/lib/chkconfig.ltx +++ b/lib/chkconfig.ltx @@ -64,7 +64,13 @@ \newcommand{\AddLayout}[5][\default]{ \def\default{#2} - \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}"}% + } +} + \newcommand{\AddVariable}[2]{ \immediate\write\vars{chk_#1='#2'}} @@ -148,6 +154,12 @@ {\AddLayout[\firstelement]{\layoutname}{#2}{false}{\missingelements}} } +\newcommand{\DeclareCategory}[2]{ + \@ifundefined{category@#1} + {\global\@namedef{category@#1}{#2}}% + {}% we have already defined this one. +} + % Only for compatibility. Will be removed later. \let\DeclareSGMLClass=\DeclareDocBookClass @@ -255,19 +267,17 @@ \fi -%%% Document classes -% The list of layout files has been put in this file here by the -% configure script. -\input{chklayouts} -\input{chkmodules} - - %%% Packages \TestPackage{accents} +\TestPackage{achicago} \TestPackage{algorithm} \TestPackage{amstext} +\TestPackage{apacite} +\TestPackage{apalike} \TestPackage[arabic.ldf]{arabi} \TestPackage{array} +\TestPackage{astron} +\TestPackage{authordate1-4} \TestPackage{babel} \TestPackage{bibtopic} \TestPackage{bidi} @@ -278,18 +288,22 @@ \TestPackage{CJKutf8} \TestPackage{calc} \TestPackage{cancel} +\TestPackage{chicago} \TestPackage{color} % this one should be there if graphics.sty is there. \TestPackage{covington} \TestPackage{csquotes} +\TestPackage[koi8-r.def]{cyrillic} \TestPackage{dvipost} \TestPackage{endnotes} \TestPackage{enumitem} \TestPackage{esint} \TestPackage{eso-pic} \TestPackage{fontspec} +\TestPackage{harvard} \TestPackage{hhline} \TestPackage{ifthen} \TestPackage{iftex} +\TestPackage[iso-8859-7.def]{greek-inputenc} \TestPackage{fancybox} \TestPackage{fancyhdr} \TestPackage{fixltx2e} @@ -313,7 +327,9 @@ \TestPackage{mathtools} \TestPackage{mhchem} \TestPackage[mongolian.ldf]{mongolian} +\TestPackage{mslapa} \TestPackage{multirow} +\TestPackage{named} \TestPackage{natbib} \TestPackage{nicefrac} \TestPackage{nomencl} @@ -329,6 +345,8 @@ \TestPackage{slashed} \TestPackage{soul} \TestPackage{splitidx} +\TestPackage{stackrel} +\TestPackage{stmaryrd} \TestPackage{subfig} \TestPackage{Sweave} \TestPackage{textcomp} @@ -351,11 +369,15 @@ \TestPackage{braket} \TestPackage{cancel} \TestPackage{colortbl} +\TestPackage{diagbox} +\TestPackage{etoolbox} \TestPackage{eurosym} +\TestPackage{fp} \TestPackage{marginnote} \TestPackage{picinpar} +\TestPackage{pict2e} \TestPackage{sidecap} -\TestPackage{was} +\TestPackage{upgreek} % 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. @@ -378,17 +400,20 @@ \TestPackage{ae} \TestPackage{bera} \TestPackage{biolinum-type1} +\TestPackage{cbgreek}% for Greek \TestPackage{ccfonts} \TestPackage{cmbright} \TestPackage{eco} \TestPackage{eulervm} \TestPackage{feyn} \TestPackage{fourier} +\TestPackage{garamondx} +\TestFont[zgmr8r]{garamondx-fonts} \TestPackage{libertine} \TestPackage{libertine-type1} \TestPackage{lmodern} \TestPackage{luximono} -\TestPackage{mathdesign}% For Roman fonts +\TestPackage{mathdesign}% for Roman fonts \TestPackage{mdbch} \TestPackage{mdput} \TestPackage{mdugm} @@ -403,6 +428,8 @@ \TestPackage{tgpagella} \TestPackage{tgschola} \TestPackage{tgtermes} +\TestFont[ugmr8r]{ugm} +\TestFont[uopr8a]{urwclassico} \TestPackage{tipa} \TestPackage{tipx} \TestPackage{tone} @@ -425,6 +452,11 @@ %\TestPackage{mathabx} %\TestPackage{mathdesign}% But see above! +%%% Document classes +% The list of layout files has been put in this file here by the +% configure script. +\input{chklayouts} +\input{chkmodules} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% END ACTUAL CONFIGURATION INSPECTION CODE %%%%%%%%%%%%%%%%%%%%%%%%%%%%