[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Latex code blocks HTML export still broken
From: |
Nick Dokos |
Subject: |
Re: [O] Latex code blocks HTML export still broken |
Date: |
Thu, 01 Dec 2016 12:40:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Éric Würbel <address@hidden> writes:
> 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
>
I tried this and (after installing the texlive-algorithmicx package on
my Fedora system) it works fine.
Once more: what does the "*Org PDF LaTeX Output*" say?
> 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.
--
Nick