mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Fix bug #8597: Output only (ref) for \eqref, not: equation (ref).
(cherry picked from commit 5f0e82b72d
)
This commit is contained in:
parent
6fa51fa8ff
commit
7833f02b88
@ -220,7 +220,7 @@ docstring InsetRef::xhtml(XHTMLStream & xs, OutputParams const &) const
|
|||||||
// normally would be "on page #", but we have no pages
|
// normally would be "on page #", but we have no pages
|
||||||
display_string = _("elsewhere");
|
display_string = _("elsewhere");
|
||||||
else if (cmd == "eqref")
|
else if (cmd == "eqref")
|
||||||
display_string = bformat(from_ascii("equation (%1$s)"), value);
|
display_string = '(' + value + ')';
|
||||||
else if (cmd == "formatted"
|
else if (cmd == "formatted"
|
||||||
// we don't really have the ability to handle these
|
// we don't really have the ability to handle these
|
||||||
// properly in XHTML output
|
// properly in XHTML output
|
||||||
|
Loading…
Reference in New Issue
Block a user