]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.cpp
HTML for stackrel.
[lyx.git] / src / output_xhtml.cpp
index 21894a2941cb99af660e5f37318e1a1a61850a31..0a8222c8fb31cad5d0b96ffa946a73877ee44ecd 100644 (file)
@@ -18,6 +18,7 @@
 #include "buffer_funcs.h"
 #include "BufferParams.h"
 #include "Counters.h"
+#include "Font.h"
 #include "Layout.h"
 #include "OutputParams.h"
 #include "Paragraph.h"
@@ -699,7 +700,7 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf,
                                        openItemTag(xs, style);
                                        if (par == pbegin && style.htmllabeltag() != "NONE") {
                                                docstring const lbl = 
-                                                               pbegin->expandLabel(style, buf.params());
+                                                               pbegin->params().labelString();
                                                if (!lbl.empty()) {
                                                        openLabelTag(xs, style);
                                                        xs << lbl;
@@ -721,7 +722,7 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf,
                                        else if (style.labeltype != LABEL_NO_LABEL
                                                 && style.htmllabeltag() != "NONE") {
                                                openLabelTag(xs, style);
-                                               xs << par->expandLabel(style, buf.params());
+                                               xs << par->params().labelString();
                                                closeLabelTag(xs, style);
                                                xs.cr();
                                        }
@@ -794,7 +795,7 @@ void makeCommand(Buffer const & buf,
        // FIXME Probably need to account for LABEL_MANUAL
        if (style.labeltype != LABEL_NO_LABEL) {
                openLabelTag(xs, style);
-               xs << pbegin->expandLabel(style, buf.params());
+               xs << pbegin->params().labelString();
                closeLabelTag(xs, style);
                // Otherwise the label might run together with the text
                xs << from_ascii(" ");