emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* export to ODT fails strangely
@ 2014-01-26 21:42 Eric S Fraga
  2014-01-26 22:00 ` Nicolas Goaziou
  2014-01-27 10:28 ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Eric S Fraga @ 2014-01-26 21:42 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I hope somebody can point me in the right direction.  I am trying to
export a large document to ODT to share with my
collaborators.  Exporting to LaTeX works like a charm.  However, with
ODT, the exporter fails with:

,----
| OpenDocument export failed: FIXME: Resolve (paragraph (:begin 23510 :end
| 23635 :contents-begin 23599 :contents-end 23629 :post-blank 1
| :post-affiliated 23599 :name "fig:graph" :caption (((#("Dependency graph
| of major tasks in the project." 0 47 (:parent #4))))) :results ("")
| [...]
`----

The messages buffer contains a very large amount of text, including most
of my document in one form or another it seems...  

I have no idea where to start.  I cannot seem to come up with a minimal
example and the long example has too much confidential material for me
to pass on to anybody at all unfortunately.   Argghhhh.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.5g-539-g0b67b7

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

* Re: export to ODT fails strangely
  2014-01-26 21:42 export to ODT fails strangely Eric S Fraga
@ 2014-01-26 22:00 ` Nicolas Goaziou
  2014-02-02 19:10   ` Eric S Fraga
  2014-01-27 10:28 ` Bastien
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2014-01-26 22:00 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> I hope somebody can point me in the right direction.  I am trying to
> export a large document to ODT to share with my
> collaborators.  Exporting to LaTeX works like a charm.  However, with
> ODT, the exporter fails with:
>
> ,----
> | OpenDocument export failed: FIXME: Resolve (paragraph (:begin 23510 :end
> | 23635 :contents-begin 23599 :contents-end 23629 :post-blank 1
> | :post-affiliated 23599 :name "fig:graph" :caption (((#("Dependency graph
> | of major tasks in the project." 0 47 (:parent #4))))) :results ("")
> | [...]
> `----

I guess you are cross-referencing to a paragraph (probably a standalone
image) named "fig:graph". You can probably get an ECM if you isolate
both that paragraph and the link referring to it.


Regards,

-- 
Nicolas Goaziou

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

* Re: export to ODT fails strangely
  2014-01-26 21:42 export to ODT fails strangely Eric S Fraga
  2014-01-26 22:00 ` Nicolas Goaziou
@ 2014-01-27 10:28 ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2014-01-27 10:28 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> The messages buffer contains a very large amount of text, including most
> of my document in one form or another it seems...  
>
> I have no idea where to start.

Start by instrumenting `org-odt-link--infer-description' with
`edebug-defun' and see what element causes this, probably a figure
or a link for which the ODT exporter cannot find a description.

Good luck,

-- 
 Bastien

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

* Re: export to ODT fails strangely
  2014-01-26 22:00 ` Nicolas Goaziou
@ 2014-02-02 19:10   ` Eric S Fraga
  0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2014-02-02 19:10 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> I hope somebody can point me in the right direction.  I am trying to
>> export a large document to ODT to share with my
>> collaborators.  Exporting to LaTeX works like a charm.  However, with
>> ODT, the exporter fails with:
>>
>> ,----
>> | OpenDocument export failed: FIXME: Resolve (paragraph (:begin 23510 :end
>> | 23635 :contents-begin 23599 :contents-end 23629 :post-blank 1
>> | :post-affiliated 23599 :name "fig:graph" :caption (((#("Dependency graph
>> | of major tasks in the project." 0 47 (:parent #4))))) :results ("")
>> | [...]
>> `----
>
> I guess you are cross-referencing to a paragraph (probably a standalone
> image) named "fig:graph". You can probably get an ECM if you isolate
> both that paragraph and the link referring to it.

Well, you are partially correct in that the problem has to do with my
[[fig:graph]] type of links, which I assume are valid?  Does the "fig:"
maybe confuse something?  

In any case, I could get the document to export but only by removing all
similar links.  I have two figures and 6 references to these figures in
my large document.  I tried changing "fig:" to "fig-" in all cases but I
have the same problem.  Removing all the links (all I did was change
"[[fig" to "[fig") allows the file to be exported (without the links,
obviously).

This particular document is no longer needed.  It was a grant proposal
which was submitted on Thursday and will never need to be exported again
so the problem no longer affects me.  However, there is some problem
somewhere...

While I'm at it, thanks again to the org community: the process of
putting together a rather large proposal went so much better thanks to
org than it would have been had I had to use any alternative system!

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.5h-585-g5f0ca0

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

end of thread, other threads:[~2014-02-02 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-26 21:42 export to ODT fails strangely Eric S Fraga
2014-01-26 22:00 ` Nicolas Goaziou
2014-02-02 19:10   ` Eric S Fraga
2014-01-27 10:28 ` Bastien

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