Re: lyx to OO conversion tool?

2005-09-24 Thread Luis Rivera

 
 From: Andre Berger [EMAIL PROTECTED]
  For an easy conversion, put these into your LyX preferences file:
 
  \converter latex sxw oolatex $$i latex
  \format sxw sxw OpenOffice 
  \viewer sxw open
 
 The viewer may need to be something other than open, depending on
 your environment.
 
   mike


\converter and \format seem to work like a charm... however, I see no point in
setting ooosxw as a \viewer.  It's like setting a viewer for `LaTeX': the
natural viewer for LyX is xdvi (or yap, or whatever).

Thanks for the suggestion.

Luis.



Re: Re: lyx to OO conversion tool?

2005-09-24 Thread Andre Berger
* Luis Rivera [EMAIL PROTECTED], 2005-09-24 17:40 +0200:
 
  
  From: Andre Berger [EMAIL PROTECTED]
   For an easy conversion, put these into your LyX preferences file:
  
   \converter latex sxw oolatex $$i latex
   \format sxw sxw OpenOffice 
   \viewer sxw open
  
  The viewer may need to be something other than open, depending on
  your environment.
  
  mike
 
 
 \converter and \format seem to work like a charm... however, I see no point in
 setting ooosxw as a \viewer.  It's like setting a viewer for `LaTeX': the
 natural viewer for LyX is xdvi (or yap, or whatever).

You save a few clicks if you want to see what your exported .swx
looks like.

-Andre


Re: lyx to OO conversion tool?

2005-09-24 Thread Luis Rivera

 
 From: Andre Berger [EMAIL PROTECTED]
  For an easy conversion, put these into your LyX preferences file:
 
  \converter latex sxw oolatex $$i latex
  \format sxw sxw OpenOffice 
  \viewer sxw open
 
 The viewer may need to be something other than open, depending on
 your environment.
 
   mike


\converter and \format seem to work like a charm... however, I see no point in
setting ooosxw as a \viewer.  It's like setting a viewer for `LaTeX': the
natural viewer for LyX is xdvi (or yap, or whatever).

Thanks for the suggestion.

Luis.



Re: Re: lyx to OO conversion tool?

2005-09-24 Thread Andre Berger
* Luis Rivera [EMAIL PROTECTED], 2005-09-24 17:40 +0200:
 
  
  From: Andre Berger [EMAIL PROTECTED]
   For an easy conversion, put these into your LyX preferences file:
  
   \converter latex sxw oolatex $$i latex
   \format sxw sxw OpenOffice 
   \viewer sxw open
  
  The viewer may need to be something other than open, depending on
  your environment.
  
  mike
 
 
 \converter and \format seem to work like a charm... however, I see no point in
 setting ooosxw as a \viewer.  It's like setting a viewer for `LaTeX': the
 natural viewer for LyX is xdvi (or yap, or whatever).

You save a few clicks if you want to see what your exported .swx
looks like.

-Andre


Re: lyx to OO conversion tool?

2005-09-24 Thread Luis Rivera

> 
> From: Andre Berger <[EMAIL PROTECTED]>
> > For an "easy" conversion, put these into your LyX preferences file:
> >
> > \converter "latex" "sxw" "oolatex $$i" "latex"
> > \format "sxw" "sxw" "OpenOffice" ""
> > \viewer "sxw" "open"
> 
> The viewer may need to be something other than "open", depending on
> your environment.
> 
>   

Re: Re: lyx to OO conversion tool?

2005-09-24 Thread Andre Berger
* Luis Rivera <[EMAIL PROTECTED]>, 2005-09-24 17:40 +0200:
> 
> > 
> > From: Andre Berger <[EMAIL PROTECTED]>
> > > For an "easy" conversion, put these into your LyX preferences file:
> > >
> > > \converter "latex" "sxw" "oolatex $$i" "latex"
> > > \format "sxw" "sxw" "OpenOffice" ""
> > > \viewer "sxw" "open"
> > 
> > The viewer may need to be something other than "open", depending on
> > your environment.
> > 
> >  
> 
> \converter and \format seem to work like a charm... however, I see no point in
> setting ooosxw as a \viewer.  It's like setting a viewer for `LaTeX': the
> natural viewer for LyX is xdvi (or yap, or whatever).

