// makeidx.sty
if (makeidx) {
- if (! tclass.provides(LyXTextClass::makeidx)
- && params.language->babel() != "french") // french provides
- // \index !
- // French should not be hardcoded. (Lgb)
+ if (! tclass.provides(LyXTextClass::makeidx))
packages << "\\usepackage{makeidx}\n";
packages << "\\makeindex\n";
}
}
+string const LaTeXFeatures::getLyXSGMLEntities() const
+{
+ // Definition of entities used in the document that are LyX related.
+ ostringstream entities;
+
+ if (lyxarrow) {
+ entities << "<!ENTITY lyxarrow \"->\">"
+ << '\n';
+ }
+
+ return entities.str().c_str();
+}
+
+
string const LaTeXFeatures::getIncludedFiles(string const & fname) const
{
ostringstream sgmlpreamble;