Ken wrote:
Minor correction: SWP crashes when I simply try to open LyX's exported
.tex file.  In SWP if I choose to open a non-SWP tex file I get the
error "The file ... is not valid for the selected filter." SWP does
not crash but I am still unable to import the .tex file created by
LyX.

Any suggestions would be greatly appreciated.

Thanks,
Ken


On Wed, Apr 16, 2008 at 4:06 PM, Ken <[EMAIL PROTECTED]> wrote:
Hi.  There is a Wiki page on importing Scientific Workplace (SWP)
 documents into LyX:
 http://wiki.lyx.org/FAQ/ImportingFromSWP
 but I can not seem to find any information on import a LyX document into SWP.

 I love using LyX but my co-author uses Scientific Word/Workplace.  I
 don't want to have to buy a copy for myself but I am not able export
 my LyX documents in a way that he can import them.  I have tried in
 LyX File->Export->LaTeX but when I try to import that into SWP I get
 the error:

 "Error while reading paragraph 13.
 Document has been truncated."

 followed by

 "A serious program error has occurred.
 ...{various dump and support information}"

 and SWP crashes.

 Is there any advice on how I can export LyX to SWP as I love LyX and
 really, really don't want to have to buy/learn SWP.

 Thanks,
 Ken



Can you View -> DVI the document successfully in LyX? If you run LaTeX against the exported .tex file, do you get a valid DVI?

The only other thing I can think of is maybe an encoding issue. I'm pretty sure the exported .tex file will be UTF-8. I don't know what SWP can/cannot ingest. Does paragraph 13 contain an funky characters? You might try running iconv against the .tex file. Maybe conversion to ASCII would fix the problem?

There's a support page about importing external .tex files at http://www.mackichan.com/index.html?techtalk/660.htm~mainFrame. Doesn't say anything about encoding (or crashes), though.

FYI, a few years back I worked with a co-author using SWP. The SWP -> LyX direction was a pain because SWP uses its own LaTeX macros, but we had no problem the other direction. I just exported a plain LaTeX file and my co-author imported it effortlessly. This was an earlier version of LyX (and likely SWP), though.

/Paul

Reply via email to