]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.cpp
Limit ligature protection to quote ligature chars
[lyx.git] / src / insets / InsetNomencl.cpp
index f75ef15cd5eb6f5b612489d3d03c8c8eb171ec1a..76bd7b3a0aa8d56da215ddc628cc16c88f23a59d 100644 (file)
@@ -31,6 +31,7 @@
 #include "OutputParams.h"
 #include "output_xhtml.h"
 #include "sgml.h"
+#include "texstream.h"
 #include "TocBackend.h"
 
 #include "frontends/FontMetrics.h"
@@ -92,6 +93,14 @@ docstring InsetNomencl::toolTip(BufferView const & /*bv*/, int /*x*/, int /*y*/)
 }
 
 
+int InsetNomencl::plaintext(odocstringstream & os,
+        OutputParams const &, size_t) const
+{
+       docstring s = "[" + getParam("symbol") + ": " + getParam("description") + "]";
+       os << s;
+       return s.size();
+}
+
 
 int InsetNomencl::docbook(odocstream & os, OutputParams const &) const
 {