os << _("Abstract") << "\n\n";
currlinelen = 0;
} else {
- docstring const abst = _("Abstract") + from_ascii(": ");
+ docstring const abst = _("Abstract: ");
os << abst;
currlinelen += abst.length();
}
os << _("References") << "\n\n";
currlinelen = 0;
} else {
- docstring const refs = _("References") + from_ascii(": ");
+ docstring const refs = _("References: ");
os << refs;
currlinelen += refs.length();
}
case ' ':
if (runparams.linelen > 0 &&
- currlinelen + word.length() > runparams.linelen - 10) {
+ currlinelen + word.length() > runparams.linelen) {
os << '\n';
pair<int, docstring> p = addDepth(depth, ltype_depth);
os << p.second;
default:
word += c;
- if (runparams.linelen > 0 &&
- currlinelen + word.length() > runparams.linelen)
- {
- os << '\n';
- pair<int, docstring> p = addDepth(depth, ltype_depth);
- os << p.second;
- currlinelen = p.first;
- }
break;
}
}
+
+ if (runparams.linelen > 0 &&
+ currlinelen + word.length() > runparams.linelen) {
+ os << '\n';
+ pair<int, docstring> p = addDepth(depth, ltype_depth);
+ os << p.second;
+ currlinelen = p.first;
+ }
os << word;
}