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

This commit is contained in:
Richard Heck 2013-03-18 18:08:31 -04:00
parent 41843646b7
commit 5f0e82b72d

View File

@ -225,7 +225,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