From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: escaping of #+TEXT lines: \vspace vs \vspace* Date: Wed, 23 Mar 2011 12:07:04 +0800 Message-ID: <87lj06fpjr.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=57760 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2FLv-0006oj-Ir for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 00:07:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2FLu-00074n-JJ for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 00:07:23 -0400 Received: from lo.gmane.org ([80.91.229.12]:34250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2FLu-00074c-E4 for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 00:07:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q2FLr-0002O2-Nq for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 05:07:19 +0100 Received: from 123.121.214.111 ([123.121.214.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 05:07:19 +0100 Received: from eric by 123.121.214.111 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 05:07:19 +0100 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 Hi, In a certain org file I put this line into the export options: #+begin_src org-mode #+TEXT: \vspace*{0.5in} #+end_src The starred version is necessary, obviously, since this comes before any text, and LaTeX will ignore a plain old \vspace{} in those cases. This currently gets escaped as \vspace*\{0.5in\}, which keeps it from working. I noticed that regular \vspace{} is not escaped, so I went looking in org-latex.el, but can't begin to figure out which regexp in which function is protecting the unstarred version, but not the starred version. Is this fixable? Thanks! Eric