From d4cd8844471ab82fba4144a45e56827d4b0d6c90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Mon, 24 Sep 2007 17:15:18 +0000 Subject: [PATCH] LaTeXFeatures.cpp: make url a simple feature git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20467 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeXFeatures.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index d22f881d7f..05340527b9 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -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["; -- 2.39.2