#include "support/lstrings.h"
#include "support/lyxlib.h"
-#include "support/tostr.h"
+#include "support/convert.h"
#include "support/types.h"
#ifdef HAVE_LOCALE
if(p->params().depth() < par->params().depth())
return p;
- if( style->latexname() != bstyle->latexname() and p->params().depth() == par->params().depth() )
+ if( style->latexname() != bstyle->latexname() && p->params().depth() == par->params().depth() )
return p;
}
return pend;
if (par->layout() == defaultstyle && par->emptyTag()) {
par->simpleDocBookOnePar(buf, os, runparams, outerFont(par - paragraphs.begin(), paragraphs));
} else {
- sgml::openTag(buf, os, *par);
+ sgml::openTag(buf, os, runparams, *par);
par->simpleDocBookOnePar(buf, os, runparams, outerFont(par - paragraphs.begin(), paragraphs));
sgml::closeTag(os, *par);
os << '\n';
string item_tag;
// Opening outter tag
- sgml::openTag(buf, os, *pbegin);
+ sgml::openTag(buf, os, runparams, *pbegin);
os << '\n';
- if (bstyle->latextype == LATEX_ENVIRONMENT and bstyle->pass_thru)
+ if (bstyle->latextype == LATEX_ENVIRONMENT && bstyle->pass_thru)
os << "<![CDATA[";
while (par != pend) {
LyXLayout_ptr const & style = par->layout();
ParagraphList::const_iterator send;
- string id = par->getID();
+ string id = par->getID(buf, runparams);
string wrapper = "";
pos_type sep = 0;
}
}
- if (bstyle->latextype == LATEX_ENVIRONMENT and bstyle->pass_thru)
+ if (bstyle->latextype == LATEX_ENVIRONMENT && bstyle->pass_thru)
os << "]]>";
// Closing outter tag
LyXLayout_ptr const & bstyle = par->layout();
//Open outter tag
- sgml::openTag(buf, os, *pbegin);
+ sgml::openTag(buf, os, runparams, *pbegin);
os << '\n';
// Label around sectioning number:
sgml::closeTag(os, bstyle->labeltag());
}
- // Opend inner tag and close inner tags
+ // Opend inner tag and close inner tags
sgml::openTag(os, bstyle->innertag());
par->simpleDocBookOnePar(buf, os, runparams, outerFont(par - paragraphs.begin(), paragraphs));
sgml::closeTag(os, bstyle->innertag());