To write diagrams with amscd, the commands \CD and @>>> are used; but in Spanish, the characters '@>>>' give conflicts and LaTeX errors with some defaults options worked by spanish.ldf (babel).
Using the command \deactivatequoting, offered by such spanish/babel package, before the diagram, the file compiles right and the output is correct, but the instant preview in LyX is not it. E. g., the diagram A@>>>B@>>>C, shows O.K. in the output, such as A--->B--->C but in LyX display only the character A is showed. (Moreover, for the same file - the problem is present too changing the language file in English, - the problem continues opening the Spanish file in LyX with LANG=en, - the problem disappear opening the English file in LyX with LANG=en) (lyx-1.5-3 on Ubuntu GNU/Linux ) Do you know a solution for this, if possible? Thanks in advance. Ignacio García