- lyxpreamble += "\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% "
- "User specified LaTeX commands.\n";
-
- // Check whether we should change the catcode of '@' in the preamble.
- // We do it when '@' explicitly appears and, as a safety measure, also
- // when an external file is included.
- if (atlyxpreamble.find(from_ascii("@")) != docstring::npos
- || atlyxpreamble.find(from_ascii("\\input")) != docstring::npos
- || atlyxpreamble.find(from_ascii("\\include")) != docstring::npos)
- lyxpreamble += "\\makeatletter\n"