From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Schrempf Subject: Bug: LaTeX in HTML export [8.3.2 (release_8.3.2-380-g64aee4 @ /home/dominik/.emacs.d/org-mode/lisp/)] Date: Fri, 11 Dec 2015 14:45:45 +0100 Message-ID: <877fkl6quu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7O1C-0005X4-1g for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 08:45:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7O16-0001sn-MR for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 08:45:53 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:38813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7O16-0001sg-G9 for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 08:45:48 -0500 Received: by wmec201 with SMTP id c201so70740942wme.1 for ; Fri, 11 Dec 2015 05:45:47 -0800 (PST) Received: from arbeitsbaer (i122mc151.vu-wien.ac.at. [193.171.97.93]) by smtp.gmail.com with ESMTPSA id w6sm17098885wjy.31.2015.12.11.05.45.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Dec 2015 05:45:46 -0800 (PST) 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 Hello, I am trying to export a LaTeX code block into HTML and have a problem when using lower (<) signs (maybe it also happens with greater signs but I did not check that). E.g., the following Org code leads to an error when viewing the HTML file because the '<' sign is interpreted in a wrong way (I don't know how but it seems to be interpreted as part of a tag) and MathJax does not succeed then. Org code: #+BEGIN_SRC latex :results html \begin{equation} \text{if } 0 If I add spaces in-between, it works fine. #+BEGIN_SRC latex :results html \begin{equation} \text{if } 0 < i < N \end{equation} #+END_SRC Best wishes, Dominik Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis Package: Org-mode version 8.3.2 (release_8.3.2-380-g64aee4 @ /home/dominik/.emacs.d/org-mode/lisp/)