Fix bug #8597: Output only (ref) for \eqref, not: equation (ref).

(cherry picked from commit 5f0e82b72d)
This commit is contained in:
Richard Heck 2013-03-18 18:08:31 -04:00
parent 6fa51fa8ff
commit 7833f02b88

View File

@ -220,7 +220,7 @@ docstring InsetRef::xhtml(XHTMLStream & xs, OutputParams const &) const
// normally would be "on page #", but we have no pages
display_string = _("elsewhere");
else if (cmd == "eqref")
display_string = bformat(from_ascii("equation (%1$s)"), value);
display_string = '(' + value + ')';
else if (cmd == "formatted"
// we don't really have the ability to handle these
// properly in XHTML output