LaTeXFeatures.cpp: make url a simple feature

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20467 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-09-24 17:15:18 +00:00
parent c5372ca60e
commit d4cd884447

View File

@ -397,10 +397,10 @@ char const * simplefeatures[] = {
"subfigure",
"varioref",
"prettyref",
/* For a successful cooperation of the `wrapfig' package with the
`float' package you should load the `wrapfig' package *after*
the `float' package. See the caption package documentation
for explanation.*/
/*For a successful cooperation of the `wrapfig' package with the
`float' package you should load the `wrapfig' package *after*
the `float' package. See the caption package documentation
for explanation.*/
"float",
"wrapfig",
"booktabs",
@ -421,6 +421,7 @@ char const * simplefeatures[] = {
"txfonts",
"mathrsfs",
"ascii",
"url",
};
int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);
@ -549,11 +550,6 @@ string const LaTeXFeatures::getPackages() const
params_.use_esint != BufferParams::package_off)
packages << "\\usepackage{esint}\n";
// url.sty
if (mustProvide("url"))
packages << "\\IfFileExists{url.sty}{\\usepackage{url}}\n"
" {\\newcommand{\\url}{\\texttt}}\n";
// natbib.sty
if (mustProvide("natbib")) {
packages << "\\usepackage[";