#include "language.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
+#include "LColor.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "lyxtextclasslist.h"
using lyx::support::tokenPos;
using std::endl;
-
+using std::string;
using std::istringstream;
using std::ostream;
using std::ostringstream;
}
+BufferParams::Impl *
+BufferParams::MemoryTraits::clone(BufferParams::Impl const * ptr)
+{
+ return new BufferParams::Impl(*ptr);
+}
+
+
+void BufferParams::MemoryTraits::destroy(BufferParams::Impl * ptr)
+{
+ delete ptr;
+}
+
+
BufferParams::BufferParams()
: // Initialize textclass to point to article. if `first' is
// true in the returned pair, then `second' is the textclass
}
} else if (token == "\\author") {
lex.nextToken();
- istringstream ss(STRCONV(lex.getString()));
+ istringstream ss(lex.getString());
Author a;
ss >> a;
author_map.push_back(pimpl_->authorlist.record(a));
clsoptions << options << ',';
}
- string strOptions(STRCONV(clsoptions.str()));
+ string strOptions(clsoptions.str());
if (!strOptions.empty()) {
strOptions = rtrim(strOptions, ",");
os << '[' << strOptions << ']';
if (!lyxrc.language_global_options
&& tmp == "\\usepackage{babel}")
tmp = string("\\usepackage[") +
- STRCONV(language_options.str()) +
+ language_options.str() +
"]{babel}";
lyxpreamble += tmp + "\n";
lyxpreamble += features.getBabelOptions();