* auctex+orgtbl: LaTeX-fill-environment problem: The comment environment.
@ 2017-03-04 13:25 Uwe Brauer
0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2017-03-04 13:25 UTC (permalink / raw)
To: auctex-devel; +Cc: emacs-orgmode
Hi All
This might be interesting for members of both mailing lists.
I checked and removed my private filling function, but I still run into
a problem. Please consider
\documentclass[12pt]{article}
\begin{document}
\begin{enumerate}
\item First we do
% BEGIN RECEIVE ORGTBL ej8b
\[
\begin{matrix}
r & a & b & \alpha & \beta \\
0.9709 & 10.6286 & 7.7619 & 0.0887 & -0.5448 \\
\end{matrix}
\]
% END RECEIVE ORGTBL ej8b
\begin{comment}
#+ORGTBL: SEND ej8b orgtbl-to-latex-matrix :splice nil :skip 0
| r | a | b | \alpha | \beta |
| 0.9709 | 10.6286 | 7.7619 | 0.0887 | -0.5448 |
\end{comment}
\item the we do
\end{enumerate}
\end{document}
This uses the cool orgtbl feature, which eases greatly to construction
of tables, matrices and friends. (Comment for the auctex users)
However when I run LaTeX-fill-environment I obtain
\begin{enumerate}
\item First we do
% BEGIN RECEIVE ORGTBL ej8b
\[
\begin{matrix}
r & a & b & \alpha & \beta \\
0.9709 & 10.6286 & 7.7619 & 0.0887 & -0.5448 \\
\end{matrix}
\]
% END RECEIVE ORGTBL ej8b
\begin{comment}
#+ORGTBL: SEND ej8b orgtbl-to-latex-matrix :splice nil :skip 0 | r |
a | b | \alpha | \beta | | 0.9709 | 10.6286 | 7.7619 | 0.0887 | -0.5448 |
\end{comment}
\item the we do
\end{enumerate}
\end{document}
Which is bad since it destroys the orgtbl syntax.
Anybody can confirm that and even suggestion a workaround?
Thanks
Uwe Brauer
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-04 13:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-04 13:25 auctex+orgtbl: LaTeX-fill-environment problem: The comment environment Uwe Brauer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.