From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: bug: html export, latex fragments and emphasize Date: Fri, 12 Nov 2010 10:52:05 +0000 Message-ID: <8762w2hl0q.fsf@ucl.ac.uk> References: <87y68z2uv1.wl%n.goaziou@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=41261 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGrEp-0005fB-TB for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 05:52:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGrEo-000584-S8 for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 05:52:11 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:49299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGrEo-00057x-Mf for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 05:52:10 -0500 In-Reply-To: <87y68z2uv1.wl%n.goaziou@gmail.com> (Nicolas Goaziou's message of "Fri, 12 Nov 2010 02:28:34 +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: Nicolas Goaziou Cc: Org Mode List Nicolas Goaziou writes: > Hello, > > Here is a problem when a latex fragment is split across two lines and > an emphasize follows. The text won't be italicized upon exporting to > HTML. > > ===== > * latex-fragments bug > > Imagine we have a formula starting here $e^{i\pi} + > 1 = 0$. Now we have a problem with /emphasize/. > ===== > > This is because the line starts with a char with 'org-protected > property and, thus, get caught by the "Protected HTML" (org-html.el > l. 1216) part of `org-export-as-html'. In others words, the line is > inserted as-is in the output buffer, before getting any > transformation. Just to confirm that this problem exists for me as well even when using =\( ... \)= instead of =$ ...$= constructs (which I believe is safer). -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.42.g0fd5ec)