[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] diagrams.sty confuses AUCTeX
From: |
Oleksandr Manzyuk |
Subject: |
[AUCTeX] diagrams.sty confuses AUCTeX |
Date: |
Wed, 1 Apr 2009 19:35:10 -0400 |
Hi!
I just have noticed that Paul Taylor's package diagrams.sty confuses
AUCTeX. A minimal example:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{diagrams}
\diagramstyle[height=2em]
\begin{document}
\begin{diagram}
XXXXXXXXXXXXXXX &\rTo &XXXXXXXXXXXXXXX &\rTo &XXXXXXXXXXXXXXX
\\
\dTo &&=&&\dTo
\\
XXXXXXXXXXXXXXX &&\rTo && XXXXXXXXXXXXXXX
\end{diagram}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Try to compile it (be sure to put the attached file diagrams.sty
somewhere TeX can find it). This should produce an error message, but
when you hit C-c `, you should get an empty *TeX Help* window and a
message in the minibuffer
Search failed: "^l\\."
However if you press C-c C-l and check the TeX output, you'll see that
the compilation was successful. My guess is that this happens because
diagrams.sty echoes its error messages (which are not TeX errors but
merely internal errors of the package itself) in lines starting with
bang (!). I usually use XY-pic, but my collaborators are more
comfortable with diagrams. Are there any chances that this peculiarity
will be fixed in future releases of AUCTeX?
Best,
Oleksandr
diagrams.sty
Description: Text Data
- [AUCTeX] diagrams.sty confuses AUCTeX,
Oleksandr Manzyuk <=