The package ifthen needs to be added to LaTeXConfig.lyx. I'll do this when that file can be opened again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22419
a592a061-630c-0410-9148-
cb99ea01b6c8
\TestPackage{endnotes}
\TestPackage{enumitem}
\TestPackage{esint}
+\TestPackage{ifthen}
\TestPackage{fancybox}
\TestPackage{fancyhdr}
\TestPackage{framed}
# Use a simpler preamble.
Preamble
- \usepackage{amsmath,amsthm}
+ \usepackage{amsthm}
\usepackage{amsfonts}
EndPreamble
+Requires amsmath
+
Input amsmaths-plain.inc
FontSize 11
End
+Requires ifthen
+
Preamble
- \usepackage{entcsmacro,ifthen}
+ \usepackage{entcsmacro}
\newcommand{\theTitle}[1]{}
\newcommand{\theAuthor}[1]{}
\newcommand{\theAddress}[1]{}
AlignPossible Block, Left
LabelType Static
LabelString "_/"
- Preamble
- \usepackage{pifont}
- EndPreamble
+ Requires pifont
End
Style CrossList
AlignPossible Block, Left
LabelType Static
LabelString "><"
- Preamble
- \usepackage{pifont}
- EndPreamble
+ Requires pifont
End
Margin Static
LeftMargin "MMMM"
ParIndent "-MMMM"
+ Requires ifthen
Preamble
- \usepackage{ifthen}
\newlength{\lyxhang}
\IfFileExists{hanging.sty}{
\usepackage{hanging}
# FreeSpacing Preserve multiple spaces etc.
# ForceLTR Force the "latex" language, leading to Left-to-Right
# (latin) output, e.g., in ERT or URL. A kludge.
+# Requires Require a given (supported) feature. Multiple features must
+# be comma-separated.
#End
Format 6
Color Blue
Size Small
EndFont
- Preamble
- \usepackage{url}
- EndPreamble
+ Requires url
End
InsetLayout OptArg
"covington",
"csquotes",
"enumitem",
- "endnotes"
+ "endnotes",
+ "ifthen"
};
int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);