emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Mathjax vs. problems with imagemagick
Date: Fri, 11 Jul 2014 09:38:26 +0200	[thread overview]
Message-ID: <87fvi8jqfh.fsf@gmail.com> (raw)
In-Reply-To: <87vbr4ww0k.fsf@gmail.com> (Nick Dokos's  message of "Thu, 10 Jul 2014 20:59:23 -0400")

Le  ven. 11  juil. 2014  à 02:59:23  , Nick  Dokos <ndokos@gmail.com>  a
envoyé ce message:

>
> Can you please post an example org file and the tex file that's produced
> that gives you such bad images?

Dear Nick,

I sent an email three days ago to tell you that I've got the solution. I
said: 

" I have put again in my init.el the code from the page [[http://orgmode.org/worg/org-tutorials/org-latex-preview.html]] , i.e.

(setq org-latex-listings 'minted) (require 'ox-latex) (add-to-list 'org-latex-packages-alist '("" "minted"))


and I have added :

;; Let the exporter use the -shell-escape option to let latex
;; execute external programs.
;; This obviously and can be dangerous to activate!
(setq org-latex-pdf-process
      '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))


Now it works. But I do not know really why." End of quotation .

I would have been happy to show you an example. But now I meet again, as
often, the tiring same problem: 

Creating LaTeX Image...
Failed to create dvi file from /tmp/orgtex15065yFA.tex
Creating LaTeX Image...
Failed to create dvi file from /tmp/orgtex15065MaM.tex
Ispell process killed
Starting new Ispell process [aspell::en] ...
Mark set
Sending...
Mark set [2 times]
mm-insert-file-contents: Opening input file: aucun fichier ou dossier de ce type, /tmp/ltxpng/latex15065_PG_37f10648c57a40194a74eaabbaa5c1678a5d2046.png
Mark set

Nevertheless,  the png  file is  in  /tmp/ltxpng and  it is  a nice  png
image. 

I  remind  that the  error  in  creating the  dvi  file  was created  by
minted. I  deleted every reference  to minted and  it worked, but  now I
realize that  without minted the  use of bussproofs.sty cannot  work for
html conversion. :S 

I guess that I have to put in  my .bashrc a command to say that I always
want to use latex with -shell-escape option  , but I am not sure that it
is the best solution. 

Every help is welcome. 

Best regards,

Jo. 

  reply	other threads:[~2014-07-11  7:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-06  8:03 Mathjax vs. problems with imagemagick Joseph Vidal-Rosset
2014-07-06  8:39 ` briangpowell .
2014-07-06  8:59   ` Joseph Vidal-Rosset
2014-07-06 21:25 ` Nick Dokos
2014-07-08 13:01   ` Joseph Vidal-Rosset
2014-07-08 13:04     ` Joseph Vidal-Rosset
2014-07-08 13:44       ` Joseph Vidal-Rosset
2014-07-11  0:59     ` Nick Dokos
2014-07-11  7:38       ` Joseph Vidal-Rosset [this message]
2014-07-11 15:59         ` Nick Dokos
2014-07-11 16:06           ` Joseph Vidal-Rosset
2014-07-11 18:05             ` Nick Dokos
2014-07-11 18:24               ` Joseph Vidal-Rosset
2014-07-28 14:36               ` Sebastien Vauban

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=87fvi8jqfh.fsf@gmail.com \
    --to=joseph.vidal.rosset@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).