emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgtbl-mode and cdlatex don't work well in a latex buffer
@ 2017-02-25 10:07 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2017-02-25 10:07 UTC (permalink / raw)
  To: emacs-orgmode


Hi

Please consider

\documentclass[12pt]{article}
\begin{document}
% BEGIN RECEIVE ORGTBL test
\[
\begin{pmatrix}
s & a \\
1 & 2 \\
\end{pmatrix}
\]
% END RECEIVE ORGTBL test
\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex-matrix :splice nil :skip 0
| s | a |
| 1 | 2 |
\end{comment}


\end{document}


Now I insert a subscript in the first column and I obtain

\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex-matrix :splice nil :skip 0
| s$_{}$ | a |
| 1 | 2 |
\end{comment}

Which is bad.  The point is that 
cdlatex is *too smart*.


@Carsten, or whoever is maintaining cdlatex, any idea how to solve that?

Thanks

Uwe Brauer 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-25 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 10:07 orgtbl-mode and cdlatex don't work well in a latex buffer Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).