-#else
- string command;
- signed char dummy = 0;
- Latex(command, dummy, free_space);
- os << command;
- return 0;
-#endif
-}
-
-
-#ifndef USE_OSTREAM_ONLY
-int InsetSpecialChar::Latex(string & file, signed char /*fragile*/,
- bool free_space) const
-{
- switch (kind) {
- case HYPHENATION: file += "\\-"; break;
- case END_OF_SENTENCE: file += "\\@."; break;
- case LDOTS: file += "\\ldots{}"; break;
- case MENU_SEPARATOR: file += "\\lyxarrow{}"; break;
- case PROTECTED_SEPARATOR: file += (free_space ? " " : "~"); break;
- }
- return 0;
-}
-
-
-int InsetSpecialChar::Linuxdoc(string & file) const
-{
- switch (kind) {
- case HYPHENATION: file += ""; break;
- case END_OF_SENTENCE: file += ""; break;
- case LDOTS: file += "..."; break;
- case MENU_SEPARATOR: file += "->"; break;
- case PROTECTED_SEPARATOR: file += " "; break;
- }
- return 0;