From: Dominik Schrempf <dominik.schrempf@gmail.com>
To: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <877fkl6quu.fsf@gmail.com> (raw)
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<i<N
\end{equation}
#+END_SRC
#+RESULTS:
#+BEGIN_HTML
\begin{equation}
\text{if } 0<i<N
\end{equation}
#+END_HTML
I.e., the Firefox HTML syntax checker shows the line '\end{equation}...'
in red in the HTML file.
HTML code:
\begin{equation}
\text{if } 0<i<N
\end{equation}</li>
</ul>
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/)
next reply other threads:[~2015-12-11 13:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 13:45 Dominik Schrempf [this message]
2015-12-11 14:58 ` Bug: LaTeX in HTML export [8.3.2 (release_8.3.2-380-g64aee4 @ /home/dominik/.emacs.d/org-mode/lisp/)] Rasmus
2015-12-11 15:54 ` Dominik Schrempf
2015-12-11 17:42 ` Rasmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fkl6quu.fsf@gmail.com \
--to=dominik.schrempf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).