}
-void Encoding::validate(char_type c, LaTeXFeatures & features) const
+void Encodings::validate(char_type c, LaTeXFeatures & features)
{
- // Add the preamble stuff even if c can be encoded in this encoding,
- // since the inputenc package only maps the code point c to a command,
- // it does not make this command available.
CharInfoMap::const_iterator const it = unicodesymbols.find(c);
if (it != unicodesymbols.end() && !it->second.preamble.empty()) {
if (it->second.feature)
if (!info.preamble.empty())
info.feature = info.preamble[0] != '\\';
- lyxerr[Debug::INFO]
+ LYXERR(Debug::INFO)
<< "Read unicode symbol " << symbol << " '"
<< to_utf8(info.command) << "' '" << info.preamble
<< "' " << info.combining << ' ' << info.feature
string const latexname = lex.getString();
lex.next();
string const iconvname = lex.getString();
- lyxerr[Debug::INFO] << "Reading encoding " << name << endl;
+ LYXERR(Debug::INFO) << "Reading encoding " << name << endl;
encodinglist[name] = Encoding(name, latexname, iconvname);
if (lex.lex() != et_end)
lex.printError("Encodings::read: "