Re: [O] 8.3 git head new math $ behavior
On Tuesday, 24 Feb 2015 at 18:53, Rasmus wrote: \(·\) Should work unambiguously. And, for the OP, if you are like me and have $...$ burned into your autonomic system, the following snippet of code is quite useful: #+begin_src emacs-lisp :tangle esf-org.el ;; from Nicolas Richard theonewiththeevill...@yahoo.fr ;; Date: Fri, 8 Mar 2013 16:23:02 +0100 ;; Message-ID: 87vc913oh5@yahoo.fr (defun yf/org-electric-dollar nil When called once, insert \\(\\) and leave point in between. When called twice, replace the previously inserted \\(\\) by one $. (interactive) (if (and (looking-at )) (looking-back ()) (progn (delete-char 2) (delete-char -2) (insert $)) (insert \\(\\)) (backward-char 2))) (define-key org-mode-map (kbd $) 'yf/org-electric-dollar) #+end_src -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-820-gd92ef9
[O] 8.3 git head new math $ behavior
I've started running the git head version of Org mode, since 8.3 has some features I'm interested in that were not in the version I was previously using (the latest on elpa). Is this list an appropriate place to as questions or mention bugs I find in 8.3, or is there a better place for that? I write because in the new version $x$ exports to latex as before, but ($x$) does not. It exports as seen, including the dollar sign. ($$x$$) does export as math. Is this an intentional changed behavior? Or some regex exporter bug that I've come across? -k.
Re: [O] 8.3 git head new math $ behavior
Ken Mankoff mank...@gmail.com writes: I write because in the new version $x$ exports to latex as before, but ($x$) does not. It exports as seen, including the dollar sign. ($$x$$) does export as math. As far as I recall it's a feature. I think there's a discussion with this exact example a way back, but it's hard to search for... $·$ happens to work sometimes. \(·\) Should work unambiguously. —Rasmus -- Slowly unravels in a ball of yarn and the devil collects it