Re: [O] v9.0 running babel blocks

2016-11-22 Thread Alan Schmitt
On 2016-11-22 16:46, Alan Schmitt  writes:

> On 2016-11-03 19:50, John Kitchin  writes:
>
>> huh.. it seems to have disappeared. I deleted the orgplus directory in
>> my elpa directory and reinstalled it, and it seemed to go away.
>
> This just appeared for me, as I updated to 9.0.1. Should I downgrade to
> 9.0?

For the record, I deleted and reinstalled the package, and things are
back to working again.

Sorry for the noise,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29


signature.asc
Description: PGP signature


Re: [O] Possible bug: Emacs hangs on (require 'org)

2016-11-22 Thread Eric Abrahamsen
Luke  writes:

> On 23/11/16 10:39, Eric Abrahamsen wrote:
>> Luke  writes:

[...]

>>> I tried creating a minimal-org.el file with the following contents:
>>>
>>> ;; activate debugging
>>> (setq debug-on-error t
>>>   debug-on-signal nil
>>>   debug-on-quit nil)
>>>
>>> ;; add latest org-mode to load path
>>> (add-to-list 'load-path (expand-file-name "~/elisp/org-mode/lisp"))
>>> (add-to-list 'load-path (expand-file-name
>>> "~/elisp/org-mode/contrib/lisp" t))
>>>
>>> And then running:
>>>
>>> $ emacs -Q -l minimal-org.el
>>>
>>> ...but I still get the same result (Emacs hangs when I run `M-x
>>> (require 'org)`).
>>>
>>> Can anyone help tell me what's wrong, or suggest how I try and track
>>> down the problem?
>>
>> You're setting debug-on-quit to nil, but it's likely that setting it to
>> t is exactly what you need. Toggle it to t, eval (require 'org), then
>> while it's hung hit C-g. You should get a backtrace showing you what
>> Emacs was actually doing when you quit.
>>
>> Eric
>>
>>
>>
>
> Thanks to Eric for the debugging tip. Below is the backtrace that was
> produced. It looks like tramp is trying to make some connection to the
> host-name "host.does.not.exist" (which will obviously fail).
>
> This makes sense, because when I disable networking then Emacs starts
> immediately and doesn't hang. I'm not sure how to fix this though.

I don't have a copy of Emacs 24 handy (and I recommend you upgrade to
25), but as a band-aid you should be able to kill the check by setting
the `tramp-use-ssh-controlmaster-options' option to nil. That ought to
prevent tramp from testing the connection at all (at least, I think it
will).

In 25 it looks like "host.does.not.exist" has been replaced with a bogus
IP address, meaning that you won't time out on a DNS lookup, which is
likely what's hanging for you.

As for the real root of the problem -- why loading org results in tramp
doing this check -- I unfortunately can't tell you!

The real "fix", I think, would be upgrading to Emacs 25.

Eric




Re: [O] Possible bug: Emacs hangs on (require 'org)

2016-11-22 Thread Luke

On 23/11/16 10:39, Eric Abrahamsen wrote:

Luke  writes:


I have a strange situation on my laptop.

I'm running Ubuntu 16.04, with Emacs 24.5.1. I'm also using the latest
development branch from the org-mode git repository (latest changes
pulled today).

Recently, for some unknown reason, emacs suddenly started to hang on
startup. Placing some output messages in my .emacs file I was able to
narrow it down to this line:

(require 'org)

Loading org-mode hangs Emacs for some reason. If I remove the above
line from .emacs then Emacs will start as normal (although without
org-mode, obviously).

I tried creating a minimal-org.el file with the following contents:

;; activate debugging
(setq debug-on-error t
  debug-on-signal nil
  debug-on-quit nil)

;; add latest org-mode to load path
(add-to-list 'load-path (expand-file-name "~/elisp/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name
"~/elisp/org-mode/contrib/lisp" t))

And then running:

$ emacs -Q -l minimal-org.el

...but I still get the same result (Emacs hangs when I run `M-x
(require 'org)`).

Can anyone help tell me what's wrong, or suggest how I try and track
down the problem?


You're setting debug-on-quit to nil, but it's likely that setting it to
t is exactly what you need. Toggle it to t, eval (require 'org), then
while it's hung hit C-g. You should get a backtrace showing you what
Emacs was actually doing when you quit.

Eric





Thanks to Eric for the debugging tip. Below is the backtrace that was 
produced. It looks like tramp is trying to make some connection to the 
host-name "host.does.not.exist" (which will obviously fail).


This makes sense, because when I disable networking then Emacs starts 
immediately and doesn't hang. I'm not sure how to fix this though.


=
Debugger entered--Lisp error: (quit)
  call-process("ssh" nil t nil "-o" "ControlPath=%C" "host.does.not.exist")
  (progn (call-process "ssh" nil t nil "-o" "ControlPath=%C" 
"host.does.not.exist") (goto-char (point-min)) (if 
(search-forward-regexp "unknown.+key" nil t) (setq result (concat result 
" -o ControlPath='tramp.%%r@%%h:%%p'")) (setq result (concat result " -o 
ControlPath='tramp.%%C'"
  (unwind-protect (progn (call-process "ssh" nil t nil "-o" 
"ControlPath=%C" "host.does.not.exist") (goto-char (point-min)) (if 
(search-forward-regexp "unknown.+key" nil t) (setq result (concat result 
" -o ControlPath='tramp.%%r@%%h:%%p'")) (setq result (concat result " -o 
ControlPath='tramp.%%C'" (and (buffer-name temp-buffer) (kill-buffer 
temp-buffer)))
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn 
(call-process "ssh" nil t nil "-o" "ControlPath=%C" 
"host.does.not.exist") (goto-char (point-min)) (if 
(search-forward-regexp "unknown.+key" nil t) (setq result (concat result 
" -o ControlPath='tramp.%%r@%%h:%%p'")) (setq result (concat result " -o 
ControlPath='tramp.%%C'" (and (buffer-name temp-buffer) (kill-buffer 
temp-buffer
  (let ((temp-buffer (generate-new-buffer " *temp*"))) 
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn 
(call-process "ssh" nil t nil "-o" "ControlPath=%C" 
"host.does.not.exist") (goto-char (point-min)) (if 
(search-forward-regexp "unknown.+key" nil t) (setq result (concat result 
" -o ControlPath='tramp.%%r@%%h:%%p'")) (setq result (concat result " -o 
ControlPath='tramp.%%C'" (and (buffer-name temp-buffer) (kill-buffer 
temp-buffer)
  (if (zerop (length result)) nil (let ((temp-buffer 
(generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer 
temp-buffer) (unwind-protect (progn (call-process "ssh" nil t nil "-o" 
"ControlPath=%C" "host.does.not.exist") (goto-char (point-min)) (if 
(search-forward-regexp "unknown.+key" nil t) (setq result (concat result 
" -o ControlPath='tramp.%%r@%%h:%%p'")) (setq result (concat result " -o 
ControlPath='tramp.%%C'" (and (buffer-name temp-buffer) (kill-buffer 
temp-buffer) (let ((temp-buffer (generate-new-buffer " *temp*"))) 
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn 
(call-process "ssh" nil t nil "-o" "ControlPersist") (goto-char 
(point-min)) (if (search-forward-regexp "missing.+argument" nil t) 
(progn (setq result ... (and (buffer-name temp-buffer) (kill-buffer 
temp-buffer))
  (progn (let ((temp-buffer (generate-new-buffer " *temp*"))) 
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn 
(call-process "ssh" nil t nil "-o" "ControlMaster") (goto-char 
(point-min)) (if (search-forward-regexp "missing.+argument" nil t) 
(progn (setq result "-o ControlMaster=auto" (and (buffer-name 
temp-buffer) (kill-buffer temp-buffer) (if (zerop (length result)) 
nil (let ((temp-buffer (generate-new-buffer " *temp*"))) 
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn 
(call-process "ssh" nil t nil "-o" 

Re: [O] Possible bug: Emacs hangs on (require 'org)

2016-11-22 Thread Luke

On 23/11/16 09:31, Luke wrote:

I have a strange situation on my laptop.

I'm running Ubuntu 16.04, with Emacs 24.5.1. I'm also using the latest
development branch from the org-mode git repository (latest changes
pulled today).

Recently, for some unknown reason, emacs suddenly started to hang on
startup. Placing some output messages in my .emacs file I was able to
narrow it down to this line:

(require 'org)

Loading org-mode hangs Emacs for some reason. If I remove the above line
from .emacs then Emacs will start as normal (although without org-mode,
obviously).

I tried creating a minimal-org.el file with the following contents:

;; activate debugging
(setq debug-on-error t
  debug-on-signal nil
  debug-on-quit nil)

;; add latest org-mode to load path
(add-to-list 'load-path (expand-file-name "~/elisp/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name
"~/elisp/org-mode/contrib/lisp" t))

And then running:

$ emacs -Q -l minimal-org.el

...but I still get the same result (Emacs hangs when I run `M-x (require
'org)`).

Can anyone help tell me what's wrong, or suggest how I try and track
down the problem?



Further to my previous post, I've discovered that if I disable 
networking then Emacs loads immediately (no hang).


The network connection where I am at the moment is not very reliable, so 
I'm wondering if org-mode is trying to make some kind of network 
connection which then hangs while waiting for a response that never 
comes back.


--
Luke




Re: [O] Possible bug: Emacs hangs on (require 'org)

2016-11-22 Thread Eric Abrahamsen
Luke  writes:

> I have a strange situation on my laptop.
>
> I'm running Ubuntu 16.04, with Emacs 24.5.1. I'm also using the latest
> development branch from the org-mode git repository (latest changes
> pulled today).
>
> Recently, for some unknown reason, emacs suddenly started to hang on
> startup. Placing some output messages in my .emacs file I was able to
> narrow it down to this line:
>
> (require 'org)
>
> Loading org-mode hangs Emacs for some reason. If I remove the above
> line from .emacs then Emacs will start as normal (although without
> org-mode, obviously).
>
> I tried creating a minimal-org.el file with the following contents:
>
> ;; activate debugging
> (setq debug-on-error t
>   debug-on-signal nil
>   debug-on-quit nil)
>
> ;; add latest org-mode to load path
> (add-to-list 'load-path (expand-file-name "~/elisp/org-mode/lisp"))
> (add-to-list 'load-path (expand-file-name
> "~/elisp/org-mode/contrib/lisp" t))
>
> And then running:
>
> $ emacs -Q -l minimal-org.el
>
> ...but I still get the same result (Emacs hangs when I run `M-x
> (require 'org)`).
>
> Can anyone help tell me what's wrong, or suggest how I try and track
> down the problem?

You're setting debug-on-quit to nil, but it's likely that setting it to
t is exactly what you need. Toggle it to t, eval (require 'org), then
while it's hung hit C-g. You should get a backtrace showing you what
Emacs was actually doing when you quit.

Eric




[O] Possible bug: Emacs hangs on (require 'org)

2016-11-22 Thread Luke

I have a strange situation on my laptop.

I'm running Ubuntu 16.04, with Emacs 24.5.1. I'm also using the latest 
development branch from the org-mode git repository (latest changes 
pulled today).


Recently, for some unknown reason, emacs suddenly started to hang on 
startup. Placing some output messages in my .emacs file I was able to 
narrow it down to this line:


(require 'org)

Loading org-mode hangs Emacs for some reason. If I remove the above line 
from .emacs then Emacs will start as normal (although without org-mode, 
obviously).


I tried creating a minimal-org.el file with the following contents:

;; activate debugging
(setq debug-on-error t
  debug-on-signal nil
  debug-on-quit nil)

;; add latest org-mode to load path
(add-to-list 'load-path (expand-file-name "~/elisp/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name 
"~/elisp/org-mode/contrib/lisp" t))


And then running:

$ emacs -Q -l minimal-org.el

...but I still get the same result (Emacs hangs when I run `M-x (require 
'org)`).


Can anyone help tell me what's wrong, or suggest how I try and track 
down the problem?


--
Luke





Re: [O] Bug: HTML exports issues: none not working, and issues with #+TITLE

2016-11-22 Thread Peter Davis
So I figured out how to do all these things, but it doesn't work.

Does anyone know how to fix this export problem?  I just installed emacs
from  on a new MacBook Pro.

Emacs version: GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS
appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2016-09-20

Org version: Org mode version 9.0.1 (9.0.1-elpa @
/Users/peterdavis/.emacs.d/elpa/org-20161118/)

Any clues?

Thank you!
-pd


On Mon, Nov 21, 2016, at 02:16 PM, Peter Davis wrote:
> This suggests the following, but I don't know how to do any of this:
> 
> 
> The full sequence of steps that worked for me:
> 
> From the command line:
>  - Run emacs without loading the init file: emacs -q
> 
> In emacs:
>  - run C-u M-x org-reload
>  - Use package-list-packages to uninstall org: select it then d x
>  - Use package-list-packages to reinstall org: select it then i x
> 
> After restarting emacs, everything worked.
> 
> I'm on a Mac, and don't know how to start the Emacs.app without loading
> the init file.
> 
> Also, org-mode doesn't show up in the package list.
> 
> Any clues?
> 
> Thanks,
> -pd
> 
> 
> 
> On Tue, Nov 8, 2016, at 08:20 AM, Frederick Giasson wrote:
> > Hi Nicolas,
> > 
> > Thanks anyway, this answer led me to do some more research. What did 
> > work for me is this:
> > 
> >  http://emacs.stackexchange.com/a/16616/13925
> > 
> > Only running C-u M-x org-reload was fixing the issue, but when I 
> > restarted Emacs, it was restarting. Doing org-reload, uninstall and 
> > re-install fixed the issue.
> > 
> > 
> > Thanks,
> > 
> > Fred
> > > Hi Nicolas,
> > >> This seem to indicate you have a mixed installation. See, e.g.,
> > >> .
> > >
> > > I am getting a 404 error for that page, would you have another link 
> > > for that thread?
> > >
> > > Thanks,
> > >
> > > Fred
> > >
> > 
> > 
> 
> 
> -- 
>   Peter Davis
>   www.techcurmudgeon.com


-- 
  Peter Davis
  www.techcurmudgeon.com



Re: [O] Math equations in html export

2016-11-22 Thread Thierry Banel
Le 21/11/2016 19:37, Orm Finnendahl a écrit :
> Hi,
>
>  I can't seem to get Math equations exported correctly to html from an
> org file. Can someone provide me with a full example?
>
> I set
>
> #+OPTIONS: tex:t
>
> on top of the org file and tried these things, but they all render
> literally:
>
> $X^2$
>
> $$X^2$$
>
> \(x^2\)
>
> \[x^2\]
>
> I know the former two are not recommended, but I tried them
> nevertheless. I could imagine I have to set some options/variables,
> but I don't know which. Can someone help?
>
> --
> Orm
>
>

I use
#+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler ...





Re: [O] org-lint how to include ob-rec parameters

2016-11-22 Thread Charles Millar

Hi, again,


On 11/22/2016 12:25 PM, Nicolas Goaziou wrote:

Hello,

Charles Millar  writes:


The following is not a critical issue.

I use ob-rec to generate tables from my recfiles.

org-lint issues a warning for ob-recs parameters, such as data, type,
fields, sort, etc.

Is there some code that I could include in my .emacs to avoid the
warnings? For that matter is this an issue for any other non-core
babel languages and is there a general solution?

It's a bug in ob-rec. Each Babel language needs to define allowed
headers and associated values, in a variable labelled
`org-babel-header-args:LANG' where LANG is obviously the language used,
e.g., `org-babel-header-args:R' or `org-babel-header-args:latex'.

Regards,


Thank you, Nicolas.

I will post this to the recutils list.

Charlie



Re: [O] org-lint how to include ob-rec parameters

2016-11-22 Thread Nicolas Goaziou
Hello,

Charles Millar  writes:

> The following is not a critical issue.
>
> I use ob-rec to generate tables from my recfiles.
>
> org-lint issues a warning for ob-recs parameters, such as data, type,
> fields, sort, etc.
>
> Is there some code that I could include in my .emacs to avoid the
> warnings? For that matter is this an issue for any other non-core
> babel languages and is there a general solution?

It's a bug in ob-rec. Each Babel language needs to define allowed
headers and associated values, in a variable labelled
`org-babel-header-args:LANG' where LANG is obviously the language used,
e.g., `org-babel-header-args:R' or `org-babel-header-args:latex'.

Regards,

-- 
Nicolas Goaziou



Re: [O] v9.0 running babel blocks

2016-11-22 Thread Alan Schmitt
On 2016-11-03 19:50, John Kitchin  writes:

> huh.. it seems to have disappeared. I deleted the orgplus directory in
> my elpa directory and reinstalled it, and it seemed to go away.

This just appeared for me, as I updated to 9.0.1. Should I downgrade to
9.0?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29


signature.asc
Description: PGP signature


Re: [O] Release 9.0 test failed: test-ob/indented-cached-org-bracket-link

2016-11-22 Thread David Talmage
On Sun, Nov 20, 2016 at 3:38 AM, Nicolas Goaziou 
wrote:

> Hello,
>
> "Charles C. Berry"  writes:
>
> > OTOH, (expand-file-name "test.txt") resolves double-slashes and seems
> > like the right idiom in any case.
>
> Fixed. Thank you.
>

It worked for me, too!  Thank you all!


Re: [O] Fix a regression in C-u TAB behavior with point in org table cell

2016-11-22 Thread Kaushal Modi
Please dis-regard that patch.

I learnt that M-0 TAB still works, and the documented C-u C-c ` also works.

I will update the bindings in orgcard and provide a patch for that.

On Mon, Nov 21, 2016 at 9:56 AM Kaushal Modi  wrote:

> Hello,
>
> I was going through the orgcard.tex and reviewing it for changes in the
> default bindings since org 8.2. The current orgcard says that it was
> created for org 8.2.
>
> While going through it, I found a useful nugget that if the point is in a
> table and if the cell is truncated (because of something like <5> in the
> header row), doing "C-u TAB" reveals the full field temporarily. I though
> realized that that feature is broken in org 9.x.
>
> Here is my patch against the master branch that fixes it. Can you please
> review it and merge it if OK:
>
> From ee5c93c0a6d70539d086050f2a5a033ba7431abb Mon Sep 17 00:00:00 2001
> From: Kaushal Modi 
> Date: Mon, 21 Nov 2016 09:50:07 -0500
> Subject: [PATCH] Fix the regression in org 9.x in "C-u TAB" revealing org
>  table cell
>
> * lisp/org.el (org-cycle): Do not execute `org-cycle-internal-global'
>   when the point is inside a table and `org-cycle' is called with a
>   prefix.  Instead restore the old behavior of displaying the full
>   table cell on doing "C-u TAB".
> ---
>  lisp/org.el | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/org.el b/lisp/org.el
> index 1a2bf7a..4cd608a 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -6956,7 +6956,9 @@ if the variable `org-cycle-global-at-bob' is t."
>   (outline-show-all)
>   (org-unlogged-message "Entire buffer visible, including drawers"))
>
> -   ((equal arg '(4)) (org-cycle-internal-global))
> +   ((and (not (org-at-table-p))
> + (equal arg '(4)))
> +(org-cycle-internal-global))
>
> ;; Try hiding block at point.
> ((org-hide-block-toggle-maybe))
> @@ -6969,7 +6971,7 @@ if the variable `org-cycle-global-at-bob' is t."
>   (if (org-at-table.el-p)
>  (message "%s" (substitute-command-keys "\\\
>  Use `\\[org-edit-special]' to edit table.el tables"))
> -  (if arg (org-table-edit-field t)
> +  (if arg (org-table-edit-field t) ; Make current field fully visible
> when `org-cycle' called with prefix
>  (org-table-justify-field-maybe)
>  (call-interactively 'org-table-next-field
>
> --
> 2.10.0
>
> --
>
> Kaushal Modi
>
-- 

Kaushal Modi


Re: [O] Bug: HTML exports issues: none not working, and issues with #+TITLE

2016-11-22 Thread Peter Davis


On Tue, Nov 22, 2016, at 03:00 AM, Alan Schmitt wrote:
> On 2016-11-21 14:16, Peter Davis  writes:
> 
> > I'm on a Mac, and don't know how to start the Emacs.app without loading
> > the init file.
> 
> This is how I do it:
> open /Applications/Emacs.app -n --args -Q -l ~/tmp/emacs_debug/init.el
> 
> the '-n' says to open the application again even if it's already opened
> (i.e., you'll have two emacses running if one was already running). The
> '--args' lets you pass arguments to the application. Here I give the
> '-Q' argument and a file to use as init file. Note that files must have
> an absolute path name.
> 
> Best,
> 
> Alan


Thank you, Alan. I did finally manage to open an un-init-ialized emacs
and followed the other instructions, but I still can't get export to
work.

Thanks,
-pd


-- 
  Peter Davis
  www.techcurmudgeon.com



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, 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, directeur des études 1A
Recherche: LSIS, UMR7296 http://www.lsis.org/



Re: [O] Bug: HTML exports issues: none not working, and issues with #+TITLE

2016-11-22 Thread Alan Schmitt
On 2016-11-21 14:16, Peter Davis  writes:

> I'm on a Mac, and don't know how to start the Emacs.app without loading
> the init file.

This is how I do it:
open /Applications/Emacs.app -n --args -Q -l ~/tmp/emacs_debug/init.el

the '-n' says to open the application again even if it's already opened
(i.e., you'll have two emacses running if one was already running). The
'--args' lets you pass arguments to the application. Here I give the
'-Q' argument and a file to use as init file. Note that files must have
an absolute path name.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29


signature.asc
Description: PGP signature