if (mustProvide("yhmath"))
packages << "\\usepackage{yhmath}\n";
+ if (mustProvide("undertilde") &&
+ params_.use_undertilde != BufferParams::package_off)
+ packages << "\\usepackage{undertilde}\n";
+
// [x]color and pdfcolmk are handled in getColorOptions() above
// makeidx.sty
from_ascii(buffer().language()->babel())));
for (lang_it lit = lbeg; lit != lend; ++lit) {
string const code = (*lit)->code();
- name = translateIfPossible(flname, code);
+ name = (*lit)->translateLayout(fl.name());
// we assume we have a suitable translation if
// either the language is English (we need to
// translate into English if English is a secondary
docstring const ext = from_ascii(fl.ext());
docstring const within = from_ascii(fl.within());
docstring const style = from_ascii(fl.style());
- docstring const name = translateIfPossible(
- from_utf8(fl.name()),
- buffer().language()->code());
+ docstring const name =
+ buffer().language()->translateLayout(fl.name());
os << "\\floatstyle{" << style << "}\n"
<< "\\newfloat{" << type << "}{" << placement
<< "}{" << ext << '}';