Hi, I would like to convert my lyx file to some m$ office editable format.

You have suggested tex4ht, what I haven't used before. I have used tex2rtf
already.

Right now I cannot use any of the two.

Can someone help? I don't care how, but I would like to have some format
that my prof can open and edit in Word, and he should see at least some
structure and layout. I no longer care about the quality, it is quite
enough if he sees the numbering of sections, the lists, different depths,
etc.

Here are the things I did after exporting to latex from lyx:

$ htlatex thesis-komascript_article.tex
...
(./thesis-komascript_article.aux) )
Output written on thesis-komascript_article.dvi (105 pages, 565732 bytes).
Transcript written on thesis-komascript_article.log.
----------------------------
tex4ht.c (2005-09-10-10:32 kpathsea)
tex4ht -f/thesis-komascript_article.tex
  -i/usr/share/texmf/tex4ht/ht-fonts/
--- warning --- Can't find/open file `tex4ht.env | .tex4ht'
--- error --- Illegal storage address
----------------------------
t4ht.c (2005-08-04-07:03 kpathsea)
t4ht -f/thesis-komascript_article.tex
  -cvalidatehtml
--- warning --- Can't find/open file `tex4ht.env | .tex4ht'
--- warning --- Can't find/open file `thesis-komascript_article.lg'

OK, I don't have tex4ht.env, or .tex4ht, but as I understand from the
logs, it should use some default from the package.

What is "Illegal storage address?"

At the end I have some files generated:
-rw-r--r--   1 gee gee    0 2006-03-17 00:10 htlatex.out
-rw-r--r--   1 gee gee   41 2006-03-17 00:10 thesis-komascript_article.tmp
-rw-r--r--   1 gee gee  22K 2006-03-17 00:10 thesis-komascript_article.4ct
-rw-r--r--   1 gee gee  13K 2006-03-17 00:10 thesis-komascript_article.xref
-rw-r--r--   1 gee gee  23K 2006-03-17 00:10 thesis-komascript_article.log
-rw-r--r--   1 gee gee 553K 2006-03-17 00:10 thesis-komascript_article.dvi
-rw-r--r--   1 gee gee 1.9K 2006-03-17 00:10 thesis-komascript_article.aux
-rw-r--r--   1 gee gee  22K 2006-03-17 00:10 thesis-komascript_article.4tc
-rw-r--r--   1 gee gee    0 2006-03-17 00:10 thesis-komascript_article.idv

But there is no .html file.


The latex2rtf is more mistical, as I have an rtf that was generated about
a month ago with a similar process, from the same document (different
version, of course).

Here is what I do:
[EMAIL PROTECTED]:~/MyDocuments/tex2rtf1$ latex2rtf 
thesis-komascript_article.tex

Document format <scrartcl> unknown, using article format
thesis-komascript_article.tex:3 Unknown style option magyar ignored
thesis-komascript_article.tex:9 Unknown style option varioref ignored
thesis-komascript_article.tex:10 Unknown style option float ignored
thesis-komascript_article.tex:11 Unknown style option graphicx ignored
thesis-komascript_article.tex:12 Unknown style option setspace ignored
thesis-komascript_article.tex:14 Command \onehalfspacing not found - ignored
thesis-komascript_article.tex:14 Command \IfFileExists not found - 
ignored\qj\fi360 {url.sty}{
thesis-komascript_article.tex:14 Unknown style option url ignored} {}\par

thesis-komascript_article.tex:25 Command \floatstyle not found - 
ignored\qj\fi360 {ruled}
thesis-komascript_article.tex:26 Command \newfloat not found - 
ignored{algorithm}{tbp}{loa}
thesis-komascript_article.tex:27 Command \floatname not found - 
ignored{algorithm}{Algorithm}\par

thesis-komascript_article.tex:40 Unknown style option verbatim ignored
thesis-komascript_article.tex:43 Unknown style option indentfirst ignored
thesis-komascript_article.tex:47 Command \AtBeginDocument not found - 
ignored\qj\fi360 {
thesis-komascript_article.tex:48 No existing definition for \labelitemii }\par

thesis-komascript_article.tex:357 Command \item not found - ignored
thesis-komascript_article.tex:477 Command \vref not found - ignored
thesis-komascript_article.tex:531 Command \item not found - ignored
thesis-komascript_article.tex:538 Command \item not found - ignored
thesis-komascript_article.tex:817 Environment <labeling> ignored.  Not defined 
in commands.c
thesis-komascript_article.tex:820 Environment <labeling> ignored.  Not defined 
in commands.c
thesis-komascript_article.tex:1079 Command \vref not found - ignored
thesis-komascript_article.tex:1182 Command \vref not found - ignored
thesis-komascript_article.tex:1603 Command \item not found - ignored
thesis-komascript_article.tex:1633 Command \item not found - ignored
thesis-komascript_article.tex:1696 Command \vref not found - ignored
thesis-komascript_article.tex:1711 Command \vpageref not found - ignored
thesis-komascript_article.tex:2153 Command \item not found - ignored
thesis-komascript_article.tex:2155 Command \item not found - ignored
thesis-komascript_article.tex:2157 Command \item not found - ignored
thesis-komascript_article.tex:2417 image scale = 1
thesis-komascript_article.tex:2417 Conversion of 'TaggedData.eps not found!' 
not supported
thesis-komascript_article.tex:2557 Environment <algorithm> ignored.  Not 
defined in commands.c
thesis-komascript_article.tex:2862 Error! Misplaced '' (Not found within 5000 
chars)

At the end I do have an rtf, only OpenOffice wont open it. :-(

I have tried the same with -i magyar, and it produces the same output,
only Misplaced '8' is printed.

Any help would be appreciated.

Cheers,
Gabor

Reply via email to