emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>,
	Nick Dokos <ndokos@gmail.com>
Subject: Re: HTML export for math markup
Date: Mon, 9 Jan 2017 19:24:39 -0500	[thread overview]
Message-ID: <CAFAhFSU8NGGv=Z5Li2rBE+w9pT-4iT-crYnhgA11+7RLCgG8aQ@mail.gmail.com> (raw)
In-Reply-To: <CAFAhFSXi5uzvkELt7XQ7n+2Q-5j6s=tR43ATacxXVOhiK-YsNQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2818 bytes --]

org-html-with-latex is t and org-export-with-latex is also t. I don't have
a org-html-format-latex, or at least nothing comes up with C-h
v org-html-format-latex. Also, how does edebug work as you, Nick, described?

On Mon, Jan 9, 2017 at 7:13 PM, Lawrence Bottorff <borgauf@gmail.com> wrote:

> This is the entirety of my header section. I'm sure there are redundancies
> etc. But again, the clean vanilla of Emacs 25.1.1 and org-mode 9.0.2 is
> defaulting to producing png's.
>
> #+TITLE: \zwnj^{147}Pm SAGA
> #+AUTHOR: 147Pm
> #+EMAIL: borgauf@sdf.org
> # date ... will set (change) each time (if remembered)
> #+DATE: <2015-05-09 Sat 07:53>
> #+FILETAGS: :CompleteReWrite:
> #+LANGUAGE:  en
> #+INFOJS_OPT: view:showall ltoc:t mouse:underline path:
> http://orgmode.org/org-info.js
> #+HTML_HEAD: <link rel="stylesheet" href="data/stylesheet.css"
> type="text/css">
> #+EXPORT_SELECT_TAGS: export
> #+EXPORT_EXCLUDE_TAGS: noexport
> #+OPTIONS: H:10 num:4 toc:nil \n:nil @:t ::t |:t _:{} *:t ^:{} prop:t
> #+OPTIONS: prop:t
> #+OPTIONS: tex:imagemagick
> #+LATEX_CLASS: article
> #+LATEX_CLASS_OPTIONS: [american]
> # Setup tikz package for both LaTeX and HTML export:
> #+LATEX_HEADER: \usepackage{tikz}
> #+LaTeX_HEADER: \usepackage{pgfplots}
> #+LaTeX_HEADER: \usepackage{sansmath}
> #+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler
> #+PROPERTY: header-args:latex+ :packages '(("" "tikz"))
> #
> #+PROPERTY: header-args:latex+ :imagemagick (by-backend (latex nil) (t
> "yes"))
> #+PROPERTY: header-args:latex+ :exports results :fit yes
> #
> #+STARTUP: showall
> #+STARTUP: align
> #+STARTUP: indent
> #+STARTUP: entitiespretty
> #+STARTUP: logdrawer
>
> On Mon, Jan 9, 2017 at 5:34 PM, Thierry Banel <tbanelwebmin@free.fr>
> wrote:
>
>> Le 09/01/2017 16:28, Lawrence Bottorff a écrit :
>>
>> I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I
>> export this to HTML, it produces png files for each markup and puts them in
>> a subfolder ltximg. Is there any way to skip this translating to pictures
>> and just use MathJax directly. I've seen this
>> <http://orgmode.org/manual/Math-formatting-in-HTML-export.html>, but my
>> setup seems to be defaulted to png picture production, not direct MathJax
>> rendering via "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config
>> =TeX-AMS_HTML. I understand that what's happening is this
>> <http://orgmode.org/worg/org-tutorials/org-latex-preview.html>, but
>> that's not MathJax. What am I doing (thinking) wrong?
>>
>> LB
>>
>>
>> I use
>> #+HTML_MATHJAX: align: left etc...
>> Works well.
>>
>> Then you can control appearance through CSS. For instance:
>> .MathJax_Display {
>>     color: #080;
>>     margin: 0;
>> }
>>
>> Have fun
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 4655 bytes --]

  reply	other threads:[~2017-01-10  0:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 15:28 HTML export for math markup Lawrence Bottorff
2017-01-09 17:30 ` Nick Dokos
2017-01-09 21:53   ` Lawrence Bottorff
2017-01-09 22:57     ` Nick Dokos
2017-01-09 17:31 ` Nicolas Goaziou
2017-01-09 22:34 ` Thierry Banel
2017-01-10  0:13   ` Lawrence Bottorff
2017-01-10  0:24     ` Lawrence Bottorff [this message]
     [not found]   ` <88f10863f4f94677abfb0514800db64f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-10  8:21     ` Eric S Fraga
2017-01-10 13:12       ` Lawrence Bottorff
     [not found]       ` <68254ff0988e445a973c6d43f255aa9e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-11  7:00         ` Eric S Fraga

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='CAFAhFSU8NGGv=Z5Li2rBE+w9pT-4iT-crYnhgA11+7RLCgG8aQ@mail.gmail.com' \
    --to=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).