From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Lomov Subject: CDLaTeX in Org document Date: Sat, 26 Oct 2013 15:47:58 +0900 Message-ID: <20131026064758.GD874@smoon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZxfR-0000Y8-8L for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 02:48:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZxfI-0002jf-Qe for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 02:48:13 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:61333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZxfI-0002jb-JM for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 02:48:04 -0400 Received: by mail-la0-f53.google.com with SMTP id eo20so3822294lab.12 for ; Fri, 25 Oct 2013 23:48:02 -0700 (PDT) Received: from smoon ([188.168.150.217]) by mx.google.com with ESMTPSA id mz3sm4978487lbb.14.2013.10.25.23.48.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Oct 2013 23:48:01 -0700 (PDT) Content-Disposition: inline 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: General discussions about Org-mode Hello, I'm using CDLaTeX with Org documents and with LaTeX ones (AUCTeX major mode). I configured cdlatex to insert closing brackets and dollar ( '$({[' ) and this works fine in AUCTeX major mode. Is it possible to use similar feature in combination Org+cdlatex? I tested with following settings ------------------------ 8< ------------------------ (add-to-list 'load-path "/usr/share/emacs/site-lisp/org") (add-to-list 'load-path "/usr/share/emacs/site-lisp/auctex") (setq cdlatex-simplify-sub-super-scripts nil) (setq cdlatex-paired-parens "$([{") (require 'org) (add-hook 'org-mode-hook 'turn-on-org-cdlatex) (setq org-use-sub-superscripts '{}) ------------------------ 8< ------------------------ And it didn't work. --- WBR, Vladimir Lomov -- There's no heavier burden than a great potential.