From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?w4lyaWMgV8O8cmJlbA==?= Subject: Latex code blocks HTML export still broken Date: Thu, 01 Dec 2016 10:47:46 +0100 Message-ID: <87twaof0al.fsf@univ-amu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCNy7-0004dQ-Un for emacs-orgmode@gnu.org; Thu, 01 Dec 2016 04:47:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCNy3-0003Fu-On for emacs-orgmode@gnu.org; Thu, 01 Dec 2016 04:47:56 -0500 Received: from amu-stj-out2.univ-amu.fr ([139.124.244.207]:57302) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCNy3-0003Ee-EZ for emacs-orgmode@gnu.org; Thu, 01 Dec 2016 04:47:51 -0500 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" To: Orgmode list When exporting a latex code block as a png image in an HTML page, Org complains that the pdf file was not produced. Minimal org document example : #+BEGIN_SRC org #+TITLE LaTeX export minimal test * Let's go A really interresting algorithm : #+header: :headers '( "\\renewcommand{\\familydefault}{\\sfdefault}" "\\usepackage{lmodern}" "\\usepackage{algpseudocode}" ) #+header: :file algo.png #+header: :imagemagick yes :fit yes #+header: :results raw :iminoptions -density 600 :imoutoptions -geometry 1200 #+BEGIN_SRC latex \begin{algorithmic}[1] \Function{triSauvegarde}{nom\_fichier : String} \State tab $\gets$ \Call{copie}{leContenu} \State \Call{trier}{tab} \State \Call{sauvegarder}{nom\_fichier} \EndFunction \end{algorithmic} #+END_SRC #+END_SRC When trying to export to html with C-c C-e h h, org complains : org-compile-file: File "/tmp/babel-2370po9/latex-237073Q.pdf" wasn't produced. See "*Org PDF LaTeX Output*" for details In fact the file is produced, but directly in /tmp/latex-237073Q.pdf. (no babel-2370po9 subdir). So, compared to the previous version of the bug, we have progressed : temporary pdf are not produced in the current directory anymore, but org does not know yet where to find them ;o) Regards E. -- Éric Würbel http://eric.wurbel.perso.luminy.univ-amu.fr/ Enseignement: IUT R&T, directeur des études 1A Recherche: LSIS, UMR7296 http://www.lsis.org/