Re: [O] Generating LaTeX SRC block during HTML export broken in 9.0.1

2016-11-25 Thread Nicolas Goaziou
Hello,

Éric Würbel  writes:

> This was working in 9.0, but is not working anymore. Consider the
> following_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}
>   \EndAlgorithm
> \end{algorithmic}
>   #+END_SRC
>
> #+END_SRC
>
> When exporting to html file (C-x C-e h h) org complains :
>
> org-babel-exp process latex at position 358...
> executing Latex code block...
> Processing LaTeX file /tmp/babel-6122X0-/latex-6122U9y.tex...
> org-compile-file: File "/tmp/babel-6122X0-/latex-6122U9y.pdf" wasn't 
> produced.  See "*Org PDF LaTeX Output*" for details

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Generating LaTeX SRC block during HTML export broken in 9.0.1

2016-11-23 Thread Eric S Fraga
On Tuesday, 22 Nov 2016 at 08:37, Éric Würbel wrote:

[...]

> When exporting to html file (C-x C-e h h) org complains :
>
> org-babel-exp process latex at position 358...
> executing Latex code block...
> Processing LaTeX file /tmp/babel-6122X0-/latex-6122U9y.tex...
> org-compile-file: File "/tmp/babel-6122X0-/latex-6122U9y.pdf" wasn't
> produced.  See "*Org PDF LaTeX Output*" for details
>
>
> And then :
> 1. *Org PDF LaTeX Output* contains no error at all
> 2. an output pdf file is generated
> 3. the png file ins not produced.
> 4. temporary files pollute the current directory

I can confirm all of the above.

Mind you, I did have to change the LaTeX to have \EndFunction instead of
\EndAlgorithm...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.1-49-ga43eac



Re: [O] Generating LaTeX SRC block during HTML export broken in 9.0.1

2016-11-22 Thread Éric Würbel


Oh, I forgot to mention that the html file is not generated at all also.

E.
Le 22/11/2016 à 09:37 CET, Éric Würbel  a dit:

> This was working in 9.0, but is not working anymore. Consider the
> following_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}
>   \EndAlgorithm
> \end{algorithmic}
>   #+END_SRC
> #+END_SRC
>
> When exporting to html file (C-x C-e h h) org complains :
>
> org-babel-exp process latex at position 358...
> executing Latex code block...
> Processing LaTeX file /tmp/babel-6122X0-/latex-6122U9y.tex...
> org-compile-file: File "/tmp/babel-6122X0-/latex-6122U9y.pdf" wasn't 
> produced.  See "*Org PDF LaTeX Output*" for details
>
>
> And then :
> 1. *Org PDF LaTeX Output* contains no error at all
> 2. an output pdf file is generated
> 3. the png file ins not produced.
> 4. temporary files pollute the current directory
>
> Regards
>
> Eric

-- 
É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/



[O] Generating LaTeX SRC block during HTML export broken in 9.0.1

2016-11-22 Thread Éric Würbel

This was working in 9.0, but is not working anymore. Consider the
following_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}
  \EndAlgorithm
\end{algorithmic}
  #+END_SRC
#+END_SRC

When exporting to html file (C-x C-e h h) org complains :

org-babel-exp process latex at position 358...
executing Latex code block...
Processing LaTeX file /tmp/babel-6122X0-/latex-6122U9y.tex...
org-compile-file: File "/tmp/babel-6122X0-/latex-6122U9y.pdf" wasn't produced.  
See "*Org PDF LaTeX Output*" for details


And then :
1. *Org PDF LaTeX Output* contains no error at all
2. an output pdf file is generated
3. the png file ins not produced.
4. temporary files pollute the current directory

Regards

Eric
-- 
É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/