-#ifndef USE_OSTREAM_ONLY
-int InsetRef::Latex(string & file, signed char /*fragile*/, bool /*fs*/) const
-{
- if(getOptions().empty())
- file += escape(getCommand());
- else {
- string ns;
- InsetCommand clone = InsetCommand(getCmdName(),
- getContents(), ns);
- file += escape(clone.getCommand());
- }
- return 0;
-}
-
-
-int InsetRef::Linuxdoc(string & file) const
-{
- file += "<ref id=\"" + getContents()
- + "\" name=\""+ getOptions() +"\" >" ;
-
- return 0;
-}
-
-
-int InsetRef::DocBook(string & file) const