* Latex code blocks HTML export still broken
@ 2016-12-01 9:47 Éric Würbel
2016-12-01 15:53 ` Nick Dokos
2016-12-01 17:40 ` Nick Dokos
0 siblings, 2 replies; 4+ messages in thread
From: Éric Würbel @ 2016-12-01 9:47 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Latex code blocks HTML export still broken
2016-12-01 9:47 Latex code blocks HTML export still broken Éric Würbel
@ 2016-12-01 15:53 ` Nick Dokos
2016-12-02 12:34 ` Éric Würbel
2016-12-01 17:40 ` Nick Dokos
1 sibling, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2016-12-01 15:53 UTC (permalink / raw)
To: emacs-orgmode
Éric Würbel <eric.wurbel@univ-amu.fr> writes:
> 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
>
What does that buffer show?
> In fact the file is produced, but directly in
> /tmp/latex-237073Q.pdf. (no babel-2370po9 subdir).
>
Are you sure that's not left over from some previous experiments?
--
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Latex code blocks HTML export still broken
2016-12-01 15:53 ` Nick Dokos
@ 2016-12-02 12:34 ` Éric Würbel
0 siblings, 0 replies; 4+ messages in thread
From: Éric Würbel @ 2016-12-02 12:34 UTC (permalink / raw)
To: emacs-orgmode
Le 01/12/2016 à 16:53 CET, Nick Dokos <ndokos@gmail.com> a dit:
> Éric Würbel <eric.wurbel@univ-amu.fr> writes:
>
>> 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
>>
>
> What does that buffer show?
>
>> In fact the file is produced, but directly in
>> /tmp/latex-237073Q.pdf. (no babel-2370po9 subdir).
>>
>
> Are you sure that's not left over from some previous experiments?
Sorry, This was the reason. Your remark reminds me an emacs-lisp tweak I
introduced for org8.3 export process, and it seem I have to revise it.
It works now.
Thank you for pointing me on this problem
--
É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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Latex code blocks HTML export still broken
2016-12-01 9:47 Latex code blocks HTML export still broken Éric Würbel
2016-12-01 15:53 ` Nick Dokos
@ 2016-12-01 17:40 ` Nick Dokos
1 sibling, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2016-12-01 17:40 UTC (permalink / raw)
To: emacs-orgmode
Éric Würbel <eric.wurbel@univ-amu.fr> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-12-02 12:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-01 9:47 Latex code blocks HTML export still broken Éric Würbel
2016-12-01 15:53 ` Nick Dokos
2016-12-02 12:34 ` Éric Würbel
2016-12-01 17:40 ` Nick Dokos
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).