X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlabel.C;h=0973ad239cd1b419a570cc4609693deaf86241a3;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=4415de2a08b58a25e79b4a6de7f899ecf3885152;hpb=77e706c44175f3cf71473a42d5db890c77b3b7b3;p=lyx.git diff --git a/src/insets/insetlabel.C b/src/insets/insetlabel.C index 4415de2a08..0973ad239c 100644 --- a/src/insets/insetlabel.C +++ b/src/insets/insetlabel.C @@ -15,6 +15,7 @@ #endif #include "insetlabel.h" +#include "support/LOstream.h" using std::ostream; @@ -46,12 +47,18 @@ string InsetLabel::getLabel(int) const int InsetLabel::Latex(ostream & os, - signed char /*fragile*/, bool /*fs*/) const + bool /*fragile*/, bool /*fs*/) const { os << escape(getCommand()); return 0; } +int InsetLabel::Ascii(ostream & os) const +{ + os << "<" << getContents() << ">"; + return 0; +} + int InsetLabel::Linuxdoc(ostream & os) const {