If I have in my .org file:
\(\begin{array}{rclr}
A & ::= & B & \\
& \mid & C & \\
D & ::= & E &
\mbox{(any value-returning expression)}
\end{array}\)
and I export as latex, the generated .tex file contains
\(\begin{array}{rclr}
A \& ::= \& B \& \\
\& \mid \& C \& \\
D \& ::= \& E \&
\mbox{(any value-returning expression)}
\end{array}\)
The "&" characters should not be escaped.
Oddly enough, if I export to HTML, everything works fine (that is, the
fragments are compiled by latex and turned into .png images).
Surrounding the block in #+BEGIN_LaTeX / #+END_LaTeX won't solve the problem,
as the fragment no longer exports to html. I'd like to be able to export to
both latex and html.
Any idea why the "&"s are being escaped? Is it because the latex export
doesn't know that within an array environment &'s are special? Is there a way
to turn off processing of &'s in array's?
I'm using org-mode version 6.06b
Thanks very much.
--Greg
--
Gregory T. Sullivan, Ph.D.
BAE Systems Advanced Information Technologies
6 New England Executive Park, Burlington, MA 01803
781-262-4553 (office), 978-430-3461 (cell)
[EMAIL PROTECTED]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode