// REMOVE IN 0.13
// Dirty Hack for backward compability. remove in 0.13 (Lgb)
contents = trim(contents);
- if (!contains(contents, "{") && !contains(contents, "}")) {
+ if (!contains(contents, '{') && !contains(contents, '}')) {
if (contents.length() == 2) {
string tmp;
tmp += contents[0];
// closer to the top of the dot-less 'i' or 'j'.
char tmpic = ic; // store the ic when we
ic = 'x'; // calculates the ascent of
+#ifdef WITH_WARNINGS
#warning metrics?
+#endif
int asc = ascent(); // the dot-less version (here: 'x')
ic = tmpic; // set the orig ic back
y = baseline - asc; // update to new y coord.
int InsetLatexAccent::latex(Buffer const &, ostream & os,
- LatexRunParams const &) const
+ OutputParams const &) const
{
os << contents;
return 0;
}
-int InsetLatexAccent::ascii(Buffer const &, ostream & os,
- LatexRunParams const &) const
+int InsetLatexAccent::plaintext(Buffer const &, ostream & os,
+ OutputParams const &) const
{
os << contents;
return 0;
int InsetLatexAccent::linuxdoc(Buffer const &, ostream & os,
- LatexRunParams const &) const
+ OutputParams const &) const
{
os << contents;
return 0;
int InsetLatexAccent::docbook(Buffer const &, ostream & os,
- LatexRunParams const &) const
+ OutputParams const &) const
{
os << contents;
return 0;