Re: [O] Sync up the org in emacs master to org maint branch?

2017-01-25 Thread Kyle Meyer
Rasmus  writes:

> Kaushal Modi  writes:

[...]

>> As a precaution that that does not repeat when emacs 26.x is released,
>> should the org version in emacs master be synced with the now latest stable
>> org version 9.0.4?
>
> Yes.

We'd want at least one more release from maint, I think, so that'd be
9.0.5.

>> If we are able the release the new packaging method in emacs 26.x, then we
>> can remove org from emacs master completely, but if not, then at least as
>> backup we have a newer org version to go out with that release.
>
> What is the current status?  I am a bit confused about the policy at this
> point.  I'm happy to try to update master to 9.0.4, but I was somehow
> under the impression that we were waiting for a solution to include ELPA
> packages in the Emacs tarball.

Rasmus, I've pushed a branch (emacs-sync) to the Org repo that applies
several patches on top of maint.  These make a few changes to org.texi
and orgcard.tex that I think are appropriate for the sync.  Feel free to
ignore the branch if it's not helpful.

Thanks.

-- 
Kyle



Re: [O] Day agenda no longer shows timed events for some days

2017-01-25 Thread Jarmo Hurri
Nicolas Goaziou  writes:

> Hello,
>
> Jarmo Hurri  writes:
>
>> Just pulled the newest version of Org from repo, and something broke in
>> my day agenda. For _some days_ I no longer see any of my daily meetings
>> and/or events. The timeline in which these events are located is missing
>> completely from the agenda.
>>
>> Currently, for example, I can not see these timed events for today or
>> yesterday, but I can see them for tomorrow.
>>
>> Has this been reported already, or do I need to start debugging to find
>> out what are the specific conditions in which this happens?
>
> I'm not aware of any similar bug report. An ECM would help, too.

I have been able to analyse this a bit further. I have multiple
directories in my org-agenda-files. For example, for the current day it
seems that _only_ the events from the specific file notes.org are
included into the agenda timeline. Events from other files in the
directories are excluded. However, in tomorrow's agenda I _can_ see
events also from the other files.

I will try to compile an ECM soon. Unfortunately I am really busy atm.

Jarmo




Re: [O] Babel prolog not working

2017-01-25 Thread Lawrence Bottorff
I did an issue at https://github.com/ljos/ob-prolog.

On Wed, Jan 25, 2017 at 9:38 PM, Thomas S. Dye  wrote:

> Aloha Lawrence,
>
> Lawrence Bottorff writes:
>
> > On my original system, as well on a built-from-scratch system, babel
> prolog
> > won't work for me. I've got latest swi-prolog 7.4.0 installed, along with
> > Emacs 25.1.1, and org 9.0.4, along with ob-prolog 20170102.953, and
> prolog
> > (major mode) 1.22. Anything I put in a code block, e.g.,
> >
> > #+BEGIN_SRC prolog
> > [likes.pl].
> > #+END_SRC
> >
> > results in (*Messages*)
> >
> > executing Prolog code block...
> > executing Prolog source code block
> > org-babel-variable-assignments:prolog: Wrong number of arguments: (1 .
> 1), 2
> >
> > Doing C-h f brings up
> >
> > org-babel-variable-assignments:prolog is a compiled Lisp function in
> > ‘ob-prolog.el’.
> > (org-babel-variable-assignments:prolog PARAMS)
> > Not documented.
> >
> > . . . and I found it in
> > https://github.com/ljos/ob-prolog/blob/master/ob-prolog.el, but can't
> > fathom what is going wrong.
> >
> > Regular, non-org prolog major mode interactions work fine.
> >
> > I know I try everyone's patience on this list, but I'm trying out many
> > different languages' babel capabilities -- and reporting my "findings."
>
> Perhaps you could also open an issue with the ob-prolog developer:
> https://github.com/ljos/ob-prolog
>
> One way to report "findings" is the Babel languages page on Worg:
> http://orgmode.org/worg/org-contrib/babel/languages.html
>
> That page could always use more love.
>
> All the best,
> Tom
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>


Re: [O] Babel prolog not working

2017-01-25 Thread Thomas S. Dye
Aloha Lawrence,

Lawrence Bottorff writes:

