From: Richard Heck Date: Mon, 18 Mar 2013 22:08:31 +0000 (-0400) Subject: Fix bug #8597: Output only (ref) for \eqref, not: equation (ref). X-Git-Tag: 2.0.6~71 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7833f02b8858d026fa72278e8210924ba727027f;p=features.git Fix bug #8597: Output only (ref) for \eqref, not: equation (ref). (cherry picked from commit 5f0e82b72d25e1f3af9e102bff3b87e43621df8f) --- diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index 78e4fa1de4..d38e9645db 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -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