]> 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:11:08 +0000 (18:11 -0400)
(cherry picked from commit 5f0e82b72d25e1f3af9e102bff3b87e43621df8f)

src/insets/InsetRef.cpp

index 78e4fa1de47ada87287f6c1a738f3df28c126b08..d38e9645dbeae2b96bd3eadbf88b1c402cf2397e 100644 (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