From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: orgtbl-mode and cdlatex don't work well in a latex buffer Date: Sat, 25 Feb 2017 10:07:33 +0000 Message-ID: <87fuj2k2hm.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chZGT-0005LE-Mi for emacs-orgmode@gnu.org; Sat, 25 Feb 2017 05:07:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chZGQ-0001gs-Ii for emacs-orgmode@gnu.org; Sat, 25 Feb 2017 05:07:45 -0500 Received: from [195.159.176.226] (port=45453 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chZGQ-0001gg-CQ for emacs-orgmode@gnu.org; Sat, 25 Feb 2017 05:07:42 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1chZGH-0008Qj-2h for emacs-orgmode@gnu.org; Sat, 25 Feb 2017 11:07:33 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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