Jean-Marc:

I deposited an example to

http://www.semverteilung.vwl.uni-muenchen.de/temp/short.zip

It contains

1. short.doc: Shortened version of a winword file I obtained from the publisher

2. short.tex: short.doc exported by OpenOfficeWriter 2.2 to Latex. As you can see it is rather clean. It woulkd be good however, to have a way for replacing things that LyX don't understand, like {\selectlanguage{english} or {\textasciigrave} from *within* lyx, rather than in an external editor.

3. short.pdf: PDF file generated from the (totally unmodified) short.tex

As you will see, LyX 1.5 can't open it. Lyx 1.4.4 can, but does not produce Latex output. (View does not work here, on the same Latex system where short.tex compiled without any problem! Strange.)

Maybe this is a useful real world test case that may be used to tune tex2lyx.

Needless to say, I can produce a tex file readable by lyx from short.tex by replacing the preamble and doing various substitutions by hand. (I actually did so.) But it would be even better if Lyx could deal with such stuff automatically.


Cheers and thanks

Ekkehart

Ekkehart

shortened version of the WinWird file


Jean-Marc Lasgouttes wrote:
"Ekkehart" == Ekkehart Schlicht <[EMAIL PROTECTED]> writes:

Ekkehart> I just imported a manuscript from a Latex file that has been
Ekkehart> produced from a Document file (.doc) by exporting from
Ekkehart> OpenOffice Writer 2.2. The tex file compiles well with Latex
Ekkehart> and the outpurt is the best from all doc2tex coverters I
Ekkehart> have tried.

Ekkehart> Lyx 1.4.4-4 imports, but the imported file cannot be viewed
Ekkehart> as PDF. Lots of complains: inmputenc error: keyboard
Ekkehart> character is undefined. I guess this can be mended. In most
Ekkehart> cases the complaint is just about some superfluous curly
Ekkehart> brackets.

Ekkehart> Lyx 1.50rc1 does not import at all.

Ekkehart> If somebody is interested, I can produce a minimal example
Ekkehart> next week.

Hello,

It would be interesting indeed to see a minimal file.

JMarc

Reply via email to