emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Math equations in html export
@ 2016-11-21 18:37 Orm Finnendahl
  2016-11-21 22:28 ` Nicolas Goaziou
  2016-11-22 20:17 ` Thierry Banel
  0 siblings, 2 replies; 3+ messages in thread
From: Orm Finnendahl @ 2016-11-21 18:37 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

 I can't seem to get Math equations exported correctly to html from an
org file. Can someone provide me with a full example?

I set

#+OPTIONS: tex:t    

on top of the org file and tried these things, but they all render
literally:

$X^2$

$$X^2$$

\(x^2\)

\[x^2\]

I know the former two are not recommended, but I tried them
nevertheless. I could imagine I have to set some options/variables,
but I don't know which. Can someone help?

--
Orm

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Math equations in html export
  2016-11-21 18:37 Math equations in html export Orm Finnendahl
@ 2016-11-21 22:28 ` Nicolas Goaziou
  2016-11-22 20:17 ` Thierry Banel
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2016-11-21 22:28 UTC (permalink / raw)
  To: Orm Finnendahl; +Cc: emacs-orgmode

Hello,

Orm Finnendahl <orm.finnendahl@selma.hfmdk-frankfurt.de> writes:

>  I can't seem to get Math equations exported correctly to html from an
> org file. Can someone provide me with a full example?
>
> I set
>
> #+OPTIONS: tex:t    
>
> on top of the org file and tried these things, but they all render
> literally:
>
> $X^2$
>
> $$X^2$$
>
> \(x^2\)
>
> \[x^2\]

This works here. You may not have access to Mathjax.js. See
`org-html-with-latex' for details.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Math equations in html export
  2016-11-21 18:37 Math equations in html export Orm Finnendahl
  2016-11-21 22:28 ` Nicolas Goaziou
@ 2016-11-22 20:17 ` Thierry Banel
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Banel @ 2016-11-22 20:17 UTC (permalink / raw)
  To: emacs-orgmode

Le 21/11/2016 19:37, Orm Finnendahl a écrit :
> Hi,
>
>  I can't seem to get Math equations exported correctly to html from an
> org file. Can someone provide me with a full example?
>
> I set
>
> #+OPTIONS: tex:t    
>
> on top of the org file and tried these things, but they all render
> literally:
>
> $X^2$
>
> $$X^2$$
>
> \(x^2\)
>
> \[x^2\]
>
> I know the former two are not recommended, but I tried them
> nevertheless. I could imagine I have to set some options/variables,
> but I don't know which. Can someone help?
>
> --
> Orm
>
>

I use
#+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler ...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-22 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-21 18:37 Math equations in html export Orm Finnendahl
2016-11-21 22:28 ` Nicolas Goaziou
2016-11-22 20:17 ` Thierry Banel

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).