From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Benfield Subject: cdlatex, previewing LaTeX, and dollar signs Date: Wed, 14 Jul 2010 17:55:29 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ6PO-0001fV-Vm for emacs-orgmode@gnu.org; Wed, 14 Jul 2010 14:10:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZ6Fc-0003Sz-Ks for emacs-orgmode@gnu.org; Wed, 14 Jul 2010 14:00:09 -0400 Received: from lo.gmane.org ([80.91.229.12]:44859) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ6Fc-0003Sn-AW for emacs-orgmode@gnu.org; Wed, 14 Jul 2010 14:00:08 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OZ6FX-00066s-S0 for emacs-orgmode@gnu.org; Wed, 14 Jul 2010 20:00:04 +0200 Received: from cpe-071-068-070-066.carolina.res.rr.com ([71.68.70.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jul 2010 20:00:03 +0200 Received: from mike.benfield by cpe-071-068-070-066.carolina.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jul 2010 20:00:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org org-cdlatex-mode subverts cdlatex's normal behavior in that it doesn't give dollar signs when they're not there. And on the other hand, org-preview-latex-fragment only displays rendered LaTeX when the dollar signs are there. I don't know what other people's usage pattern is, but I read my notes in emacs with the LaTeX rendered, so I never write LaTeX outside of dollar signs because that is useless to me. Could one or the other of these behaviors change? For me, the ideal situation would be for org-preview-latex-fragment to work even when dollar signs aren't present, so that for instance \int_a^b f would render \int_a^b as LaTeX math and leave f alone. (By the way, right now such an expression renders correctly when exporting to HTML but not when exporting to LaTeX.)