> On my original system, as well on a built-from-scratch system, babel prolog
> won't work for me. I've got latest swi-prolog 7.4.0 installed, along with
> Emacs 25.1.1, and org 9.0.4, along with ob-prolog 20170102.953, and prolog
> (major mode) 1.22. Anything I put in a code block, e.g.,
>
> #+BEGIN_SRC prolog
> [likes.pl].
> #+END_SRC
>
> results in (*Messages*)
>
> executing Prolog code block...
> executing Prolog source code block
> org-babel-variable-assignments:prolog: Wrong number of arguments: (1 . 1), 2
>
> Doing C-h f brings up
>
> org-babel-variable-assignments:prolog is a compiled Lisp function in
> ‘ob-prolog.el’.
> (org-babel-variable-assignments:prolog PARAMS)
> Not documented.
>
> . . . and I found it in
> https://github.com/ljos/ob-prolog/blob/master/ob-prolog.el, but can't
> fathom what is going wrong.
>
> Regular, non-org prolog major mode interactions work fine.
>
> I know I try everyone's patience on this list, but I'm trying out many
> different languages' babel capabilities -- and reporting my "findings."

Perhaps you could also open an issue with the ob-prolog developer:
https://github.com/ljos/ob-prolog

One way to report "findings" is the Babel languages page on Worg:
http://orgmode.org/worg/org-contrib/babel/languages.html

That page could always use more love.

All the best,
Tom

--
Thomas S. Dye
http://www.tsdye.com



[O] Babel prolog not working

2017-01-25 Thread Lawrence Bottorff
On my original system, as well on a built-from-scratch system, babel prolog
won't work for me. I've got latest swi-prolog 7.4.0 installed, along with
Emacs 25.1.1, and org 9.0.4, along with ob-prolog 20170102.953, and prolog
(major mode) 1.22. Anything I put in a code block, e.g.,

#+BEGIN_SRC prolog
[likes.pl].
#+END_SRC

results in (*Messages*)

executing Prolog code block...
executing Prolog source code block
org-babel-variable-assignments:prolog: Wrong number of arguments: (1 . 1), 2

Doing C-h f brings up

org-babel-variable-assignments:prolog is a compiled Lisp function in
‘ob-prolog.el’.
(org-babel-variable-assignments:prolog PARAMS)
Not documented.

. . . and I found it in
https://github.com/ljos/ob-prolog/blob/master/ob-prolog.el, but can't
fathom what is going wrong.

Regular, non-org prolog major mode interactions work fine.

I know I try everyone's patience on this list, but I'm trying out many
different languages' babel capabilities -- and reporting my "findings."

LB


Re: [O] org-faq page on Worg seems busted

2017-01-25 Thread Nick Dokos
Version info just in case:

GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 
2017-01-19
Org mode version 9.0.3 (release_9.0.3-241-gc3d67b @ 
/home/nick/elisp/org-mode/lisp/)

-- 
Nick





[O] What would you like to see in the next MobileOrg iOS?

2017-01-25 Thread Sean Escriva
Hi fellow Org users,

I'm the current maintainer of MobileOrg for iOS[1]. We've recently been
working on a refreshed release of the current version of MobileOrg and it
will be released soon as v1.7. After this release v1 will be in maintenance
mode while we focus efforts on the next version.

We've started plans on the future version of MobileOrg, dubbed just v2
currently. It will be a major rewrite and we need your input. We hope to
not just improve the codebase but also add more features that would be
useful specifically to mobile users and provide a great Org mode experience
on an iOS device.

We've started a specification document[2] which is slowly evolving and we'd
like to track issues for discussion[3] with the community of users before
making decisions.

If you have any additional requirements feel free to add them as an issue
or by pull request[4]. Your input is much appreciated!

Sean

[1] https://github.com/MobileOrg/mobileorg
[2]
https://github.com/MobileOrg/mobileorg.next/blob/specification/docs/MobileOrgv2.org

[3] https://github.com/MobileOrg/mobileorg.next/labels/discussion
[4] https://github.com/MobileOrg/mobileorg.next/issues


Re: [O] Mobile org

2017-01-25 Thread Sean Escriva
Hey Paul,

MobileOrg for iOS maintainer here. The issue you're facing is probably due
to the deprecated v1 Dropbox API. The next MobileOrg release, v1.7, is soon
to be released and will use new Dropbox APIv2. I can confirm from a few
reports from TestFlight test users that it works well.