You save a few clicks if you want to see what your exported .swx
looks like.

-Andre


lyx to OO conversion tool?

2005-09-23 Thread David Nicol
Can someone please point me to a tool that will convert a LyX document
to a soffice document, no matter how rough the tool is?

I guess I'll look at
http://freshmeat.net/projects/lyx2html/

and try importing the HTML into soffice.   hmm, the
lyx2html binary, although it successfulyl converted the document that
came with it in its test suite, segfaults on a short document generated
by a recent LyX.

--
David L Nicol
this document can be opened in any word processor, including LyX


Re: lyx to OO conversion tool?

2005-09-23 Thread K. Elo


David Nicol wrote (23.9.2005 21:48):
 Can someone please point me to a tool that will convert a LyX
 document to a soffice document, no matter how rough the tool is?


You'll better do it via LaTeX (File-Export...-LaTeX) by using a 
LaTex-to-PC converter You'll be able to find at: 
http://www.tug.org/utilities/texconv/textopc.html

I myself use latex2rtf, which has proven to be good enough for my 
purposes (as a political scientist).

Kind regards
Kimmo Elo
Turku/Finland



Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In [EMAIL PROTECTED], David Nicol [EMAIL PROTECTED] typed:
 Can someone please point me to a tool that will convert a LyX document
 to a soffice document, no matter how rough the tool is?

When I asked this earli this month, the only thing that came up was
tex4ht. I tried it, but it didn't do a very good job for me.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: lyx to OO conversion tool?

2005-09-23 Thread Luis Rivera
Mike Meyer [EMAIL PROTECTED] writes:

 
 In [EMAIL PROTECTED], David Nicol
 [EMAIL PROTECTED] typed:
  Can someone please point me to a tool that will convert a LyX document
  to a soffice document, no matter how rough the tool is?
 
 When I asked this earli this month, the only thing that came up was
 tex4ht. I tried it, but it didn't do a very good job for me.
 
   mike

Hello,

I tried it, and it worked for me... sort of.

There is an explicit batch file called `oolatex' in the tex4ht distribution. It
is basically a shortcut for `htlatex filename xhtml,ooffice  -coo'.  It
does a pretty good job on most documents, though you may have to fiddle a little
with the tex4ht.env file, since there are two variations of the `oo' section of
the script.  Some work in some systems, some do work in others.  There are
instructions in the tex4ht.env file itself.

So, first, export your LyX file into LaTeX.  Then install a recent tex4ht
system, and run `oolatex yourfile'.

CAVEAT: some stuff in the LaTeX preamble makes oolatex stumble.  You may have to
edit the LaTeX file a little to ensure oolatex will digest it.  Moreover, I
found the oolatex script faulty in processing the {array} environment.  I think
this is a serious bug, and I'm finding out if it has been fixed.  But if you
don't use this environment a lot, or simply ignore the error messages (typing `r
'every time TeX complains about it), it may be safe to say that the script
should work.

Good luck and happy LyX/OOOfing!

Luis.



Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In [EMAIL PROTECTED], Luis Rivera [EMAIL PROTECTED] typed:
 Mike Meyer [EMAIL PROTECTED] writes:
 
  
  In [EMAIL PROTECTED], David Nicol
  [EMAIL PROTECTED] typed:
   Can someone please point me to a tool that will convert a LyX document
   to a soffice document, no matter how rough the tool is?
  
  When I asked this earli this month, the only thing that came up was
  tex4ht. I tried it, but it didn't do a very good job for me.
 I tried it, and it worked for me... sort of.

