>>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:

Dekel> The following patch changes the file format: Use "\SpecialChar
Dekel> ~" instead of "\SpecialChar \protected_separator"

So, Lars, should I apply this one? Anyway the current names do not
make much sense, so we should try to come a bit closer to latex. Here
is what the format is:

        case HYPHENATION:       command = "\\-";        break;
        case END_OF_SENTENCE:   command = "\\@.";       break;
        case LDOTS:             command = "\\ldots{}";  break;
        case MENU_SEPARATOR:    command = "\\menuseparator"; break;
        case PROTECTED_SEPARATOR:
                                command = "\\protected_separator";          break;

and here is the generated LaTeX:

        case HYPHENATION:         os << "\\-";  break;
        case END_OF_SENTENCE:     os << "\\@."; break;
        case LDOTS:               os << "\\ldots{}";    break;
        case MENU_SEPARATOR:      os << "\\lyxarrow{}"; break;
        case PROTECTED_SEPARATOR: os << (free_space ? " " : "~"); break;

So here we see that \ldots has a trailing {}, but \menuseparator and
\protected_separator do not. And why have both \menuseparator and
\lyxarrow for the same thing?

JMarc

Reply via email to