Thanks for your interest in MobileOrg, it's great to hear that there are
people besides just me that use it :)

Sean

On Mon, Jan 23, 2017 at 7:59 AM Paul Schlesinger 
wrote:

> For about two weeks since getting a new ipad I have not been able to
> re-install mobile org. After setting up dropbox I can log in from MobileOrg
> but the target directories are not created and they are not use if I create
> them manually. This seems to me to be resulting from a change in dropbox.
> Perhaps these are anticipated by the promise of a version 1.71 that appears
> to be expected but not available. I would appreciate direction to
> installation instructions that are current or other explanation.
>
>
> Thank you
>
> Paul Schlesinger
>
> --
> Paul H. Schlesinger MD, PhD
> Washington University School of Medicine
>


Re: [O] org-faq page on Worg seems busted

2017-01-25 Thread Nick Dokos
Nick Dokos  writes:

> The "Latest questions on SO" section at the beginning of
>
>  http://orgmode.org/worg/org-faq.html
>
> shows literal HTML:
>
>  src="http://feed2js.org//feed2js.php?src=http://stackoverflow.com/feeds/tag?tagnames=org-mode&sort=newest&chan=title&num=5&utf=y";
> charset="UTF-8" type="text/javascript">
>
>   href="http://feed2js.org//feed2js.php?src=http://stackoverflow.com/feeds/tag?tagnames=org-mode=newest=title=5=y=y;>View
> RSS feed 
>
> The source looks like this:
>
> noscript
>
> so something broke the export.

