From 5f0e82b72d25e1f3af9e102bff3b87e43621df8f Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 18 Mar 2013 18:08:31 -0400 Subject: [PATCH] Fix bug #8597: Output only (ref) for \eqref, not: equation (ref). --- src/insets/InsetRef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index 680323cc4a..180abd18c4 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -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