From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [ox-latex] change org-latex-default-table-environment to alist Date: Sun, 07 Apr 2013 22:27:42 +0200 Message-ID: <878v4u84sh.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP6DS-00053S-H8 for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:10:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP6DR-0001gl-7d for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:10:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:33497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP6DR-0001gP-1M for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:10:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UP6DN-00041b-DW for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 09:10:05 +0200 Received: from ip-pool-133.iue.it ([192.167.90.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 09:10:05 +0200 Received: from rasmus by ip-pool-133.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 09:10:05 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Would it maybe make sense to make org-latex-default-table-environment an alist so that I can specify a default for each :mode? E.g. pmatrix for :mode math; psmallmatrix for :mode inline-math; and tabular for :mode table? The reason is that now #+BEGIN_SRC org here's inline #+ATTR_LATEX: :mode inline-math :math-prefix P= | a | b | | g | d | table. #+END_SRC becomes #+BEGIN_SRC latex here's inline \[P=\begin{tabular} a & b \\ g & d \\ \end{tabular}\] table. #+END_SRC –Rasmus -- This is the kind of tedious nonsense up with which I will not put