From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: Mathjax vs. problems with imagemagick Date: Fri, 11 Jul 2014 09:38:26 +0200 Message-ID: <87fvi8jqfh.fsf@gmail.com> References: <87mwcm6uyd.fsf@gmail.com> <87oax0ngwf.fsf@gmail.com> <87vbr4ww0k.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5VPe-0002Jf-C6 for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 03:38:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5VPd-0000v8-7Q for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 03:38:34 -0400 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:53682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5VPd-0000uY-11 for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 03:38:33 -0400 Received: by mail-wg0-f47.google.com with SMTP id y10so618196wgg.6 for ; Fri, 11 Jul 2014 00:38:30 -0700 (PDT) In-Reply-To: <87vbr4ww0k.fsf@gmail.com> (Nick Dokos's message of "Thu, 10 Jul 2014 20:59:23 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org Le ven. 11 juil. 2014 =C3=A0 02:59:23 , Nick Dokos = a envoy=C3=A9 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:=20 " I have put again in my init.el the code from the page [[http://orgmode.or= g/worg/org-tutorials/org-latex-preview.html]] , i.e. (setq org-latex-listings 'minted) (require 'ox-latex) (add-to-list 'org-lat= ex-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:=20 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.p= ng Mark set Nevertheless, the png file is in /tmp/ltxpng and it is a nice png image.=20 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=20 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.=20 Every help is welcome.=20 Best regards, Jo.=20