]> git.lyx.org Git - features.git/commitdiff
Fix bug #8597: Output only (ref) for \eqref, not: equation (ref).
authorRichard Heck <rgheck@lyx.org>
Mon, 18 Mar 2013 22:08:31 +0000 (18:08 -0400)
committerRichard Heck <rgheck@lyx.org>
Mon, 18 Mar 2013 22:09:22 +0000 (18:09 -0400)
src/insets/InsetRef.cpp

index 680323cc4a48deec7efdaaaea0a26c70885eb936..180abd18c48b8e75972aa15a296def9cca6e7344 100644 (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