From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: Mathjax vs. problems with imagemagick Date: Tue, 8 Jul 2014 15:44:37 +0200 Message-ID: References: <87mwcm6uyd.fsf@gmail.com> <87oax0ngwf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/related; boundary=047d7b5db8e02916d004fdaecce0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Vhc-0008Sd-71 for emacs-orgmode@gnu.org; Tue, 08 Jul 2014 09:45:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4Vha-0004Gm-W0 for emacs-orgmode@gnu.org; Tue, 08 Jul 2014 09:45:00 -0400 Received: from mail-ve0-x236.google.com ([2607:f8b0:400c:c01::236]:50594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Vha-0004Gh-QH for emacs-orgmode@gnu.org; Tue, 08 Jul 2014 09:44:58 -0400 Received: by mail-ve0-f182.google.com with SMTP id oy12so5602473veb.41 for ; Tue, 08 Jul 2014 06:44:58 -0700 (PDT) In-Reply-To: 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: "Liste-emacs-orgmode@gnu.org" --047d7b5db8e02916d004fdaecce0 Content-Type: multipart/alternative; boundary=047d7b5db8e02916cc04fdaeccdf --047d7b5db8e02916cc04fdaeccdf Content-Type: text/plain; charset=UTF-8 Hello Nick, hello everybody, I have finally got the solution. 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 this one foiunded on the web (I do not remind where exactly): ;; 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. Best wishes, Jo. 2014-07-08 15:04 GMT+02:00 Joseph Vidal-Rosset < joseph.vidal.rosset@gmail.com>: > > 2014-07-08 15:01 GMT+02:00 Joseph Vidal-Rosset < > joseph.vidal.rosset@gmail.com>: > > That's strange because it works well with LaTeX export and even with >> latex-preview-image and org-htmlize. This image of implication >> elimination rule in my gnus-message should be nice: >> >> [image: \begin{prooftree} \AxiomC{$A \to B$} \AxiomC{$A$} >> \RightLabel{\scriptsize{$\to E$}} \BinaryInfC{$B$} \end{prooftree}] >> >> > > No. I see now the image in my browser, it is not nice at all... I do not > understand why. :( > > Jo. > --047d7b5db8e02916cc04fdaeccdf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello= Nick, hello everybody,

I have finally got the solution.
<= /div>
I have put again in my init.el=C2=A0 the code from the page=C2=A0= h= ttp://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"))


<= div> and I have added this one foiunded on the web (I do not remind where exactl= y):


;; Let the exporter use the -shell-escape option to let lat= ex
;; execute external programs.
;; This obviously and can be dangero= us to activate!
(setq org-latex-pdf-process
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '("x= elatex -shell-escape -interaction nonstopmode -output-directory %o %f"= ))


Now it works. But I do not know really = why.

Best wishes,

Jo.



2014-07-08 15:04 GMT+02:00 Josep= h Vidal-Rosset <joseph.vidal.rosset@gmail.com>:<= br>
=
2014-07-08 15:01 GMT+02:00 Joseph Vidal-Ross= et <joseph.vidal.rosset@gmail.com>:

That's strange because it works wel= l with LaTeX export and even with
latex-preview-image and org-htmlize. This image of implication elimination rule in my gnus-message should be nice:

3D"\begin{prooftree}



No= . I see=C2=A0 now the image in my browser, it is not nice at all... I do no= t understand why. :(

Jo.
=

--047d7b5db8e02916cc04fdaeccdf-- --047d7b5db8e02916d004fdaecce0 Content-Type: image/png; name="latex2370749y_e0d3b5403491143b62376f682dfe5dbed1070fa6.png" Content-Disposition: inline; filename="latex2370749y_e0d3b5403491143b62376f682dfe5dbed1070fa6.png" Content-Transfer-Encoding: base64 Content-ID: <_tmp_ltxpng_latex2370749y_e0d3b5403491143b62376f682dfe5dbed1070fa6.png> X-Attachment-Id: 395e09c5eb29d417_0.1.1 iVBORw0KGgoAAAANSUhEUgAAAJMAAAAeBAAAAADIUJ7OAAAABGdBTUEAALGPC/xhBQAAAAFzUkdC AK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dE AA86Mj6jAAAACW9GRnMAAAG6AAAAhACY49AmAAAACXBIWXMAAAB4AAAAeACd9VpgAAAACXZwQWcA AAP8AAAFKAAd/BK3AAABK0lEQVRIx62UO27DMBBE5crp5E4lE19Ax3Cpq9hdOiVpAqThFXQDXU0U DJBgM04iWT9wxyDMLQSChB5Hs6vJMJRVWJcGPIS6hDa7bFxctyffOXqJVVGU257YHD4XUJqhXDHv tfeFhPqsqapZtFGTzB9B1ZWjZgXDnQ38sRVQHUWZGdX/P8+wUgNxYKh6oWpytVFBkKWq9FKV8yMv +MafiQfu1W7aM/fudUrySokoUy9s99NYfQU5BbX99R14WXXQuQplUFS/1+i2M+regI8s5EV8FUuv nqsS9flp1DB9lW1TqPr9J5xK8oGlHlrVpPHK4oEqFqSr8qbEiaJYkGI90Y9UsSBl/6BwZyIUC9JI FAvSSBQL0nivGpUGJQZpNIoGaRxKDtJYlBykAuoGP91iRq6AQssAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMTQtMDctMDhUMTU6MDE6MjgrMDI6MDCr1GABAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTA3 LTA4VDE1OjAxOjI4KzAyOjAw2onYvQAAABR0RVh0cGRmOlZlcnNpb24AUERGLTEuNSAFXAs5AAAA AElFTkSuQmCC --047d7b5db8e02916d004fdaecce0--