From mboxrd@z Thu Jan 1 00:00:00 1970 From: renato Subject: bug in latex export? Date: Sat, 27 Apr 2013 12:05:37 +0200 Message-ID: <20130427120537.062e0621@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/OeAIF=lo9YuJSDbQpcov2MQ"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW20w-0005oU-Am for emacs-orgmode@gnu.org; Sat, 27 Apr 2013 06:05:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UW20v-0006en-6H for emacs-orgmode@gnu.org; Sat, 27 Apr 2013 06:05:54 -0400 Received: from mail-bk0-x234.google.com ([2a00:1450:4008:c01::234]:54515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW20u-0006ed-Gf for emacs-orgmode@gnu.org; Sat, 27 Apr 2013 06:05:52 -0400 Received: by mail-bk0-f52.google.com with SMTP id je9so1153592bkc.11 for ; Sat, 27 Apr 2013 03:05:51 -0700 (PDT) Received: from localhost.localdomain ([131.114.23.97]) by mx.google.com with ESMTPSA id jz9sm4264776bkb.1.2013.04.27.03.05.48 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 27 Apr 2013 03:05:49 -0700 (PDT) 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" --Sig_/OeAIF=lo9YuJSDbQpcov2MQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, don't know if this has allready been reported, but I just upgraded to 8.0 and I stumped into this... this in the .org file \begin{theoremwithname}[hei] theorem \begin{align*} 2+2 \end{align*} \end{theoremwithname} gets latex-exported to this (note that after \endtheoremwithname everything is replicated with escape characters): \begin{theoremwithname}[hei] theorem \begin{align*} 2+2 \end{align*} \end{theoremwithname}$\backslash$begin\{align*\} 2+2 $\backslash$end\{align*\} $\backslash$end\{theoremwithname\} \begin{align*} 2+2 \end{align*} \end{theoremwithname} which obviously brings to uncompilable latex code. BTW in the preamble I have this that defines the environment theoremwithname: #+LATEX_HEADER: \newtheoremstyle{withname}{}{}{\itshape}{}{\bfseries}{.}{.5= em}{\thmname{#3} \thmnumber{#2}}=20 #+LATEX_HEADER: \theoremstyle{withname} #+LATEX_HEADER: \newtheorem{theoremwithname}[equation]{Teorema} cheers, renato --Sig_/OeAIF=lo9YuJSDbQpcov2MQ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJRe6L4AAoJEBz6xFdttjrf+ysIAILGUzGIQe46gBRMBwfU0Uj0 AJygM39nx3y6ykCzeA/a5IJRVZPSIWyV62E6wq0AGXNd+0r9DtyCiSXrMa03Mkxw q4/yCuxNdfiCX62hujXioUNSGOs1HjkQaJkBiwvMmOkBJQujqelz167UYEU6mKi6 AoVrtb//n7GEc70ZIe6lc/QUMT7RFbMZxil2KR8e4xK9Lcr4ovx1od8trEvdf7pu OW5RYN3et6/7uJvYoy/22Mjt4MYVZvF+baJeFqY7iDyt2cRkH9suycUSjFvdar45 fbIcnhTsiyN9y3EV1Xae6BzXwmsUlAi9I4TjmVlEi1Fc+7AYGQiJuw+EnOdPxHo= =PGCU -----END PGP SIGNATURE----- --Sig_/OeAIF=lo9YuJSDbQpcov2MQ--