-#else
- string latex_output;
- int res = Latex(latex_output, fragile, free_spc);
- os << latex_output;
-
- return res;
-#endif
-}
-
-
-#ifndef USE_OSTREAM_ONLY
-int InsetUrl::Latex(string & file, signed char fragile, bool /*free_spc*/) const
-{
- if (!getOptions().empty())
- file += getOptions() + ' ';
- if (fragile)
- file += "\\protect";
-
- file += "\\url{" + getContents() + '}';
-
- return 0;
-}
-
-
-int InsetUrl::Linuxdoc(string & file) const
-{
- file += "<"+ getCmdName() +
- " url=\"" + getContents()+"\"" +
- " name=\"" + getOptions() +"\">";
-
- return 0;