It seems that org-faq.org is still using #+begin_html ... #+end_html
(instead of #+begin_export html ... #+end_export). I was trying to fix
that, but publishing locally fails at a couple of [[id:][foo]] links:

   Unable to resolve link: "id:facac2a6-3526-450d-ac42-8d36b16c6bab"

What's up with that?

I tried clicking on the link (e.g. line 2013 of org-faq.org) in the org
file - it says:

   No match - create this as a new heading?

That has to be a bug, no?
-- 
Nick




Re: [O] How to set the scheduled property programmatically?

2017-01-25 Thread Nicolas Goaziou
Hello,

Michael Welle  writes:

> what is the correct way to set the property? I tried
>
> (org-entry-put pom "SCHEDULED" "<2017-01-01 Sun ++1w>")
>
> which results in
>
> SCHEDULED: <2017-01-01 Sun>
>
> As you can see, the 'repeater' is missing.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Process substitution in babel [RESOLVED]

2017-01-25 Thread Joe Riel
On Mon, 16 Jan 2017 14:35:30 -0800
Joe Riel  wrote:

> Can one use process substitution in babel? 
> 
> #+BEGIN_SRC bash
> comm <(ls) <(ls)
> #+END_SRC
> 
> I get an error
> 
> Syntax error: "(" unexpected
> 

The solution was to pull and install the latest version of org from git-hub.
Now it works as it should.

-- 
Joe Riel




[O] org-faq page on Worg seems busted

2017-01-25 Thread Nick Dokos
The "Latest questions on SO" section at the beginning of

 http://orgmode.org/worg/org-faq.html

shows literal HTML:

http://feed2js.org//feed2js.php?src=http://stackoverflow.com/feeds/tag?tagnames=org-mode&sort=newest&chan=title&num=5&utf=y";
 charset="UTF-8" type="text/javascript">

 http://feed2js.org//feed2js.php?src=http://stackoverflow.com/feeds/tag?tagnames=org-mode=newest=title=5=y=y;>View
 RSS feed 

The source looks like this:

noscript

so something broke the export.

-- 
Nick





Re: [O] Can't install org-plus-contrib from org elpa

2017-01-25 Thread Kaushal Modi
On Wed, Jan 25, 2017 at 3:25 PM Lawrence Bottorff  wrote:

> I'm trying a clean install with this in my init.el
>
> (require 'package)
> (add-to-list 'package-archives
>   '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/;))
>

Not related to your question, but this link has been updated. See
https://stable.melpa.org/#/getting-started

(add-to-list 'package-archives
> '("org" . "http://orgmode.org/elpa/;))
>
> ;; Initialize all the ELPA packages (what is installed using the packages
> commands)
> (package-initialize)
>
> (when (not package-archive-contents)
>   (package-refresh-contents))
>

(package-refresh-contents) should be called every time if you tend to
install package non-interactively i.e. not using M-x list-packages. You
could have non-nil package-archive-contents but that value could be stale.
This could be the problem.


> (defvar my-packages
>   '(;; org mode
> org
> ;; org mode plus contrib
> org-plus-contrib))
>

Also not related to the problem, you do not need both org and
org-plus-contrib. Just org-plus-contrib will suffice. See
http://orgmode.org/elpa.html


> (dolist (p my-packages)
>   (when (not (package-installed-p p))
> (package-install p)))
>
>
> eval-buffer-ing this gives
>
> package-compute-transaction: Package ‘org-plus-contrib-’ is unavailable
>
> It's as if it's looking for a specific org-plus-contrib-.tar ? Never
> had this problem before.
>

Call package-refresh-contents unconditionally. That should fix the problem.


> LB
>
-- 

Kaushal Modi


Re: [O] Sync up the org in emacs master to org maint branch?

2017-01-25 Thread Eli Zaretskii
> From: Rasmus 
> Date: Wed, 25 Jan 2017 17:54:48 +0100
> Cc: emacs-de...@gnu.org
> 
> What is the current status?  I am a bit confused about the policy at this
> point.  I'm happy to try to update master to 9.0.4, but I was somehow
> under the impression that we were waiting for a solution to include ELPA
> packages in the Emacs tarball.

That could take a while, AFAIU, so I wouldn't recommend delaying the
update on that behalf.

Thanks.



[O] Can't install org-plus-contrib from org elpa

2017-01-25 Thread Lawrence Bottorff
I'm trying a clean install with this in my init.el

(require 'package)
(add-to-list 'package-archives
  '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/;))

(add-to-list 'package-archives
'("org" . "http://orgmode.org/elpa/;))

;; Initialize all the ELPA packages (what is installed using the packages
commands)
(package-initialize)

(when (not package-archive-contents)
  (package-refresh-contents))


(defvar my-packages
  '(;; org mode
org
;; org mode plus contrib
org-plus-contrib))


(dolist (p my-packages)
  (when (not (package-installed-p p))
(package-install p)))


eval-buffer-ing this gives

package-compute-transaction: Package ‘org-plus-contrib-’ is unavailable

It's as if it's looking for a specific org-plus-contrib-.tar ? Never
had this problem before.

LB


[O] clock resolution bug

2017-01-25 Thread Samuel Wales
in recent maint:

i get  "clock start time is gone" pretty frequently.

i do org-clock-cancel.  this stops the clock but does
not fix the dangling clock.

to fix the dangling clock, i try clocking in or out.

i then get clock resolution menu (k, K, etc.).

which says at bottom:

"For all these options, using uppercase makes your final
state to be CLOCKED OUT."

i press K, and it correctly clocks me out, then clocks me in again.

i expected it to not clock me in again.

-- 
The Kafka Pandemic: 

TED Talk: https://www.youtube.com/watch?v=Fb3yp4uJhq0

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it.

Denmark: free Karina Hansen NOW.
  UPDATE 2016-10: home, but not fully free



Re: [O] extra paragraph in image export?

2017-01-25 Thread Matt Price
(I totally misread the patch, sorry. duh.)

On Wed, Jan 25, 2017 at 11:59 AM, Nicolas Goaziou 
wrote:

> Hello,
>
> Rasmus  writes:
>
> >> So would the following patch fix the issue?
> >
> > Looks fine to me.
> >
> > Thanks!
>
> Applied. Thank you.
>
> Regards,
>
> --
> Nicolas Goaziou
>
>


Re: [O] extra paragraph in image export?

2017-01-25 Thread Nicolas Goaziou
Hello,

Rasmus  writes:

>> So would the following patch fix the issue?
>
> Looks fine to me.
>
> Thanks!

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Sync up the org in emacs master to org maint branch?

2017-01-25 Thread Rasmus
Hi,

Kaushal Modi  writes:

> I am aware that in emacs 26, there are plans to change the way in how
> certain packages can be moved out of the emacs master and still can be
> installed seamlessly using the tarballs of those.

Indeed.

> Currently the org-mode version in emacs master is 8.2.10 and that it too
> old (> 2 years, ref: http://orgmode.org/cgit.cgi/org-mode.git/refs/). The
> current stable version of org-mode is 9.0.4 (released yesterday).
>
> At the time of releasing emacs 25.1, the org-mode in emacs master could
> have been synced up with the then 1.5 years newer and stable version of org
> (probably 8.3.5 or 8.3.6). But that got missed due to some reason.

*AFAIR* it was too late and would thus not have received enough test from
the general Emacs community.

> As a precaution that that does not repeat when emacs 26.x is released,
> should the org version in emacs master be synced with the now latest stable
> org version 9.0.4?

Yes.

> If we are able the release the new packaging method in emacs 26.x, then we
> can remove org from emacs master completely, but if not, then at least as
> backup we have a newer org version to go out with that release.

What is the current status?  I am a bit confused about the policy at this
point.  I'm happy to try to update master to 9.0.4, but I was somehow
under the impression that we were waiting for a solution to include ELPA
packages in the Emacs tarball.

Thanks,
Rasmus

-- 
However beautiful the theory, one should occasionally look at the evidence



Re: [O] Release 9.0.4

2017-01-25 Thread Andy Moreton
On Wed 25 Jan 2017, Joon Ro wrote:

>> Will this get syncd to the emacs repo ?
>
>> The emacs master branch still has org 8.2.10.
>
> You might want to add the org repo if you want to get the latest version of
> org. I have the following in my init.el file (org in addition to melpa):

Thats not what I was asking.

The emacs repo contains a copy of Org mode (excluding contrib), and this
copy needs attention from the Org maintainer to keep it up to date.

AndyM




[O] Sync up the org in emacs master to org maint branch?

2017-01-25 Thread Kaushal Modi
Hi all,

I am aware that in emacs 26, there are plans to change the way in how
certain packages can be moved out of the emacs master and still can be
installed seamlessly using the tarballs of those.

Currently the org-mode version in emacs master is 8.2.10 and that it too
old (> 2 years, ref: http://orgmode.org/cgit.cgi/org-mode.git/refs/). The
current stable version of org-mode is 9.0.4 (released yesterday).

At the time of releasing emacs 25.1, the org-mode in emacs master could
have been synced up with the then 1.5 years newer and stable version of org
(probably 8.3.5 or 8.3.6). But that got missed due to some reason.

As a precaution that that does not repeat when emacs 26.x is released,
should the org version in emacs master be synced with the now latest stable
org version 9.0.4?

If we are able the release the new packaging method in emacs 26.x, then we
can remove org from emacs master completely, but if not, then at least as
backup we have a newer org version to go out with that release.

-- 

Kaushal Modi


Re: [O] Release 9.0.4

2017-01-25 Thread Joon Ro

> Will this get syncd to the emacs repo ?

> The emacs master branch still has org 8.2.10.


You might want to add the org repo if you want to get the latest version of 
org. I have the following in my init.el file (org in addition to melpa):


(when (>= emacs-major-version 24)
  (require 'package)
  (package-initialize)
  (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/;) t)
  (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/;) t)
  )








Re: [O] VM for org-based reproducible environment?

2017-01-25 Thread Rasmus
Matt Price  writes:

> I'm really interested in the gitlab-ci part of this -- can you describe?

Here's a very simple example using Org to publish a website via gitlab-ci.

   https://gitlab.com/pages/org-mode

> Do you think it will translate to travis on github?

Undoubtedly, but I haven't used Travis.  It looks like .travis.yml is a
bit more verbose than the corresponding .gitlab.yml, and docker seems to
be less integrated.  It should still be possible

https://docs.travis-ci.com/user/customizing-the-build/

> I'd prefer to continue using github if I can since there's so much
> infrastructure there, and I tend to use the web interface in my
> teaching.

I only report issues on Gitlab.

As I occasionally need private repos and git-annex support I usually use
gitlab.com.

Regards,
Rasmus

-- 
And I faced endless streams of vendor-approved Ikea furniture. . .




Re: [O] extra paragraph in image export?

2017-01-25 Thread Rasmus
> So would the following patch fix the issue?

Looks fine to me.

Thanks!

Rasmus

-- 
The second rule of Fight Club is: You do not talk about Fight Club




Re: [O] Table formula from code block

2017-01-25 Thread Michael Welle
Hello,

Eric S Fraga  writes:

> On Tuesday, 24 Jan 2017 at 14:14, Michael Welle wrote:
>> ohschockschwerenot, I found it. I set org-confirm-babel-evaluate to a
>> function that does look at the body of the code block and then decides
>> if it should be executed without confirmation or not.
>>
>> I'm not sure, why that is a problem. In the case of the examples, the
>> function returns t and that is the default value of o-c-b-evaluate.
>
> Interesting.  I cannot help with this but I would be quite interested in
> seeing your function in case it's something I could use!  Would it be
> possible to share?
it's quite a hack. I don't want Org to evaluate source code blocks
without confirmation. This could lead to all sorts of trouble. On the
other hand, there are a few source code blocks, that I want to eval
without confirmation. So I use this:


(defun hmw/org-post-publish-export-confirm-evaluate (lang body)
  (not (string-match "^#post publish exporter" body)))
  
(setq org-confirm-babel-evaluate 'hmw/org-post-publish-export-confirm-evaluate)

A source code block looks like follows:

#+BEGIN_SRC shell :exports results :shebang #!/bin/sh :var 
SRCDIR=(expand-file-name (plist-get plist :base-directory)) :var 
DESTDIR=(expand-file-name (plist-get plist :publishing-directory))
#post publish exporter
(
echo "Starting esxwithforeman.org $(date)"

cd ${SRCDIR}

echo "Finish esxwithforeman.org $(date)"
) >> /tmp/c0t0d0s0_publish.log 2>&1
#+END_SRC

As you can see, this is not a security feature, esp. now that I
published it ;).

Regards
hmw



Re: [O] extra paragraph in image export?

2017-01-25 Thread Rasmus
Hi,

>> I'm not sure. Doesn't look like it to me -- I would instead have put:
>>
>> -(format "\n%s" contents)
>> +(format "\n%s" contents)
>>
>> Because we never want the  tag inside the figure. Isn't that right?
>
> I don't think so. When `org-html-html5-fancy' is non-nil, "ox-html.el"
> uses  tags to separate image and caption. 

I agree that the  could be retained in the non-HTML5 case.  That
corresponds to the W3 example below.  Note, strictly speaking I guess the
non-HTML5 org html output is not necessarily "HTML4", so the example may
not apply.

https://www.w3.org/Style/Examples/007/figures.en.html#Illustrati

> Moreover, there is no  in that case, but a  class=\"figure\">. Can't this contain a  block element?

Yes.  HTML5 "figure" can hold "p" as well, but it's not necessary, and it
seems to be uncommon.

Rasmus

-- 
Human: An animal that complicates things more than strictly necessary




Re: [O] Release 9.0.4

2017-01-25 Thread Andy Moreton
On Wed 25 Jan 2017, Bastien wrote:

> Hi all,
>
> Org 9.0.4 is out now.
>
> Enjoy!

Will this get syncd to the emacs repo ?

The emacs master branch still has org 8.2.10.

AndyM




Re: [O] empty search causes infinite loop?

2017-01-25 Thread Scott Randby
On 01/24/2017 04:36 PM, Pete Siemsen wrote:
> I use Org mode version 8.2.10 under Aquamacs version 3.3 on Mac Sierra 
> 10.12.3.
> 
> When I do "C-c a s" to search my org files for a keyword, it works
> fine, except when I mistakenly search for nothing. In other words, if
> when prompted for a search string, I hit RETURN, Aquamacs dives into
> an infinite loop. I have to force-quit Aquamacs and restart.

This doesn't happen with Org 9.0.3 in GNU Emacs 24.5.1 on Xubuntu 16.04.
Maybe updating Org will fix the problem.

Scott Randby

> 
> -- Pete
> 
> 



Re: [O] extra paragraph in image export?

2017-01-25 Thread Nicolas Goaziou
Hello,

Matt Price  writes:

> I'm not sure. Doesn't look like it to me -- I would instead have put:
>
> -(format "\n%s" contents)
> +(format "\n%s" contents)
>
> Because we never want the  tag inside the figure. Isn't that right?

I don't think so. When `org-html-html5-fancy' is non-nil, "ox-html.el"
uses  tags to separate image and caption. 

Moreover, there is no  in that case, but a . Can't this contain a  block element?

Regards,

-- 
Nicolas Goaziou