emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Éric Würbel" <eric.wurbel@univ-amu.fr>
To: Orgmode list <emacs-orgmode@gnu.org>
Subject: Generating LaTeX SRC block during HTML export broken in 9.0.1
Date: Tue, 22 Nov 2016 09:37:23 +0100	[thread overview]
Message-ID: <8760nfkj0c.fsf@univ-amu.fr> (raw)


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/

             reply	other threads:[~2016-11-22  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-22  8:37 Éric Würbel [this message]
2016-11-22  8:45 ` Generating LaTeX SRC block during HTML export broken in 9.0.1 É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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760nfkj0c.fsf@univ-amu.fr \
    --to=eric.wurbel@univ-amu.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).