That's about the most that you can say for what it did for me as well.

 So, first, export your LyX file into LaTeX.  Then install a recent tex4ht
 system, and run `oolatex yourfile'.

I tried that. It turned all my paragraphs and subparagraphs into
empty environments. Not very useful. I haven't had time to chase it
since then.

One thing you might consider that got sent to me:

From: Andre Berger [EMAIL PROTECTED]
 For an easy conversion, put these into your LyX preferences file:

 \converter latex sxw oolatex $$i latex
 \format sxw sxw OpenOffice 
 \viewer sxw open

The viewer may need to be something other than open, depending on
your environment.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


lyx to OO conversion tool?

2005-09-23 Thread David Nicol
Can someone please point me to a tool that will convert a LyX document
to a soffice document, no matter how rough the tool is?

I guess I'll look at
http://freshmeat.net/projects/lyx2html/

and try importing the HTML into soffice.   hmm, the
lyx2html binary, although it successfulyl converted the document that
came with it in its test suite, segfaults on a short document generated
by a recent LyX.

--
David L Nicol
this document can be opened in any word processor, including LyX


Re: lyx to OO conversion tool?

2005-09-23 Thread K. Elo


David Nicol wrote (23.9.2005 21:48):
 Can someone please point me to a tool that will convert a LyX
 document to a soffice document, no matter how rough the tool is?


You'll better do it via LaTeX (File-Export...-LaTeX) by using a 
LaTex-to-PC converter You'll be able to find at: 
http://www.tug.org/utilities/texconv/textopc.html

I myself use latex2rtf, which has proven to be good enough for my 
purposes (as a political scientist).

Kind regards
Kimmo Elo
Turku/Finland



Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In [EMAIL PROTECTED], David Nicol [EMAIL PROTECTED] typed:
 Can someone please point me to a tool that will convert a LyX document
 to a soffice document, no matter how rough the tool is?

When I asked this earli this month, the only thing that came up was
tex4ht. I tried it, but it didn't do a very good job for me.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: lyx to OO conversion tool?

2005-09-23 Thread Luis Rivera
Mike Meyer [EMAIL PROTECTED] writes:

 
 In [EMAIL PROTECTED], David Nicol
 [EMAIL PROTECTED] typed:
  Can someone please point me to a tool that will convert a LyX document
  to a soffice document, no matter how rough the tool is?
 
 When I asked this earli this month, the only thing that came up was
 tex4ht. I tried it, but it didn't do a very good job for me.
 
   mike

Hello,

I tried it, and it worked for me... sort of.

There is an explicit batch file called `oolatex' in the tex4ht distribution. It
is basically a shortcut for `htlatex filename xhtml,ooffice  -coo'.  It
does a pretty good job on most documents, though you may have to fiddle a little
with the tex4ht.env file, since there are two variations of the `oo' section of
the script.  Some work in some systems, some do work in others.  There are
instructions in the tex4ht.env file itself.

So, first, export your LyX file into LaTeX.  Then install a recent tex4ht
system, and run `oolatex yourfile'.

CAVEAT: some stuff in the LaTeX preamble makes oolatex stumble.  You may have to
edit the LaTeX file a little to ensure oolatex will digest it.  Moreover, I
found the oolatex script faulty in processing the {array} environment.  I think
this is a serious bug, and I'm finding out if it has been fixed.  But if you
don't use this environment a lot, or simply ignore the error messages (typing `r
'every time TeX complains about it), it may be safe to say that the script
should work.

Good luck and happy LyX/OOOfing!

Luis.



Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In [EMAIL PROTECTED], Luis Rivera [EMAIL PROTECTED] typed:
 Mike Meyer [EMAIL PROTECTED] writes:
 
  
  In [EMAIL PROTECTED], David Nicol
  [EMAIL PROTECTED] typed:
   Can someone please point me to a tool that will convert a LyX document
   to a soffice document, no matter how rough the tool is?
  
  When I asked this earli this month, the only thing that came up was
  tex4ht. I tried it, but it didn't do a very good job for me.
 I tried it, and it worked for me... sort of.

