emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Can't get dvipng to work
Date: Tue, 17 Sep 2013 00:04:41 +0200	[thread overview]
Message-ID: <87eh8ov2x2.fsf@gmx.us> (raw)
In-Reply-To: DB9AE166BFBB0640B307A82E6F93D02610E83E@SPEXCH02.WindLogics.local


Hi Ken,

So in short I think the easiest course of action is upgrading to the
newest release, e.g. using ELPA (M-x list-packages).

"Williams, Ken" <Ken.Williams@windlogics.com> writes:

> I have a small orgmode document with a \begin{align} section for a few
> equations.  I can successfully export to HTML using MathJax, but I
> need a nice little self-contained document, so I'm trying to use
> dvipng.  Unfortunately it keeps exporting with MathJax.

I cannot reproduce using emacs -q.

Does it work as expected when you try from emacs -q?

Are you using the new exporter?  It's named ox now, but it might be
org-export in your version.  In v8 you'd need to require ox-html.

Have you tried your document with v8?

> Here's my document:
>
> =========================================
> #+TITLE: Test Doc
> #+AUTHOR: Ken Williams
> #+PROPERTY: results output
> #+PROPERTY: exports both
> #+OPTIONS: tex:dvipng
>
> Some math:
>
> \begin{align}
> a_{11}& =b_{11}&
> a_{12}& =b_{12}\\
> a_{21}& =b_{21}&
> a_{22}& =b_{22}+c_{22}
> \end{align}
> =========================================
>
> The value of my "org-latex-create-formula-image-program" variable is
> dvipng - I set it manually from within the editor by doing
> "set-variable org-latex-create-formula-image-program dvipng".

Do you have dvipng installed?  I install it via texlive, e.g.

   tlmgr install dvipng

> Any hints?  There are no clues in the *Messages* buffer.
>
> My org-mode is Org-mode version 7.9.4.

Mine is: 

Org-mode version 8.1.2 (release_8.1.2 @
/usr/share/emacs/site-lisp/org/)

–Rasmus

-- 
Summon the Mothership!

  reply	other threads:[~2013-09-16 22:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 21:21 Can't get dvipng to work Williams, Ken
2013-09-16 22:04 ` Rasmus [this message]
2013-09-18 16:37   ` Ken Williams
2013-09-18 18:29     ` Ken Williams
2013-09-19  1:43       ` Nick Dokos
2013-09-19 21:24         ` Ken Williams
2013-09-19 22:22           ` Rasmus
2013-09-20 15:04             ` Ken Williams
2013-09-20 18:48               ` 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=87eh8ov2x2.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).