From: Richard Heck Date: Mon, 18 Mar 2013 23:30:17 +0000 (-0400) Subject: Add FIXME concerning bug #8599. X-Git-Tag: 2.1.0beta1~529^2~3 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=27e27db14758015c4ae732c997227c101602c98b;p=features.git Add FIXME concerning bug #8599. --- diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index 180abd18c4..0c8e471d5c 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -226,10 +226,15 @@ docstring InsetRef::xhtml(XHTMLStream & xs, OutputParams const &) const display_string = _("elsewhere"); else if (cmd == "eqref") display_string = '(' + value + ')'; - else if (cmd == "formatted" - // we don't really have the ability to handle these - // properly in XHTML output - || cmd == "nameref") + else if (cmd == "formatted") + display_string = il->prettyCounter(); + else if (cmd == "nameref") + // FIXME We don't really have the ability to handle these + // properly in XHTML output yet (bug #8599). + // It might not be that hard to do. We have the InsetLabel, + // and we can presumably find its paragraph using the TOC. + // We could then output the contents of the paragraph using + // something? display_string = il->prettyCounter(); } else display_string = ref;