That's about the most that you can say for what it did for me as well.

 So, first, export your LyX file into LaTeX.  Then install a recent tex4ht
 system, and run `oolatex yourfile'.

I tried that. It turned all my paragraphs and subparagraphs into
empty environments. Not very useful. I haven't had time to chase it
since then.

One thing you might consider that got sent to me:

From: Andre Berger [EMAIL PROTECTED]
 For an easy conversion, put these into your LyX preferences file:

 \converter latex sxw oolatex $$i latex
 \format sxw sxw OpenOffice 
 \viewer sxw open

The viewer may need to be something other than open, depending on
your environment.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


lyx to OO conversion tool?

2005-09-23 Thread David Nicol
Can someone please point me to a tool that will convert a LyX document
to a soffice document, no matter how rough the tool is?

I guess I'll look at
http://freshmeat.net/projects/lyx2html/

and try importing the HTML into soffice.   hmm, the
lyx2html binary, although it successfulyl converted the document that
came with it in its test suite, segfaults on a short document generated
by a recent LyX.

--
David L Nicol
this document can be opened in any word processor, including LyX


Re: lyx to OO conversion tool?

2005-09-23 Thread K. Elo


David Nicol wrote (23.9.2005 21:48):
> Can someone please point me to a tool that will convert a LyX
> document to a soffice document, no matter how rough the tool is?
>

You'll better do it via LaTeX (File->Export...->LaTeX) by using a 
LaTex-to-PC converter You'll be able to find at: 
http://www.tug.org/utilities/texconv/textopc.html

I myself use latex2rtf, which has proven to be good enough for my 
purposes (as a political scientist).

Kind regards
Kimmo Elo
Turku/Finland



Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In <[EMAIL PROTECTED]>, David Nicol <[EMAIL PROTECTED]> typed:
> Can someone please point me to a tool that will convert a LyX document
> to a soffice document, no matter how rough the tool is?

When I asked this earli this month, the only thing that came up was
tex4ht. I tried it, but it didn't do a very good job for me.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: lyx to OO conversion tool?

2005-09-23 Thread Luis Rivera
Mike Meyer <[EMAIL PROTECTED]> writes:

> 
> In <[EMAIL PROTECTED]>, David Nicol
> <[EMAIL PROTECTED]> typed:
> > Can someone please point me to a tool that will convert a LyX document
> > to a soffice document, no matter how rough the tool is?
> 
> When I asked this earli this month, the only thing that came up was
> tex4ht. I tried it, but it didn't do a very good job for me.
> 
>   filename< "xhtml,ooffice" " -coo"'.  It
does a pretty good job on most documents, though you may have to fiddle a little
with the tex4ht.env file, since there are two variations of the `oo' section of
the script.  Some work in some systems, some do work in others.  There are
instructions in the tex4ht.env file itself.

So, first, export your LyX file into LaTeX.  Then install a recent tex4ht
system, and run `oolatex >yourfile<'.

CAVEAT: some stuff in the LaTeX preamble makes oolatex stumble.  You may have to
edit the LaTeX file a little to ensure oolatex will digest it.  Moreover, I
found the oolatex script faulty in processing the {array} environment.  I think
this is a serious bug, and I'm finding out if it has been fixed.  But if you
don't use this environment a lot, or simply ignore the error messages (typing `r
'every time TeX complains about it), it may be safe to say that the script
should work.

Good luck and happy LyX/OOOfing!

Luis.



Re: lyx to OO conversion tool?

2005-09-23 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Luis Rivera <[EMAIL PROTECTED]> typed:
> Mike Meyer <[EMAIL PROTECTED]> writes:
> 
> > 
> > In <[EMAIL PROTECTED]>, David Nicol
> > <[EMAIL PROTECTED]> typed:
> > > Can someone please point me to a tool that will convert a LyX document
> > > to a soffice document, no matter how rough the tool is?
> > 
> > When I asked this earli this month, the only thing that came up was
> > tex4ht. I tried it, but it didn't do a very good job for me.
> I tried it, and it worked for me... sort of.

That's about the most that you can say for what it did for me as well.

> So, first, export your LyX file into LaTeX.  Then install a recent tex4ht
> system, and run `oolatex >yourfile<'.

I tried that. It turned all my paragraphs and subparagraphs into
empty environments. Not very useful. I haven't had time to chase it
since then.

One thing you might consider that got sent to me:

From: Andre Berger <[EMAIL PROTECTED]>
> For an "easy" conversion, put these into your LyX preferences file:
>
> \converter "latex" "sxw" "oolatex $$i" "latex"
> \format "sxw" "sxw" "OpenOffice" ""
> \viewer "sxw" "open"

The viewer may need to be something other than "open", depending on
your environment.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.