emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ODT export displays incorrect title and author in libreoffice
@ 2014-10-22 14:26 Eric S Fraga
  2014-10-22 17:33 ` Rasmus
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2014-10-22 14:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

Hi,

I am not sure if my problem is with org or with libreoffice; most
likely, the combination of the two!  In any case, when I export to ODT,
the title and author fields do not appear as they should, instead
displaying "DocInformation:Title" and "DocInformation:Created".  See
attached screenshot.

The ODT file itself (well, the content.xml file within), however, does
contain the correct information for the title and subtitle fields:

,----
| <text:p text:style-name="OrgTitle">
| <text:title>t.org</text:title></text:p>
| <text:p text:style-name="OrgTitle"/>
| <text:p text:style-name="OrgSubtitle"><text:initial-creator>Eric S Fraga</text:initial-creator></text:p>
| <text:p text:style-name="OrgSubtitle"/>
`----

I use libreoffice very little so I have not customised it at all.  This
is on an ubuntu installation, by the way.

The weird thing is that I cannot find the string anywhere...

Any pointers to fixing this would be most welcome.

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-475-g25d50e

[-- Attachment #2: screendump-20141022152125.png --]
[-- Type: image/png, Size: 5438 bytes --]

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

* Re: ODT export displays incorrect title and author in libreoffice
  2014-10-22 14:26 ODT export displays incorrect title and author in libreoffice Eric S Fraga
@ 2014-10-22 17:33 ` Rasmus
  2014-10-22 20:05   ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: Rasmus @ 2014-10-22 17:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi Eric,

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

> I am not sure if my problem is with org or with libreoffice; most
> likely, the combination of the two!  In any case, when I export to ODT,
> the title and author fields do not appear as they should, instead
> displaying "DocInformation:Title" and "DocInformation:Created".  See
> attached screenshot.

I cannot reproduce.  Does it happen from emacs -q and the latest Org?

I use

- Org-mode version 8.3beta (release_8.3beta-476-gd4cce4)
- Libreoffice 4.3.2

and this document looks fine:

    #+TITLE: t
    #+AUTHOR: r
    * h
    1. a

—Rasmus

-- 
This space is left intentionally blank

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

* Re: ODT export displays incorrect title and author in libreoffice
  2014-10-22 17:33 ` Rasmus
@ 2014-10-22 20:05   ` Eric S Fraga
  2014-10-22 21:57     ` Rasmus
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2014-10-22 20:05 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

On Wednesday, 22 Oct 2014 at 19:33, Rasmus wrote:
> Hi Eric,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> I am not sure if my problem is with org or with libreoffice; most
>> likely, the combination of the two!  In any case, when I export to ODT,
>> the title and author fields do not appear as they should, instead
>> displaying "DocInformation:Title" and "DocInformation:Created".  See
>> attached screenshot.
>
> I cannot reproduce.  Does it happen from emacs -q and the latest Org?

Hi Rasmus,

Yes, with emacs -Q and org is up to date from yesterday.

I have noticed that with emacs -Q, ox-odt picks up schema from
/usr/share/emacs/etc/org/schema.  However, there are no differences in
the schema.  There are differences in the .../org/styles but nothing
that should affect this.

Alternatively, and more likely, I wonder if it's the installation of
libreoffice?  Could I have some leftover customisation lurking
somewhere?  I don't use libreoffice often enough to be comfortable with
it...

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-475-g25d50e

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

* Re: ODT export displays incorrect title and author in libreoffice
  2014-10-22 20:05   ` Eric S Fraga
@ 2014-10-22 21:57     ` Rasmus
  2014-10-23  8:31       ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: Rasmus @ 2014-10-22 21:57 UTC (permalink / raw)
  To: emacs-orgmode

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

> On Wednesday, 22 Oct 2014 at 19:33, Rasmus wrote:
>> Hi Eric,
>>
>
>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>>
>>> I am not sure if my problem is with org or with libreoffice; most
>>> likely, the combination of the two!  In any case, when I export to ODT,
>>> the title and author fields do not appear as they should, instead
>>> displaying "DocInformation:Title" and "DocInformation:Created".  See
>>> attached screenshot.
>>
>> I cannot reproduce.  Does it happen from emacs -q and the latest Org?
>
> Hi Rasmus,
>
> Yes, with emacs -Q and org is up to date from yesterday.

Won't you pick up Org shipped with Emacs with emacs -Q?

> I have noticed that with emacs -Q, ox-odt picks up schema from
> /usr/share/emacs/etc/org/schema.  However, there are no differences in
> the schema.  There are differences in the .../org/styles but nothing
> that should affect this.

I don't know.  You can change the path of style files setting
`org-odt-styles-dir'.  For me the "wrong" dirs are also picked up.
This might be a bug?

> Alternatively, and more likely, I wonder if it's the installation of
> libreoffice?  Could I have some leftover customisation lurking
> somewhere?  I don't use libreoffice often enough to be comfortable with
> it...

Maybe you can reset it by: 

  mv ~/.config/libreoffice{,.bak} 

Or something like that...

—Rasmus

-- 
Don't panic!!!

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

* Re: ODT export displays incorrect title and author in libreoffice
  2014-10-22 21:57     ` Rasmus
@ 2014-10-23  8:31       ` Eric S Fraga
  0 siblings, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2014-10-23  8:31 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

On Wednesday, 22 Oct 2014 at 23:56, Rasmus wrote:
> Won't you pick up Org shipped with Emacs with emacs -Q?

yes I would but I set the load path before I load org so I pick up the
new version.

> Maybe you can reset it by: 
>
>   mv ~/.config/libreoffice{,.bak} 

Thanks.  I'll try this.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf

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

end of thread, other threads:[~2014-10-23  9:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 14:26 ODT export displays incorrect title and author in libreoffice Eric S Fraga
2014-10-22 17:33 ` Rasmus
2014-10-22 20:05   ` Eric S Fraga
2014-10-22 21:57     ` Rasmus
2014-10-23  8:31       ` 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).