From 27e27db14758015c4ae732c997227c101602c98b Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 18 Mar 2013 19:30:17 -0400 Subject: [PATCH] Add FIXME concerning bug #8599. --- src/insets/InsetRef.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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; -- 2.39.2