}
return 0;
}
-#endif
int InsetRef::Linuxdoc(string & file) const
return 0;
}
+#else
+
+int InsetRef::Linuxdoc(ostream & os) const
+{
+ os << "<ref id=\"" << getContents()
+ << "\" name=\"" << getOptions() << "\" >";
+ return 0;
+}
+
+
+int InsetRef::DocBook(ostream & os) const
+{
+ os << "<link linkend=\"" << getContents()
+ << "\">" << getOptions() << "</link>";
+ return 0;
+}
+#endif
+
// This function escapes 8-bit characters and other problematic characters
// It's exactly the same code as in insetlabel.C.