emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Generating LaTeX SRC block during HTML export broken in 9.0.1
@ 2016-11-22  8:37 Éric Würbel
  2016-11-22  8:45 ` Éric Würbel
  2016-11-25 11:23 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Éric Würbel @ 2016-11-22  8:37 UTC (permalink / raw)
  To: Orgmode list


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Generating LaTeX SRC block during HTML export broken in 9.0.1
  2016-11-22  8:37 Generating LaTeX SRC block during HTML export broken in 9.0.1 Éric Würbel
@ 2016-11-22  8:45 ` Éric Würbel
  2016-11-25 11:23 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Éric Würbel @ 2016-11-22  8:45 UTC (permalink / raw)
  To: Orgmode list



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 <eric.wurbel@univ-amu.fr> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Generating LaTeX SRC block during HTML export broken in 9.0.1
       [not found] <a370560d711647d78f1e70aef9500aa7@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-11-23 11:07 ` Eric S Fraga
  0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2016-11-23 11:07 UTC (permalink / raw)
  To: Éric Würbel; +Cc: Orgmode list

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Generating LaTeX SRC block during HTML export broken in 9.0.1
  2016-11-22  8:37 Generating LaTeX SRC block during HTML export broken in 9.0.1 Éric Würbel
  2016-11-22  8:45 ` Éric Würbel
@ 2016-11-25 11:23 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2016-11-25 11:23 UTC (permalink / raw)
  To: Éric Würbel; +Cc: Orgmode list

Hello,

Éric Würbel <eric.wurbel@univ-amu.fr> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-25 11:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-22  8:37 Generating LaTeX SRC block during HTML export broken in 9.0.1 Éric Würbel
2016-11-22  8:45 ` Éric Würbel
2016-11-25 11:23 ` Nicolas Goaziou
     [not found] <a370560d711647d78f1e70aef9500aa7@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-11-23 11:07 ` Eric S Fraga

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).