mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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:
parent
c5372ca60e
commit
d4cd884447
@ -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[";
|
||||
|
Loading…
Reference in New Issue
Block a user