Re: [O] ODT export displays incorrect title and author in libreoffice

2014-10-23 Thread Eric S Fraga
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



[O] ODT export displays incorrect title and author in libreoffice

2014-10-22 Thread Eric S Fraga
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:titlet.org/text:title/text:p
| text:p text:style-name=OrgTitle/
| text:p text:style-name=OrgSubtitletext:initial-creatorEric 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


Re: [O] ODT export displays incorrect title and author in libreoffice

2014-10-22 Thread Rasmus
Hi Eric,

Eric S Fraga e.fr...@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




Re: [O] ODT export displays incorrect title and author in libreoffice

2014-10-22 Thread Eric S Fraga
On Wednesday, 22 Oct 2014 at 19:33, Rasmus wrote:
 Hi Eric,

 Eric S Fraga e.fr...@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



Re: [O] ODT export displays incorrect title and author in libreoffice

2014-10-22 Thread Rasmus
Eric S Fraga e.fr...@ucl.ac.uk writes:

 On Wednesday, 22 Oct 2014 at 19:33, Rasmus wrote:
 Hi Eric,


 Eric S Fraga e.fr...@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!!!