On Wed, 2 Mar 2011 16:51:10 -0600 stefano franchi <[email protected]> wrote:
> Well, > > Abiword crashes on me when I try to open lyx´s xhtml files. If, as > Richard suggested, I remove the first line (the XML declaration), > then ooffice opens the file correctly, but puts some garbage on the > first line. See pdf below. I am enclosing a simple test file in lyx > and the xhtml with the first line removed that produced the garbage > line. Can anyone try on their systems? This is a bit of a correction on my previous email. I don't understand what is happening. Abiword *can't* open test.xhtml, nor can it open the renamed test.html. HOWEVER, I opened the file in emacs and deleted the first line, saved, then reinserted the first line. Now it opens in Abiword. Running an ediff on the two files shows no differences. I suspect that we are seeing some sort of coding problem, but I don't know enough to track it down. *Something* gets changed (perhaps by emacs) in the delete and reinsertion, but I don't know what it is. Sorry about the misleading previous post. I had done the deletion and reinsertion but had forgotten about it. Cheers, Alan > > Cheers, > > Stefano > > > On Wed, Mar 2, 2011 at 3:45 PM, Alan L Tyree <[email protected]> > wrote: > > > On Wed, 02 Mar 2011 16:37:52 -0500 > > Richard Heck <[email protected]> wrote: > > > > > On 03/02/2011 03:38 PM, stefano franchi wrote: > > > > Dear All, > > > > > > > > I love the new xhtml export! Great addition to Lyx. It should > > > > also make exporting to Word relatively painless. Since I do not > > > > have access to MS Word, though, I wonder if anyone has > > > > succeeded in going through open/Libre office instead. On my > > > > system (Ubuntu 10.10. latest versions of both oopen/libre), the > > > > few files I have tried are open as a plain ascii > > > > files---text-editor style, with tags and everything. From what > > > > read online, this should not be the case. I am sure I am not > > > > seeing something blatantly obvious and would appreciate any > > > > help. > > > > > > > It looks as if OOo doesn't like the initial <xml...> line. If you > > > remove it, it will open OK. > > > > Or you can open them directly in Abiword - at least on Debian > > Squeeze. > > > > Cheers, > > Alan > > > > > > > > rh > > > > > > > > > -- > > Alan L Tyree http://www2.austlii.edu.au/~alan > > Tel: 04 2748 6206 > > > > -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206
