Re: [O] Opening an odt file - problem solved

2012-05-25 Thread Jambunathan K
Bastien b...@gnu.org writes: Jambunathan K kjambunat...@gmail.com writes: Can you fix it? OK. Fixed in both maint and master. The exported ODT file will not have multiple XML declrations. Great, thanks a lot! This fix is back-firing. I have pushed an updated fix. I ignored the

Re: [O] Opening an odt file - problem solved

2012-05-25 Thread Bastien
Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: This fix is back-firing. I have pushed an updated fix. Fixed in Org 7.8.11 and Emacs 24.1 branches. Note:: nxml-mode is not really needed for ODT export to go through [1]. I will remove this dependency for the new exporter

Re: [O] Opening an odt file - problem solved

2012-05-24 Thread Bastien
Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: So if want to be able to open odt files created with orgmode odt exporter you have to have nxml-auto-insert-xml-declaration-flag set to nil. Thanks for writing this down. It seems you aren't insisting on a fix. I think the fix

Re: [O] Opening an odt file - problem solved

2012-05-24 Thread Jambunathan K
Bastien b...@gnu.org writes: Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: So if want to be able to open odt files created with orgmode odt exporter you have to have nxml-auto-insert-xml-declaration-flag set to nil. Thanks for writing this down. It seems you aren't

Re: [O] Opening an odt file - problem solved

2012-05-24 Thread Bastien
Jambunathan K kjambunat...@gmail.com writes: Can you fix it? OK. Fixed in both maint and master. The exported ODT file will not have multiple XML declrations. Great, thanks a lot! -- Bastien

Re: [O] Opening an odt file - problem solved

2012-05-24 Thread Jambunathan K
Jambunathan K kjambunat...@gmail.com writes: I see that there is a bug in nxml-mode. I file a bug report against Emacs sometime soon. The bug is: When `nxml-auto-insert-xml-declaration-flag' is on, if one opens a ODT file in archive mode and presses RET on say content.xml, an extra XML

Re: [O] Opening an odt file - problem solved

2012-05-20 Thread Jambunathan K
So if want to be able to open odt files created with orgmode odt exporter you have to have nxml-auto-insert-xml-declaration-flag set to nil. Thanks for writing this down. It seems you aren't insisting on a fix. So I will keep things as they are now. --

[O] Opening an odt file - problem solved

2012-05-19 Thread itm...@chrikro.net
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello! Sharing a solution to a problem I had myself with opening an odt file after export. I use emacs 23.4 on win7 with orgmode 7.8.03. I could not open the new exported odt file with word2010 or libreoffice. Somewhere I found out that content.xml

Re: [O] Opening an odt file - problem solved

2012-05-19 Thread Achim Gratz
itm...@chrikro.net writes: After changed it to '(nxml-auto-insert-xml-declaration-flag nil) Good catch. It would be preferable if that variable was let-bound to nil in the export functions that write out the templates so that users can set it to whatever they want in their configuration.