This module can be used instead of \usepackage{fixltx2e} in the preamble
to avoid duplicate definitions of \textsubscript.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36550
a592a061-630c-0410-9148-
cb99ea01b6c8
endnotes.module
eqs-within-sections.module
figs-within-sections.module
+ fixltx2e.module
foottoend.module
hanging.module
initials.module
layouts/extletter.layout \
layouts/extreport.layout \
layouts/figs-within-sections.module \
+ layouts/fixltx2e.module \
layouts/foils.layout \
layouts/foottoend.module \
layouts/frletter.layout \
--- /dev/null
+#\DeclareLyXModule{Fix LaTeX}
+#DescriptionBegin
+#Loads the LaTeX package fixltx2e which contains some bug fixes for LaTeX.
+#Those fixes are not part of the LaTeX kernel because of backward compatibility.
+#If you use this module your typeset document may look different
+#when you process it with future LaTeX versions, because fixltx2e may provide
+#more bugfixes in future versions.
+#DescriptionEnd
+
+# Author : Georg Baum <baum@lyx.org>
+
+Format 30
+
+Requires fixltx2e
"framed",
"soul",
"textcomp",
- "subscript",
+ "fixltx2e",
"pmboxdraw",
"bbding",
"ifsym",
"\\makenomenclature\n";
}
+ // fixltx2e provides subscript
+ if (mustProvide("subscript") && !isRequired("fixltx2e"))
+ packages << "\\usepackage{subscript}\n";
+
return packages.str();
}