Re: Converting lyx to odt

2013-05-14 Thread Scott Kostyshak
On Thu, May 2, 2013 at 9:18 AM, Richard Heck rgh...@lyx.org wrote:
 On 05/01/2013 11:28 PM, Scott Kostyshak wrote:

 On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:

 A while back I spent a lot of time evaluating the various  ways to
 convert LyX to .odt or .docx and found that none of them work well.

 You seemed more impressed a few months ago :)
 Mostly successful experiment: LyX - LaTeX - Word using pandoc
 http://comments.gmane.org/gmane.editors.lyx.general/76375

 But I imagine that sometimes mostly successful is still a failure if
 a few key features are missing.

 Note that Pandoc support in LyX seems like it's just waiting for
 someone to make a patch:
 http://www.lyx.org/trac/ticket/6042


 The main question is simply what format conversions we want to support out
 of the box. Writing the configure.py stuff is otherwise trivial.

How do we decide this?

Scott


Re: Converting lyx to odt

2013-05-14 Thread Scott Kostyshak
On Thu, May 2, 2013 at 9:18 AM, Richard Heck rgh...@lyx.org wrote:
 On 05/01/2013 11:28 PM, Scott Kostyshak wrote:

 On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:

 A while back I spent a lot of time evaluating the various  ways to
 convert LyX to .odt or .docx and found that none of them work well.

 You seemed more impressed a few months ago :)
 Mostly successful experiment: LyX - LaTeX - Word using pandoc
 http://comments.gmane.org/gmane.editors.lyx.general/76375

 But I imagine that sometimes mostly successful is still a failure if
 a few key features are missing.

 Note that Pandoc support in LyX seems like it's just waiting for
 someone to make a patch:
 http://www.lyx.org/trac/ticket/6042


 The main question is simply what format conversions we want to support out
 of the box. Writing the configure.py stuff is otherwise trivial.

How do we decide this?

Scott


Re: Converting lyx to odt

2013-05-14 Thread Scott Kostyshak
On Thu, May 2, 2013 at 9:18 AM, Richard Heck  wrote:
> On 05/01/2013 11:28 PM, Scott Kostyshak wrote:
>>
>> On Wed, May 1, 2013 at 10:59 PM, Jerry  wrote:
>>
>>> A while back I spent a lot of time evaluating the various  ways to
>>> convert LyX to .odt or .docx and found that none of them work well.
>>
>> You seemed more impressed a few months ago :)
>> "Mostly successful experiment: LyX -> LaTeX -> Word using pandoc"
>> http://comments.gmane.org/gmane.editors.lyx.general/76375
>>
>> But I imagine that sometimes "mostly" successful is still a failure if
>> a few key features are missing.
>>
>> Note that Pandoc support in LyX seems like it's just waiting for
>> someone to make a patch:
>> http://www.lyx.org/trac/ticket/6042
>
>
> The main question is simply what format conversions we want to support out
> of the box. Writing the configure.py stuff is otherwise trivial.

How do we decide this?

Scott


Re: Converting lyx to odt

2013-05-04 Thread Sam Lewis
Sotiris Hasapis shasapis at gmail.com writes:

 I ' m trying to convert lyx to odt file using the methods described 
 here: http://wiki.lyx.org/Tools/LyX2OpenOffice
 but nothing seems to work. 

Does any have some success converting lyx documents that use biblatex. There
seem to be considerable more problems with this type. 

Cheers! Sam




Re: Converting lyx to odt

2013-05-04 Thread Sam Lewis
Sotiris Hasapis shasapis at gmail.com writes:

 I ' m trying to convert lyx to odt file using the methods described 
 here: http://wiki.lyx.org/Tools/LyX2OpenOffice
 but nothing seems to work. 

Does any have some success converting lyx documents that use biblatex. There
seem to be considerable more problems with this type. 

Cheers! Sam




Re: Converting lyx to odt

2013-05-04 Thread Sam Lewis
Sotiris Hasapis  gmail.com> writes:

> I ' m trying to convert lyx to odt file using the methods described 
> here: http://wiki.lyx.org/Tools/LyX2OpenOffice
> but nothing seems to work. 

Does any have some success converting lyx documents that use biblatex. There
seem to be considerable more problems with this type. 

Cheers! Sam




Re: Converting lyx to odt

2013-05-03 Thread Jerry

On May 1, 2013, at 8:28 PM, Scott Kostyshak wrote:

 On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:
 
 A while back I spent a lot of time evaluating the various  ways to convert 
 LyX to .odt or .docx and found that none of them work well.
 
 You seemed more impressed a few months ago :)
 Mostly successful experiment: LyX - LaTeX - Word using pandoc
 http://comments.gmane.org/gmane.editors.lyx.general/76375
 
 But I imagine that sometimes mostly successful is still a failure if
 a few key features are missing.
 
 Note that Pandoc support in LyX seems like it's just waiting for
 someone to make a patch:
 http://www.lyx.org/trac/ticket/6042

Good catch, Scott. But with a little more investigation later, my perception of 
this route went down substantially. I commented in a thread, Re: Word won't 
open simplest LyXHTML file, which mysteriously does not appear in the archive 
at the above site. So here is partial replay from 2013-01-22:

LyX - LaTeX (plain) - docx using pandoc:

Word (Mac 2011) complains This file is corrupt and cannot be opened. It then 
offers to repair the file. Results are: inline equation translated and editable 
but with two minor errors (it did not recognize lim as a function and set it in 
italics)--this shows that equation translation _can_ work; standalone equation 
not translated, TeX code is displayed between two $ signs, and equation number 
is lost; image caption is lost, but the spurious word image is displayed 
nearby; labels (section, equation) are set as ordinary text within their 
respective domains; cross-references are displayed as ordinary text but with 
nonexistent links; comments are displayed as normal text but in a separate 
paragraph, thus splitting the paragraph in which it is contained into two 
paragraphs; and indexed terms are lost.


LyX - LaTeX (plain) - odt using pandoc:
Opened with LibreOffice. The file is reported as corrupt and the program offers 
to repair it. Results--similar to above for Word except: inline equation is 
very poorly typeset and is not editable using the built-in equation editor; 
instead of the picture that was supposed to be a figure, a box is displayed 
which reads Read error; the word image is not displayed; clicking on the 
footnote cross reference moves the cursor to the crossreference;

Jerry
 
 Scott



Re: Converting lyx to odt

2013-05-03 Thread Jerry

On May 1, 2013, at 8:28 PM, Scott Kostyshak wrote:

 On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:
 
 A while back I spent a lot of time evaluating the various  ways to convert 
 LyX to .odt or .docx and found that none of them work well.
 
 You seemed more impressed a few months ago :)
 Mostly successful experiment: LyX - LaTeX - Word using pandoc
 http://comments.gmane.org/gmane.editors.lyx.general/76375
 
 But I imagine that sometimes mostly successful is still a failure if
 a few key features are missing.
 
 Note that Pandoc support in LyX seems like it's just waiting for
 someone to make a patch:
 http://www.lyx.org/trac/ticket/6042

Good catch, Scott. But with a little more investigation later, my perception of 
this route went down substantially. I commented in a thread, Re: Word won't 
open simplest LyXHTML file, which mysteriously does not appear in the archive 
at the above site. So here is partial replay from 2013-01-22:

LyX - LaTeX (plain) - docx using pandoc:

Word (Mac 2011) complains This file is corrupt and cannot be opened. It then 
offers to repair the file. Results are: inline equation translated and editable 
but with two minor errors (it did not recognize lim as a function and set it in 
italics)--this shows that equation translation _can_ work; standalone equation 
not translated, TeX code is displayed between two $ signs, and equation number 
is lost; image caption is lost, but the spurious word image is displayed 
nearby; labels (section, equation) are set as ordinary text within their 
respective domains; cross-references are displayed as ordinary text but with 
nonexistent links; comments are displayed as normal text but in a separate 
paragraph, thus splitting the paragraph in which it is contained into two 
paragraphs; and indexed terms are lost.


LyX - LaTeX (plain) - odt using pandoc:
Opened with LibreOffice. The file is reported as corrupt and the program offers 
to repair it. Results--similar to above for Word except: inline equation is 
very poorly typeset and is not editable using the built-in equation editor; 
instead of the picture that was supposed to be a figure, a box is displayed 
which reads Read error; the word image is not displayed; clicking on the 
footnote cross reference moves the cursor to the crossreference;

Jerry
 
 Scott



Re: Converting lyx to odt

2013-05-03 Thread Jerry

On May 1, 2013, at 8:28 PM, Scott Kostyshak wrote:

> On Wed, May 1, 2013 at 10:59 PM, Jerry  wrote:
> 
>> A while back I spent a lot of time evaluating the various  ways to convert 
>> LyX to .odt or .docx and found that none of them work well.
> 
> You seemed more impressed a few months ago :)
> "Mostly successful experiment: LyX -> LaTeX -> Word using pandoc"
> http://comments.gmane.org/gmane.editors.lyx.general/76375
> 
> But I imagine that sometimes "mostly" successful is still a failure if
> a few key features are missing.
> 
> Note that Pandoc support in LyX seems like it's just waiting for
> someone to make a patch:
> http://www.lyx.org/trac/ticket/6042

Good catch, Scott. But with a little more investigation later, my perception of 
this route went down substantially. I commented in a thread, "Re: Word won't 
open simplest LyXHTML file," which mysteriously does not appear in the archive 
at the above site. So here is partial replay from 2013-01-22:

"LyX -> LaTeX (plain) -> docx using pandoc:

Word (Mac 2011) complains "This file is corrupt and cannot be opened." It then 
offers to repair the file. Results are: inline equation translated and editable 
but with two minor errors (it did not recognize lim as a function and set it in 
italics)--this shows that equation translation _can_ work; standalone equation 
not translated, TeX code is displayed between two $ signs, and equation number 
is lost; image caption is lost, but the spurious word "image" is displayed 
nearby; labels (section, equation) are set as ordinary text within their 
respective domains; cross-references are displayed as ordinary text but with 
nonexistent links; comments are displayed as normal text but in a separate 
paragraph, thus splitting the paragraph in which it is contained into two 
paragraphs; and indexed terms are lost.


LyX -> LaTeX (plain) -> odt using pandoc:
Opened with LibreOffice. The file is reported as corrupt and the program offers 
to repair it. Results--similar to above for Word except: inline equation is 
very poorly typeset and is not editable using the built-in equation editor; 
instead of the picture that was supposed to be a figure, a box is displayed 
which reads "Read error"; the word "image" is not displayed; clicking on the 
footnote cross reference moves the cursor to the crossreference;"

Jerry
> 
> Scott



Re: Converting lyx to odt

2013-05-02 Thread Murat Yildizoglu
I have really had rather nice results using the commercial (but with quite
a cheap educational price) tex2word filter for Word, including equations,
but excluding figures (you need to reinsert them). Unfortunately, I have
not tried it with a recent version of Word, so I cannot say if it continues
to work. I think that it is possible to download a trial version, so you
can test it.

Le jeudi 2 mai 2013, Jerry a écrit :


 On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:

  I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages)
 to LibreOffice (File/Export/HTML).  Much of it worked, but there were many
 problems:
• Equation numbers moved from right to left
• Figures were totally distorted (size scaled up),
• Some equations and algorithms were mangled
• Several sections appeared centered instead of being left
 justified as they were originally.
  Using File/Export/LYXHTML produced similar results, although the
 equation numbers were not mangled.
  In short, such conversions do a lot, but they also leave a lot for
 manual fixing.  I suspect that if such a path were available, many more
 people would use Lyx.

 I agree, as do many others.

 A while back I spent a lot of time evaluating the various  ways to convert
 LyX to .odt or .docx and found that none of them work well. (Apologies to
 those who are reading this who have actually worked on the problem and made
 substantial progress.) Some work with certain restricted sets of features
 but add an equation or something else and they break.

 One would hope with all the talk on the developers' list recently with the
 Google Summer of Code that this would be at the top of the list of things
 to do.

 Jerry

  --
  Ehud Kaplan, Ph.D.
  Jules  Doris Stein Research to Prevent Blindness Professor
  Director, The laboratory of Visual  Computational Neuroscience
  Director, Center for Excellence in Computational  Systems Neuroscience
  The Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural  Chemical
 Biology,
  The Ichan School of Medicine at Mount Sinai
  One Gustave Levy Place,
  NY, NY, 10029
 
 
 
 
 
  On 04/29/2013 08:52 AM, Ray Rashif wrote:
  On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.comjavascript:;
 
   wrote:
 
  I ' m trying to convert lyx to odt file using the methods described
 here:
 
  http://wiki.lyx.org/Tools/LyX2OpenOffice
 
  but nothing seems to work. In fact when taking the convert option :
  Latex(plain) to openoffice nothing happens and responds : Error while
  exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
  was not closed properly.
  Any help please?
 
  I'm using windows xp, lyx 2.0.
  Thank you.
  Sotiris.
 
  From experience this has never proven useful. Interoperability is an
  issue here with LyX and other word processors. Even if one conversion
  succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
  do some clean-up here and there.
 
  A fine compromise I have found is to use elyxer¹ as an intermediary
  tool. Its HTML output is beautiful, and it works with complex
  parent-child lyx documents including figures. You could also take a
  look at pandoc (via LaTeX).²
 
  ¹
  http://elyxer.nongnu.org/
 
  ²
  http://johnmacfarlane.net/pandoc/
 
 
 
  --
  GPG/PGP ID: C0711BF1
 
 



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Converting lyx to odt

2013-05-02 Thread Anthony Campbell
On 02 May 2013, Murat Yildizoglu wrote:
I have really had rather nice results using the commercial (but with quite
a cheap educational price) tex2word filter for Word, including equations,
but excluding figures (you need to reinsert them). Unfortunately, I have
not tried it with a recent version of Word, so I cannot say if it
continues to work. I think that it is possible to download a trial
version, so you can test it. 
 

For that to work you have to have Word running, which largely eliminates
its usefulness for those of us who don't/can't run that.

AC

-- 
Anthony Campbell - a...@acampbell.org.uk 
http://www.acupuncturecourse.org.uk 
http://www.smashwords.com/profile.view/acampbell
https://itunes.apple.com/ca/artist/anthony-campbell/id73235412







Re: Converting lyx to odt

2013-05-02 Thread Murat Yildizoglu
This is true. I was assuming that you had Word on the computer, which is my
case, because my University uses this format for administrative documents,
and some of them do not like to travel through the docx-odt-docx conversion
channel...


2013/5/2 Anthony Campbell a...@acampbell.org.uk

 On 02 May 2013, Murat Yildizoglu wrote:
 I have really had rather nice results using the commercial (but with
 quite
 a cheap educational price) tex2word filter for Word, including
 equations,
 but excluding figures (you need to reinsert them). Unfortunately, I
 have
 not tried it with a recent version of Word, so I cannot say if it
 continues to work. I think that it is possible to download a trial
 version, so you can test it.
 

 For that to work you have to have Word running, which largely eliminates
 its usefulness for those of us who don't/can't run that.

 AC

 --
 Anthony Campbell - a...@acampbell.org.uk
 http://www.acupuncturecourse.org.uk
 http://www.smashwords.com/profile.view/acampbell
 https://itunes.apple.com/ca/artist/anthony-campbell/id73235412








-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Converting lyx to odt

2013-05-02 Thread Richard Heck

On 05/01/2013 11:28 PM, Scott Kostyshak wrote:

On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:


A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well.

You seemed more impressed a few months ago :)
Mostly successful experiment: LyX - LaTeX - Word using pandoc
http://comments.gmane.org/gmane.editors.lyx.general/76375

But I imagine that sometimes mostly successful is still a failure if
a few key features are missing.

Note that Pandoc support in LyX seems like it's just waiting for
someone to make a patch:
http://www.lyx.org/trac/ticket/6042


The main question is simply what format conversions we want to support 
out of the box. Writing the configure.py stuff is otherwise trivial.


Richard



Scott




Re: Converting lyx to odt

2013-05-02 Thread EK

  
  
I was not going into WORD but into LibreOffice Writer.
I realize the difficulties in such conversions, but I do have
colleague who will not use anything but MS-WORD, and I do
collaborate with them on some manuscripts. 
It is much less of a problem for a short paper.
EK

On 05/01/2013 11:32 PM, David L.
  Johnson wrote:

On
  05/01/2013 10:59 PM, Jerry wrote:
  
  On May 1, 2013, at 5:21 AM, ehud.kaplan
wrote:


I had tried to convert from a Lyx
  document (a Ph.D. thesis, ~140 pages) to LibreOffice
  (File/Export/HTML).  Much of it worked, but there were many
  problems:
  
  • Equation numbers moved from right to left
  
  • Figures were totally distorted (size scaled up),
  
  • Some equations and algorithms were mangled
  
  • Several sections appeared centered instead of being left
  justified as they were originally.
  
  Using File/Export/LYXHTML produced similar results, although
  the equation numbers were not mangled.
  
  In short, such conversions do a lot, but they also leave a lot
  for manual fixing.  I suspect that if such a path were
  available, many more people would use Lyx.
  

I agree, as do many others.


A while back I spent a lot of time evaluating the various  ways
to convert LyX to .odt or .docx and found that none of them work
well. (Apologies to those who are reading this who have actually
worked on the problem and made substantial progress.) Some work
with certain restricted sets of features but add an equation or
something else and they break.


One would hope with all the talk on the developers' list
recently with the Google Summer of Code that this would be at
the top of the list of things to do.


  
  I am somewhat confused about this.  I see the need to convert a
  TeX document, or by extension a LyX file, to (or from) Word format
  to be an occasional thing, necessitated by some journal insisting
  on Word, or a collaborator who can't work with anything else.  I
  don't see this as something worth the large amount of effort to
  make into a single button-push.  For one thing, that would
  probably be unfeasible even in the short term, and since the
  latest Word formats are a moving target it would require
  significant maintenance even if it were possible.
  
  
  I coauthored a paper that my collaborator typed, in Word.  Not
  only could I not translate that to something I could read ---
  Ooffice at the time could not read the equations he had done in
  Word, but the journal actually re-typeset the whole thing in LaTeX
  in order to print it.
  
  
  I would not expect to be able to effortlessly convert a 140-page
  thesis from Word *.docx to html.  Can Word itself really do that
  in a way that does not mangle equations?
  
  


-- 
  
  Ehud Kaplan, Ph.D.
  Jules and Doris Stein Research to Prevent Blindness
  Professor
  Director, The laboratory of Visual  Computational
  Neuroscience
  Director, Center for Excellence in Computational 
  Systems Neuroscience
  Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural 
  Chemical Biology,
  The Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Re: Converting lyx to odt

2013-05-02 Thread Nico Williams
A quick search for odt xslt finds some possibly useful tools and other things:

http://stackoverflow.com/questions/13031514/html-to-odt-xslt
http://opendocumentfellowship.com/projects/odftools
http://wiki.openoffice.org/wiki/ODF_Toolkit/Efforts/ODTransform
http://open.comsultia.com/docbook2odf/
http://swik.net/OpenOffice+XSLT
http://xhtml2odt.org/

LOTS of converters here:

http://wiki.openoffice.org/wiki/Xml#Filters_and_Conversions_based_on_OpenDocument.2FOpenOffice.org_XML

http://www.tei-c.org/Tools/Stylesheets/

Reverse direction:

http://www.openoffice.org/xml/sx2ml/
http://books.evc-cit.info/odf_utils/odt_to_xhtml.html
http://writer2latex.sourceforge.net/

Misc:

http://www.jejik.com/odf-xslt/manual/


Re: Converting lyx to odt

2013-05-02 Thread Murat Yildizoglu
I have really had rather nice results using the commercial (but with quite
a cheap educational price) tex2word filter for Word, including equations,
but excluding figures (you need to reinsert them). Unfortunately, I have
not tried it with a recent version of Word, so I cannot say if it continues
to work. I think that it is possible to download a trial version, so you
can test it.

Le jeudi 2 mai 2013, Jerry a écrit :


 On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:

  I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages)
 to LibreOffice (File/Export/HTML).  Much of it worked, but there were many
 problems:
• Equation numbers moved from right to left
• Figures were totally distorted (size scaled up),
• Some equations and algorithms were mangled
• Several sections appeared centered instead of being left
 justified as they were originally.
  Using File/Export/LYXHTML produced similar results, although the
 equation numbers were not mangled.
  In short, such conversions do a lot, but they also leave a lot for
 manual fixing.  I suspect that if such a path were available, many more
 people would use Lyx.

 I agree, as do many others.

 A while back I spent a lot of time evaluating the various  ways to convert
 LyX to .odt or .docx and found that none of them work well. (Apologies to
 those who are reading this who have actually worked on the problem and made
 substantial progress.) Some work with certain restricted sets of features
 but add an equation or something else and they break.

 One would hope with all the talk on the developers' list recently with the
 Google Summer of Code that this would be at the top of the list of things
 to do.

 Jerry

  --
  Ehud Kaplan, Ph.D.
  Jules  Doris Stein Research to Prevent Blindness Professor
  Director, The laboratory of Visual  Computational Neuroscience
  Director, Center for Excellence in Computational  Systems Neuroscience
  The Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural  Chemical
 Biology,
  The Ichan School of Medicine at Mount Sinai
  One Gustave Levy Place,
  NY, NY, 10029
 
 
 
 
 
  On 04/29/2013 08:52 AM, Ray Rashif wrote:
  On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.comjavascript:;
 
   wrote:
 
  I ' m trying to convert lyx to odt file using the methods described
 here:
 
  http://wiki.lyx.org/Tools/LyX2OpenOffice
 
  but nothing seems to work. In fact when taking the convert option :
  Latex(plain) to openoffice nothing happens and responds : Error while
  exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
  was not closed properly.
  Any help please?
 
  I'm using windows xp, lyx 2.0.
  Thank you.
  Sotiris.
 
  From experience this has never proven useful. Interoperability is an
  issue here with LyX and other word processors. Even if one conversion
  succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
  do some clean-up here and there.
 
  A fine compromise I have found is to use elyxer¹ as an intermediary
  tool. Its HTML output is beautiful, and it works with complex
  parent-child lyx documents including figures. You could also take a
  look at pandoc (via LaTeX).²
 
  ¹
  http://elyxer.nongnu.org/
 
  ²
  http://johnmacfarlane.net/pandoc/
 
 
 
  --
  GPG/PGP ID: C0711BF1
 
 



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Converting lyx to odt

2013-05-02 Thread Anthony Campbell
On 02 May 2013, Murat Yildizoglu wrote:
I have really had rather nice results using the commercial (but with quite
a cheap educational price) tex2word filter for Word, including equations,
but excluding figures (you need to reinsert them). Unfortunately, I have
not tried it with a recent version of Word, so I cannot say if it
continues to work. I think that it is possible to download a trial
version, so you can test it. 
 

For that to work you have to have Word running, which largely eliminates
its usefulness for those of us who don't/can't run that.

AC

-- 
Anthony Campbell - a...@acampbell.org.uk 
http://www.acupuncturecourse.org.uk 
http://www.smashwords.com/profile.view/acampbell
https://itunes.apple.com/ca/artist/anthony-campbell/id73235412







Re: Converting lyx to odt

2013-05-02 Thread Murat Yildizoglu
This is true. I was assuming that you had Word on the computer, which is my
case, because my University uses this format for administrative documents,
and some of them do not like to travel through the docx-odt-docx conversion
channel...


2013/5/2 Anthony Campbell a...@acampbell.org.uk

 On 02 May 2013, Murat Yildizoglu wrote:
 I have really had rather nice results using the commercial (but with
 quite
 a cheap educational price) tex2word filter for Word, including
 equations,
 but excluding figures (you need to reinsert them). Unfortunately, I
 have
 not tried it with a recent version of Word, so I cannot say if it
 continues to work. I think that it is possible to download a trial
 version, so you can test it.
 

 For that to work you have to have Word running, which largely eliminates
 its usefulness for those of us who don't/can't run that.

 AC

 --
 Anthony Campbell - a...@acampbell.org.uk
 http://www.acupuncturecourse.org.uk
 http://www.smashwords.com/profile.view/acampbell
 https://itunes.apple.com/ca/artist/anthony-campbell/id73235412








-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Converting lyx to odt

2013-05-02 Thread Richard Heck

On 05/01/2013 11:28 PM, Scott Kostyshak wrote:

On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:


A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well.

You seemed more impressed a few months ago :)
Mostly successful experiment: LyX - LaTeX - Word using pandoc
http://comments.gmane.org/gmane.editors.lyx.general/76375

But I imagine that sometimes mostly successful is still a failure if
a few key features are missing.

Note that Pandoc support in LyX seems like it's just waiting for
someone to make a patch:
http://www.lyx.org/trac/ticket/6042


The main question is simply what format conversions we want to support 
out of the box. Writing the configure.py stuff is otherwise trivial.


Richard



Scott




Re: Converting lyx to odt

2013-05-02 Thread EK

  
  
I was not going into WORD but into LibreOffice Writer.
I realize the difficulties in such conversions, but I do have
colleague who will not use anything but MS-WORD, and I do
collaborate with them on some manuscripts. 
It is much less of a problem for a short paper.
EK

On 05/01/2013 11:32 PM, David L.
  Johnson wrote:

On
  05/01/2013 10:59 PM, Jerry wrote:
  
  On May 1, 2013, at 5:21 AM, ehud.kaplan
wrote:


I had tried to convert from a Lyx
  document (a Ph.D. thesis, ~140 pages) to LibreOffice
  (File/Export/HTML).  Much of it worked, but there were many
  problems:
  
  • Equation numbers moved from right to left
  
  • Figures were totally distorted (size scaled up),
  
  • Some equations and algorithms were mangled
  
  • Several sections appeared centered instead of being left
  justified as they were originally.
  
  Using File/Export/LYXHTML produced similar results, although
  the equation numbers were not mangled.
  
  In short, such conversions do a lot, but they also leave a lot
  for manual fixing.  I suspect that if such a path were
  available, many more people would use Lyx.
  

I agree, as do many others.


A while back I spent a lot of time evaluating the various  ways
to convert LyX to .odt or .docx and found that none of them work
well. (Apologies to those who are reading this who have actually
worked on the problem and made substantial progress.) Some work
with certain restricted sets of features but add an equation or
something else and they break.


One would hope with all the talk on the developers' list
recently with the Google Summer of Code that this would be at
the top of the list of things to do.


  
  I am somewhat confused about this.  I see the need to convert a
  TeX document, or by extension a LyX file, to (or from) Word format
  to be an occasional thing, necessitated by some journal insisting
  on Word, or a collaborator who can't work with anything else.  I
  don't see this as something worth the large amount of effort to
  make into a single button-push.  For one thing, that would
  probably be unfeasible even in the short term, and since the
  latest Word formats are a moving target it would require
  significant maintenance even if it were possible.
  
  
  I coauthored a paper that my collaborator typed, in Word.  Not
  only could I not translate that to something I could read ---
  Ooffice at the time could not read the equations he had done in
  Word, but the journal actually re-typeset the whole thing in LaTeX
  in order to print it.
  
  
  I would not expect to be able to effortlessly convert a 140-page
  thesis from Word *.docx to html.  Can Word itself really do that
  in a way that does not mangle equations?
  
  


-- 
  
  Ehud Kaplan, Ph.D.
  Jules and Doris Stein Research to Prevent Blindness
  Professor
  Director, The laboratory of Visual  Computational
  Neuroscience
  Director, Center for Excellence in Computational 
  Systems Neuroscience
  Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural 
  Chemical Biology,
  The Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Re: Converting lyx to odt

2013-05-02 Thread Nico Williams
A quick search for odt xslt finds some possibly useful tools and other things:

http://stackoverflow.com/questions/13031514/html-to-odt-xslt
http://opendocumentfellowship.com/projects/odftools
http://wiki.openoffice.org/wiki/ODF_Toolkit/Efforts/ODTransform
http://open.comsultia.com/docbook2odf/
http://swik.net/OpenOffice+XSLT
http://xhtml2odt.org/

LOTS of converters here:

http://wiki.openoffice.org/wiki/Xml#Filters_and_Conversions_based_on_OpenDocument.2FOpenOffice.org_XML

http://www.tei-c.org/Tools/Stylesheets/

Reverse direction:

http://www.openoffice.org/xml/sx2ml/
http://books.evc-cit.info/odf_utils/odt_to_xhtml.html
http://writer2latex.sourceforge.net/

Misc:

http://www.jejik.com/odf-xslt/manual/


Re: Converting lyx to odt

2013-05-02 Thread Murat Yildizoglu
I have really had rather nice results using the commercial (but with quite
a cheap educational price) tex2word filter for Word, including equations,
but excluding figures (you need to reinsert them). Unfortunately, I have
not tried it with a recent version of Word, so I cannot say if it continues
to work. I think that it is possible to download a trial version, so you
can test it.

Le jeudi 2 mai 2013, Jerry a écrit :

>
> On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:
>
> > I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages)
> to LibreOffice (File/Export/HTML).  Much of it worked, but there were many
> problems:
> >   • Equation numbers moved from right to left
> >   • Figures were totally distorted (size scaled up),
> >   • Some equations and algorithms were mangled
> >   • Several sections appeared centered instead of being left
> justified as they were originally.
> > Using File/Export/LYXHTML produced similar results, although the
> equation numbers were not mangled.
> > In short, such conversions do a lot, but they also leave a lot for
> manual fixing.  I suspect that if such a path were available, many more
> people would use Lyx.
>
> I agree, as do many others.
>
> A while back I spent a lot of time evaluating the various  ways to convert
> LyX to .odt or .docx and found that none of them work well. (Apologies to
> those who are reading this who have actually worked on the problem and made
> substantial progress.) Some work with certain restricted sets of features
> but add an equation or something else and they break.
>
> One would hope with all the talk on the developers' list recently with the
> Google Summer of Code that this would be at the top of the list of things
> to do.
>
> Jerry
>
> > --
> > Ehud Kaplan, Ph.D.
> > Jules & Doris Stein Research to Prevent Blindness Professor
> > Director, The laboratory of Visual & Computational Neuroscience
> > Director, Center for Excellence in Computational & Systems Neuroscience
> > The Friedman Brain Institute
> > Departments of Neuroscience, Ophthalmology, Structural & Chemical
> Biology,
> > The Ichan School of Medicine at Mount Sinai
> > One Gustave Levy Place,
> > NY, NY, 10029
> >
> >
> >
> >
> >
> > On 04/29/2013 08:52 AM, Ray Rashif wrote:
> >> On 29 April 2013 07:02, Sotiris Hasapis 
> >
> >>  wrote:
> >>
> >>> I ' m trying to convert lyx to odt file using the methods described
> here:
> >>>
> >>> http://wiki.lyx.org/Tools/LyX2OpenOffice
> >>>
> >>> but nothing seems to work. In fact when taking the convert option :
> >>> Latex(plain) to openoffice nothing happens and responds : "Error while
> >>> exporting format: odtFile 'C:/Documents and Settings/Owner/Local
> >>>
> Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
> >>> was not closed properly."
> >>> Any help please?
> >>>
> >>> I'm using windows xp, lyx 2.0.
> >>> Thank you.
> >>> Sotiris.
> >>>
> >> From experience this has never proven useful. Interoperability is an
> >> issue here with LyX and other word processors. Even if one conversion
> >> succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
> >> do some clean-up here and there.
> >>
> >> A fine compromise I have found is to use elyxer¹ as an intermediary
> >> tool. Its HTML output is beautiful, and it works with complex
> >> parent-child lyx documents including figures. You could also take a
> >> look at pandoc (via LaTeX).²
> >>
> >> ¹
> >> http://elyxer.nongnu.org/
> >>
> >> ²
> >> http://johnmacfarlane.net/pandoc/
> >>
> >>
> >>
> >> --
> >> GPG/PGP ID: C0711BF1
> >>
> >
>
>

-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Converting lyx to odt

2013-05-02 Thread Anthony Campbell
On 02 May 2013, Murat Yildizoglu wrote:
>I have really had rather nice results using the commercial (but with quite
>a cheap educational price) tex2word filter for Word, including equations,
>but excluding figures (you need to reinsert them). Unfortunately, I have
>not tried it with a recent version of Word, so I cannot say if it
>continues to work. I think that it is possible to download a trial
>version, so you can test it. 
> 

For that to work you have to have Word running, which largely eliminates
its usefulness for those of us who don't/can't run that.

AC

-- 
Anthony Campbell - a...@acampbell.org.uk 
http://www.acupuncturecourse.org.uk 
http://www.smashwords.com/profile.view/acampbell
https://itunes.apple.com/ca/artist/anthony-campbell/id73235412







Re: Converting lyx to odt

2013-05-02 Thread Murat Yildizoglu
This is true. I was assuming that you had Word on the computer, which is my
case, because my University uses this format for administrative documents,
and some of them do not like to travel through the docx-odt-docx conversion
channel...


2013/5/2 Anthony Campbell 

> On 02 May 2013, Murat Yildizoglu wrote:
> >I have really had rather nice results using the commercial (but with
> quite
> >a cheap educational price) tex2word filter for Word, including
> equations,
> >but excluding figures (you need to reinsert them). Unfortunately, I
> have
> >not tried it with a recent version of Word, so I cannot say if it
> >continues to work. I think that it is possible to download a trial
> >version, so you can test it.
> >
>
> For that to work you have to have Word running, which largely eliminates
> its usefulness for those of us who don't/can't run that.
>
> AC
>
> --
> Anthony Campbell - a...@acampbell.org.uk
> http://www.acupuncturecourse.org.uk
> http://www.smashwords.com/profile.view/acampbell
> https://itunes.apple.com/ca/artist/anthony-campbell/id73235412
>
>
>
>
>
>


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Converting lyx to odt

2013-05-02 Thread Richard Heck

On 05/01/2013 11:28 PM, Scott Kostyshak wrote:

On Wed, May 1, 2013 at 10:59 PM, Jerry  wrote:


A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well.

You seemed more impressed a few months ago :)
"Mostly successful experiment: LyX -> LaTeX -> Word using pandoc"
http://comments.gmane.org/gmane.editors.lyx.general/76375

But I imagine that sometimes "mostly" successful is still a failure if
a few key features are missing.

Note that Pandoc support in LyX seems like it's just waiting for
someone to make a patch:
http://www.lyx.org/trac/ticket/6042


The main question is simply what format conversions we want to support 
out of the box. Writing the configure.py stuff is otherwise trivial.


Richard



Scott




Re: Converting lyx to odt

2013-05-02 Thread EK

  
  
I was not going into WORD but into LibreOffice Writer.
I realize the difficulties in such conversions, but I do have
colleague who will not use anything but MS-WORD, and I do
collaborate with them on some manuscripts. 
It is much less of a problem for a short paper.
EK

On 05/01/2013 11:32 PM, David L.
  Johnson wrote:

On
  05/01/2013 10:59 PM, Jerry wrote:
  
  On May 1, 2013, at 5:21 AM, ehud.kaplan
wrote:


I had tried to convert from a Lyx
  document (a Ph.D. thesis, ~140 pages) to LibreOffice
  (File/Export/HTML).  Much of it worked, but there were many
  problems:
  
  • Equation numbers moved from right to left
  
  • Figures were totally distorted (size scaled up),
  
  • Some equations and algorithms were mangled
  
  • Several sections appeared centered instead of being left
  justified as they were originally.
  
  Using File/Export/LYXHTML produced similar results, although
  the equation numbers were not mangled.
  
  In short, such conversions do a lot, but they also leave a lot
  for manual fixing.  I suspect that if such a path were
  available, many more people would use Lyx.
  

I agree, as do many others.


A while back I spent a lot of time evaluating the various  ways
to convert LyX to .odt or .docx and found that none of them work
well. (Apologies to those who are reading this who have actually
worked on the problem and made substantial progress.) Some work
with certain restricted sets of features but add an equation or
something else and they break.


One would hope with all the talk on the developers' list
recently with the Google Summer of Code that this would be at
the top of the list of things to do.


  
  I am somewhat confused about this.  I see the need to convert a
  TeX document, or by extension a LyX file, to (or from) Word format
  to be an occasional thing, necessitated by some journal insisting
  on Word, or a collaborator who can't work with anything else.  I
  don't see this as something worth the large amount of effort to
  make into a single button-push.  For one thing, that would
  probably be unfeasible even in the short term, and since the
  latest Word formats are a moving target it would require
  significant maintenance even if it were possible.
  
  
  I coauthored a paper that my collaborator typed, in Word.  Not
  only could I not translate that to something I could read ---
  Ooffice at the time could not read the equations he had done in
  Word, but the journal actually re-typeset the whole thing in LaTeX
  in order to print it.
  
  
  I would not expect to be able to effortlessly convert a 140-page
  thesis from Word *.docx to html.  Can Word itself really do that
  in a way that does not mangle equations?
  
  


-- 
  
  Ehud Kaplan, Ph.D.
  Jules and Doris Stein Research to Prevent Blindness
  Professor
  Director, The laboratory of Visual & Computational
  Neuroscience
  Director, Center for Excellence in Computational &
  Systems Neuroscience
  Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural &
  Chemical Biology,
  The Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Re: Converting lyx to odt

2013-05-02 Thread Nico Williams
A quick search for "odt xslt" finds some possibly useful tools and other things:

http://stackoverflow.com/questions/13031514/html-to-odt-xslt
http://opendocumentfellowship.com/projects/odftools
http://wiki.openoffice.org/wiki/ODF_Toolkit/Efforts/ODTransform
http://open.comsultia.com/docbook2odf/
http://swik.net/OpenOffice+XSLT
http://xhtml2odt.org/

LOTS of converters here:

http://wiki.openoffice.org/wiki/Xml#Filters_and_Conversions_based_on_OpenDocument.2FOpenOffice.org_XML

http://www.tei-c.org/Tools/Stylesheets/

Reverse direction:

http://www.openoffice.org/xml/sx2ml/
http://books.evc-cit.info/odf_utils/odt_to_xhtml.html
http://writer2latex.sourceforge.net/

Misc:

http://www.jejik.com/odf-xslt/manual/


Re: Converting lyx to odt

2013-05-01 Thread ehud.kaplan
I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) 
to LibreOffice (File/Export/HTML).  Much of it worked, but there were 
many problems:


1. Equation numbers moved from right to left
2. Figures were totally distorted (size scaled up),
3. Some equations and algorithms were mangled
4. Several sections appeared centered instead of being left justified
   as they were originally.

Using File/Export/LYXHTML produced similar results, although the 
equation numbers were not mangled.


In short, such conversions do a lot, but they also leave a lot for 
manual fixing.  I suspect that if such a path were available, many more 
people would use Lyx.


--
Ehud Kaplan, Ph.D.
Jules  Doris Stein Research to Prevent Blindness Professor
Director, The laboratory of Visual  Computational Neuroscience
Director, Center for Excellence in Computational  Systems Neuroscience
The Friedman Brain Institute
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Ichan School of Medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029





On 04/29/2013 08:52 AM, Ray Rashif wrote:

On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote:

I ' m trying to convert lyx to odt file using the methods described here:
http://wiki.lyx.org/Tools/LyX2OpenOffice
but nothing seems to work. In fact when taking the convert option :
Latex(plain) to openoffice nothing happens and responds : Error while
exporting format: odtFile 'C:/Documents and Settings/Owner/Local
Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
was not closed properly.
Any help please?

I'm using windows xp, lyx 2.0.
Thank you.
Sotiris.

 From experience this has never proven useful. Interoperability is an
issue here with LyX and other word processors. Even if one conversion
succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
do some clean-up here and there.

A fine compromise I have found is to use elyxer¹ as an intermediary
tool. Its HTML output is beautiful, and it works with complex
parent-child lyx documents including figures. You could also take a
look at pandoc (via LaTeX).²

¹ http://elyxer.nongnu.org/
² http://johnmacfarlane.net/pandoc/


--
GPG/PGP ID: C0711BF1




Re: Converting lyx to odt

2013-05-01 Thread Nico Williams
On Wed, May 1, 2013 at 7:21 AM, ehud.kaplan ehud.kap...@gmail.com wrote:
 I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to
 LibreOffice (File/Export/HTML).  Much of it worked, but there were many
 problems:

 Equation numbers moved from right to left
 Figures were totally distorted (size scaled up),
 Some equations and algorithms were mangled
 Several sections appeared centered instead of being left justified as they
 were originally.

 Using File/Export/LYXHTML produced similar results, although the equation
 numbers were not mangled.

 In short, such conversions do a lot, but they also leave a lot for manual
 fixing.  I suspect that if such a path were available, many more people
 would use Lyx.

If you understand the target XML schemata then just write an XSL (in
XSLT) for the conversion from LyXHTML to that target.  I've done this.
 It's a small project, and it does depend on the stability of the
LyXHTML schema (XHTML documents don't have a schema so much as
conventions), which is probably not really stable.  You could also use
my lyx2xml converter and write XSLs that consume that.  The latter
depends on the .lyx schema, which too is not stable, but working
with raw LyX metadata is easier than an XHTML rendering of a LyX
document, and you can always use lyx2lyx to workaround lack of
stability in .lyx, whereas nothing really helps w.r.t. LyXHTML
instability.

If the OpenOffice XML schemata are too complex but there's some other
intermediate XML schema for which there's a suitably faithful
converter out there, then you could use it as a step in the conversion
process.

Nico
--


Re: Converting lyx to odt

2013-05-01 Thread Jerry

On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:

 I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to 
 LibreOffice (File/Export/HTML).  Much of it worked, but there were many 
 problems: 
   • Equation numbers moved from right to left
   • Figures were totally distorted (size scaled up),
   • Some equations and algorithms were mangled
   • Several sections appeared centered instead of being left justified as 
 they were originally.
 Using File/Export/LYXHTML produced similar results, although the equation 
 numbers were not mangled.
 In short, such conversions do a lot, but they also leave a lot for manual 
 fixing.  I suspect that if such a path were available, many more people would 
 use Lyx.

I agree, as do many others.

A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well. (Apologies to those who 
are reading this who have actually worked on the problem and made substantial 
progress.) Some work with certain restricted sets of features but add an 
equation or something else and they break.

One would hope with all the talk on the developers' list recently with the 
Google Summer of Code that this would be at the top of the list of things to do.

Jerry

 -- 
 Ehud Kaplan, Ph.D.
 Jules  Doris Stein Research to Prevent Blindness Professor
 Director, The laboratory of Visual  Computational Neuroscience
 Director, Center for Excellence in Computational  Systems Neuroscience
 The Friedman Brain Institute
 Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
 The Ichan School of Medicine at Mount Sinai 
 One Gustave Levy Place,
 NY, NY, 10029
 
 
 
 
 
 On 04/29/2013 08:52 AM, Ray Rashif wrote:
 On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com
  wrote:
 
 I ' m trying to convert lyx to odt file using the methods described here:
 
 http://wiki.lyx.org/Tools/LyX2OpenOffice
 
 but nothing seems to work. In fact when taking the convert option :
 Latex(plain) to openoffice nothing happens and responds : Error while
 exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
 was not closed properly.
 Any help please?
 
 I'm using windows xp, lyx 2.0.
 Thank you.
 Sotiris.
 
 From experience this has never proven useful. Interoperability is an
 issue here with LyX and other word processors. Even if one conversion
 succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
 do some clean-up here and there.
 
 A fine compromise I have found is to use elyxer¹ as an intermediary
 tool. Its HTML output is beautiful, and it works with complex
 parent-child lyx documents including figures. You could also take a
 look at pandoc (via LaTeX).²
 
 ¹ 
 http://elyxer.nongnu.org/
 
 ² 
 http://johnmacfarlane.net/pandoc/
 
 
 
 --
 GPG/PGP ID: C0711BF1
 
 



Re: Converting lyx to odt

2013-05-01 Thread Scott Kostyshak
On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:

 A while back I spent a lot of time evaluating the various  ways to convert 
 LyX to .odt or .docx and found that none of them work well.

You seemed more impressed a few months ago :)
Mostly successful experiment: LyX - LaTeX - Word using pandoc
http://comments.gmane.org/gmane.editors.lyx.general/76375

But I imagine that sometimes mostly successful is still a failure if
a few key features are missing.

Note that Pandoc support in LyX seems like it's just waiting for
someone to make a patch:
http://www.lyx.org/trac/ticket/6042

Scott


Re: Converting lyx to odt

2013-05-01 Thread David L. Johnson

On 05/01/2013 10:59 PM, Jerry wrote:

On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:


I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to 
LibreOffice (File/Export/HTML).  Much of it worked, but there were many 
problems:
• Equation numbers moved from right to left
• Figures were totally distorted (size scaled up),
• Some equations and algorithms were mangled
• Several sections appeared centered instead of being left justified as 
they were originally.
Using File/Export/LYXHTML produced similar results, although the equation 
numbers were not mangled.
In short, such conversions do a lot, but they also leave a lot for manual 
fixing.  I suspect that if such a path were available, many more people would 
use Lyx.

I agree, as do many others.

A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well. (Apologies to those who 
are reading this who have actually worked on the problem and made substantial 
progress.) Some work with certain restricted sets of features but add an 
equation or something else and they break.

One would hope with all the talk on the developers' list recently with the 
Google Summer of Code that this would be at the top of the list of things to do.

I am somewhat confused about this.  I see the need to convert a TeX 
document, or by extension a LyX file, to (or from) Word format to be an 
occasional thing, necessitated by some journal insisting on Word, or a 
collaborator who can't work with anything else.  I don't see this as 
something worth the large amount of effort to make into a single 
button-push.  For one thing, that would probably be unfeasible even in 
the short term, and since the latest Word formats are a moving target it 
would require significant maintenance even if it were possible.


I coauthored a paper that my collaborator typed, in Word.  Not only 
could I not translate that to something I could read --- Ooffice at the 
time could not read the equations he had done in Word, but the journal 
actually re-typeset the whole thing in LaTeX in order to print it.


I would not expect to be able to effortlessly convert a 140-page thesis 
from Word *.docx to html.  Can Word itself really do that in a way that 
does not mangle equations?


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Converting lyx to odt

2013-05-01 Thread ehud.kaplan
I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) 
to LibreOffice (File/Export/HTML).  Much of it worked, but there were 
many problems:


1. Equation numbers moved from right to left
2. Figures were totally distorted (size scaled up),
3. Some equations and algorithms were mangled
4. Several sections appeared centered instead of being left justified
   as they were originally.

Using File/Export/LYXHTML produced similar results, although the 
equation numbers were not mangled.


In short, such conversions do a lot, but they also leave a lot for 
manual fixing.  I suspect that if such a path were available, many more 
people would use Lyx.


--
Ehud Kaplan, Ph.D.
Jules  Doris Stein Research to Prevent Blindness Professor
Director, The laboratory of Visual  Computational Neuroscience
Director, Center for Excellence in Computational  Systems Neuroscience
The Friedman Brain Institute
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Ichan School of Medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029





On 04/29/2013 08:52 AM, Ray Rashif wrote:

On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote:

I ' m trying to convert lyx to odt file using the methods described here:
http://wiki.lyx.org/Tools/LyX2OpenOffice
but nothing seems to work. In fact when taking the convert option :
Latex(plain) to openoffice nothing happens and responds : Error while
exporting format: odtFile 'C:/Documents and Settings/Owner/Local
Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
was not closed properly.
Any help please?

I'm using windows xp, lyx 2.0.
Thank you.
Sotiris.

 From experience this has never proven useful. Interoperability is an
issue here with LyX and other word processors. Even if one conversion
succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
do some clean-up here and there.

A fine compromise I have found is to use elyxer¹ as an intermediary
tool. Its HTML output is beautiful, and it works with complex
parent-child lyx documents including figures. You could also take a
look at pandoc (via LaTeX).²

¹ http://elyxer.nongnu.org/
² http://johnmacfarlane.net/pandoc/


--
GPG/PGP ID: C0711BF1




Re: Converting lyx to odt

2013-05-01 Thread Nico Williams
On Wed, May 1, 2013 at 7:21 AM, ehud.kaplan ehud.kap...@gmail.com wrote:
 I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to
 LibreOffice (File/Export/HTML).  Much of it worked, but there were many
 problems:

 Equation numbers moved from right to left
 Figures were totally distorted (size scaled up),
 Some equations and algorithms were mangled
 Several sections appeared centered instead of being left justified as they
 were originally.

 Using File/Export/LYXHTML produced similar results, although the equation
 numbers were not mangled.

 In short, such conversions do a lot, but they also leave a lot for manual
 fixing.  I suspect that if such a path were available, many more people
 would use Lyx.

If you understand the target XML schemata then just write an XSL (in
XSLT) for the conversion from LyXHTML to that target.  I've done this.
 It's a small project, and it does depend on the stability of the
LyXHTML schema (XHTML documents don't have a schema so much as
conventions), which is probably not really stable.  You could also use
my lyx2xml converter and write XSLs that consume that.  The latter
depends on the .lyx schema, which too is not stable, but working
with raw LyX metadata is easier than an XHTML rendering of a LyX
document, and you can always use lyx2lyx to workaround lack of
stability in .lyx, whereas nothing really helps w.r.t. LyXHTML
instability.

If the OpenOffice XML schemata are too complex but there's some other
intermediate XML schema for which there's a suitably faithful
converter out there, then you could use it as a step in the conversion
process.

Nico
--


Re: Converting lyx to odt

2013-05-01 Thread Jerry

On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:

 I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to 
 LibreOffice (File/Export/HTML).  Much of it worked, but there were many 
 problems: 
   • Equation numbers moved from right to left
   • Figures were totally distorted (size scaled up),
   • Some equations and algorithms were mangled
   • Several sections appeared centered instead of being left justified as 
 they were originally.
 Using File/Export/LYXHTML produced similar results, although the equation 
 numbers were not mangled.
 In short, such conversions do a lot, but they also leave a lot for manual 
 fixing.  I suspect that if such a path were available, many more people would 
 use Lyx.

I agree, as do many others.

A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well. (Apologies to those who 
are reading this who have actually worked on the problem and made substantial 
progress.) Some work with certain restricted sets of features but add an 
equation or something else and they break.

One would hope with all the talk on the developers' list recently with the 
Google Summer of Code that this would be at the top of the list of things to do.

Jerry

 -- 
 Ehud Kaplan, Ph.D.
 Jules  Doris Stein Research to Prevent Blindness Professor
 Director, The laboratory of Visual  Computational Neuroscience
 Director, Center for Excellence in Computational  Systems Neuroscience
 The Friedman Brain Institute
 Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
 The Ichan School of Medicine at Mount Sinai 
 One Gustave Levy Place,
 NY, NY, 10029
 
 
 
 
 
 On 04/29/2013 08:52 AM, Ray Rashif wrote:
 On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com
  wrote:
 
 I ' m trying to convert lyx to odt file using the methods described here:
 
 http://wiki.lyx.org/Tools/LyX2OpenOffice
 
 but nothing seems to work. In fact when taking the convert option :
 Latex(plain) to openoffice nothing happens and responds : Error while
 exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
 was not closed properly.
 Any help please?
 
 I'm using windows xp, lyx 2.0.
 Thank you.
 Sotiris.
 
 From experience this has never proven useful. Interoperability is an
 issue here with LyX and other word processors. Even if one conversion
 succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
 do some clean-up here and there.
 
 A fine compromise I have found is to use elyxer¹ as an intermediary
 tool. Its HTML output is beautiful, and it works with complex
 parent-child lyx documents including figures. You could also take a
 look at pandoc (via LaTeX).²
 
 ¹ 
 http://elyxer.nongnu.org/
 
 ² 
 http://johnmacfarlane.net/pandoc/
 
 
 
 --
 GPG/PGP ID: C0711BF1
 
 



Re: Converting lyx to odt

2013-05-01 Thread Scott Kostyshak
On Wed, May 1, 2013 at 10:59 PM, Jerry lancebo...@qwest.net wrote:

 A while back I spent a lot of time evaluating the various  ways to convert 
 LyX to .odt or .docx and found that none of them work well.

You seemed more impressed a few months ago :)
Mostly successful experiment: LyX - LaTeX - Word using pandoc
http://comments.gmane.org/gmane.editors.lyx.general/76375

But I imagine that sometimes mostly successful is still a failure if
a few key features are missing.

Note that Pandoc support in LyX seems like it's just waiting for
someone to make a patch:
http://www.lyx.org/trac/ticket/6042

Scott


Re: Converting lyx to odt

2013-05-01 Thread David L. Johnson

On 05/01/2013 10:59 PM, Jerry wrote:

On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:


I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to 
LibreOffice (File/Export/HTML).  Much of it worked, but there were many 
problems:
• Equation numbers moved from right to left
• Figures were totally distorted (size scaled up),
• Some equations and algorithms were mangled
• Several sections appeared centered instead of being left justified as 
they were originally.
Using File/Export/LYXHTML produced similar results, although the equation 
numbers were not mangled.
In short, such conversions do a lot, but they also leave a lot for manual 
fixing.  I suspect that if such a path were available, many more people would 
use Lyx.

I agree, as do many others.

A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well. (Apologies to those who 
are reading this who have actually worked on the problem and made substantial 
progress.) Some work with certain restricted sets of features but add an 
equation or something else and they break.

One would hope with all the talk on the developers' list recently with the 
Google Summer of Code that this would be at the top of the list of things to do.

I am somewhat confused about this.  I see the need to convert a TeX 
document, or by extension a LyX file, to (or from) Word format to be an 
occasional thing, necessitated by some journal insisting on Word, or a 
collaborator who can't work with anything else.  I don't see this as 
something worth the large amount of effort to make into a single 
button-push.  For one thing, that would probably be unfeasible even in 
the short term, and since the latest Word formats are a moving target it 
would require significant maintenance even if it were possible.


I coauthored a paper that my collaborator typed, in Word.  Not only 
could I not translate that to something I could read --- Ooffice at the 
time could not read the equations he had done in Word, but the journal 
actually re-typeset the whole thing in LaTeX in order to print it.


I would not expect to be able to effortlessly convert a 140-page thesis 
from Word *.docx to html.  Can Word itself really do that in a way that 
does not mangle equations?


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Converting lyx to odt

2013-05-01 Thread ehud.kaplan
I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) 
to LibreOffice (File/Export/HTML).  Much of it worked, but there were 
many problems:


1. Equation numbers moved from right to left
2. Figures were totally distorted (size scaled up),
3. Some equations and algorithms were mangled
4. Several sections appeared centered instead of being left justified
   as they were originally.

Using File/Export/LYXHTML produced similar results, although the 
equation numbers were not mangled.


In short, such conversions do a lot, but they also leave a lot for 
manual fixing.  I suspect that if such a path were available, many more 
people would use Lyx.


--
Ehud Kaplan, Ph.D.
Jules & Doris Stein Research to Prevent Blindness Professor
Director, The laboratory of Visual & Computational Neuroscience
Director, Center for Excellence in Computational & Systems Neuroscience
The Friedman Brain Institute
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Ichan School of Medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029





On 04/29/2013 08:52 AM, Ray Rashif wrote:

On 29 April 2013 07:02, Sotiris Hasapis  wrote:

I ' m trying to convert lyx to odt file using the methods described here:
http://wiki.lyx.org/Tools/LyX2OpenOffice
but nothing seems to work. In fact when taking the convert option :
Latex(plain) to openoffice nothing happens and responds : "Error while
exporting format: odtFile 'C:/Documents and Settings/Owner/Local
Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
was not closed properly."
Any help please?

I'm using windows xp, lyx 2.0.
Thank you.
Sotiris.

 From experience this has never proven useful. Interoperability is an
issue here with LyX and other word processors. Even if one conversion
succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
do some clean-up here and there.

A fine compromise I have found is to use elyxer¹ as an intermediary
tool. Its HTML output is beautiful, and it works with complex
parent-child lyx documents including figures. You could also take a
look at pandoc (via LaTeX).²

¹ http://elyxer.nongnu.org/
² http://johnmacfarlane.net/pandoc/


--
GPG/PGP ID: C0711BF1




Re: Converting lyx to odt

2013-05-01 Thread Nico Williams
On Wed, May 1, 2013 at 7:21 AM, ehud.kaplan  wrote:
> I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to
> LibreOffice (File/Export/HTML).  Much of it worked, but there were many
> problems:
>
> Equation numbers moved from right to left
> Figures were totally distorted (size scaled up),
> Some equations and algorithms were mangled
> Several sections appeared centered instead of being left justified as they
> were originally.
>
> Using File/Export/LYXHTML produced similar results, although the equation
> numbers were not mangled.
>
> In short, such conversions do a lot, but they also leave a lot for manual
> fixing.  I suspect that if such a path were available, many more people
> would use Lyx.

If you understand the target XML schemata then just write an XSL (in
XSLT) for the conversion from LyXHTML to that target.  I've done this.
 It's a small project, and it does depend on the stability of the
LyXHTML "schema" (XHTML documents don't have a schema so much as
conventions), which is probably not really stable.  You could also use
my lyx2xml converter and write XSLs that consume that.  The latter
depends on the .lyx "schema", which too is not stable, but working
with raw LyX metadata is easier than an XHTML rendering of a LyX
document, and you can always use lyx2lyx to workaround lack of
stability in .lyx, whereas nothing really helps w.r.t. LyXHTML
instability.

If the OpenOffice XML schemata are too complex but there's some other
intermediate XML schema for which there's a suitably faithful
converter out there, then you could use it as a step in the conversion
process.

Nico
--


Re: Converting lyx to odt

2013-05-01 Thread Jerry

On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:

> I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to 
> LibreOffice (File/Export/HTML).  Much of it worked, but there were many 
> problems: 
>   • Equation numbers moved from right to left
>   • Figures were totally distorted (size scaled up),
>   • Some equations and algorithms were mangled
>   • Several sections appeared centered instead of being left justified as 
> they were originally.
> Using File/Export/LYXHTML produced similar results, although the equation 
> numbers were not mangled.
> In short, such conversions do a lot, but they also leave a lot for manual 
> fixing.  I suspect that if such a path were available, many more people would 
> use Lyx.

I agree, as do many others.

A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well. (Apologies to those who 
are reading this who have actually worked on the problem and made substantial 
progress.) Some work with certain restricted sets of features but add an 
equation or something else and they break.

One would hope with all the talk on the developers' list recently with the 
Google Summer of Code that this would be at the top of the list of things to do.

Jerry

> -- 
> Ehud Kaplan, Ph.D.
> Jules & Doris Stein Research to Prevent Blindness Professor
> Director, The laboratory of Visual & Computational Neuroscience
> Director, Center for Excellence in Computational & Systems Neuroscience
> The Friedman Brain Institute
> Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
> The Ichan School of Medicine at Mount Sinai 
> One Gustave Levy Place,
> NY, NY, 10029
> 
> 
> 
> 
> 
> On 04/29/2013 08:52 AM, Ray Rashif wrote:
>> On 29 April 2013 07:02, Sotiris Hasapis 
>>  wrote:
>> 
>>> I ' m trying to convert lyx to odt file using the methods described here:
>>> 
>>> http://wiki.lyx.org/Tools/LyX2OpenOffice
>>> 
>>> but nothing seems to work. In fact when taking the convert option :
>>> Latex(plain) to openoffice nothing happens and responds : "Error while
>>> exporting format: odtFile 'C:/Documents and Settings/Owner/Local
>>> Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
>>> was not closed properly."
>>> Any help please?
>>> 
>>> I'm using windows xp, lyx 2.0.
>>> Thank you.
>>> Sotiris.
>>> 
>> From experience this has never proven useful. Interoperability is an
>> issue here with LyX and other word processors. Even if one conversion
>> succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
>> do some clean-up here and there.
>> 
>> A fine compromise I have found is to use elyxer¹ as an intermediary
>> tool. Its HTML output is beautiful, and it works with complex
>> parent-child lyx documents including figures. You could also take a
>> look at pandoc (via LaTeX).²
>> 
>> ¹ 
>> http://elyxer.nongnu.org/
>> 
>> ² 
>> http://johnmacfarlane.net/pandoc/
>> 
>> 
>> 
>> --
>> GPG/PGP ID: C0711BF1
>> 
> 



Re: Converting lyx to odt

2013-05-01 Thread Scott Kostyshak
On Wed, May 1, 2013 at 10:59 PM, Jerry  wrote:

> A while back I spent a lot of time evaluating the various  ways to convert 
> LyX to .odt or .docx and found that none of them work well.

You seemed more impressed a few months ago :)
"Mostly successful experiment: LyX -> LaTeX -> Word using pandoc"
http://comments.gmane.org/gmane.editors.lyx.general/76375

But I imagine that sometimes "mostly" successful is still a failure if
a few key features are missing.

Note that Pandoc support in LyX seems like it's just waiting for
someone to make a patch:
http://www.lyx.org/trac/ticket/6042

Scott


Re: Converting lyx to odt

2013-05-01 Thread David L. Johnson

On 05/01/2013 10:59 PM, Jerry wrote:

On May 1, 2013, at 5:21 AM, ehud.kaplan wrote:


I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to 
LibreOffice (File/Export/HTML).  Much of it worked, but there were many 
problems:
• Equation numbers moved from right to left
• Figures were totally distorted (size scaled up),
• Some equations and algorithms were mangled
• Several sections appeared centered instead of being left justified as 
they were originally.
Using File/Export/LYXHTML produced similar results, although the equation 
numbers were not mangled.
In short, such conversions do a lot, but they also leave a lot for manual 
fixing.  I suspect that if such a path were available, many more people would 
use Lyx.

I agree, as do many others.

A while back I spent a lot of time evaluating the various  ways to convert LyX 
to .odt or .docx and found that none of them work well. (Apologies to those who 
are reading this who have actually worked on the problem and made substantial 
progress.) Some work with certain restricted sets of features but add an 
equation or something else and they break.

One would hope with all the talk on the developers' list recently with the 
Google Summer of Code that this would be at the top of the list of things to do.

I am somewhat confused about this.  I see the need to convert a TeX 
document, or by extension a LyX file, to (or from) Word format to be an 
occasional thing, necessitated by some journal insisting on Word, or a 
collaborator who can't work with anything else.  I don't see this as 
something worth the large amount of effort to make into a single 
button-push.  For one thing, that would probably be unfeasible even in 
the short term, and since the latest Word formats are a moving target it 
would require significant maintenance even if it were possible.


I coauthored a paper that my collaborator typed, in Word.  Not only 
could I not translate that to something I could read --- Ooffice at the 
time could not read the equations he had done in Word, but the journal 
actually re-typeset the whole thing in LaTeX in order to print it.


I would not expect to be able to effortlessly convert a 140-page thesis 
from Word *.docx to html.  Can Word itself really do that in a way that 
does not mangle equations?


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Converting lyx to odt

2013-04-29 Thread Wolfgang Engelmann
Am Montag, 29. April 2013, 01:02:12 schrieb Sotiris Hasapis:
 I ' m trying to convert lyx to odt file using the methods described
 here: http://wiki.lyx.org/Tools/LyX2OpenOffice
 but nothing seems to work. In fact when taking the convert option :
 Latex(plain) to openoffice nothing happens and responds : Error while
 exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_
 cryptograhpy.tex' was not closed properly.
 Any help please?
 
 I'm using windows xp, lyx 2.0.
 Thank you.
 Sotiris.

I am on Debian Linux and can export a small text file to odt.
However, a longer document with figures returns:

System call: rmdir sxw-
AAABlumenuhr20130419.20.dir/Pictures/AAABlumenuhr20130419.2061x.png
System return: 0
System call: cpAAABlumenuhr20130419.2061x.png sxw-
AAABlumenuhr20130419.20.dir/Pictures/AAABlumenuhr20130419.2061x.png
--- Warning --- System return: 256
Error: Cannot view file

File does not exist: 
/tmp/lyx_tmpdir.MT3747/lyx_tmpbuf2/AAABlumenuhr20130419.20.odt

Wolfgang



Re: Converting lyx to odt

2013-04-29 Thread Ray Rashif
On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote:
 I ' m trying to convert lyx to odt file using the methods described here:
 http://wiki.lyx.org/Tools/LyX2OpenOffice
 but nothing seems to work. In fact when taking the convert option :
 Latex(plain) to openoffice nothing happens and responds : Error while
 exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
 was not closed properly.
 Any help please?

 I'm using windows xp, lyx 2.0.
 Thank you.
 Sotiris.

From experience this has never proven useful. Interoperability is an
issue here with LyX and other word processors. Even if one conversion
succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
do some clean-up here and there.

A fine compromise I have found is to use elyxer¹ as an intermediary
tool. Its HTML output is beautiful, and it works with complex
parent-child lyx documents including figures. You could also take a
look at pandoc (via LaTeX).²

¹ http://elyxer.nongnu.org/
² http://johnmacfarlane.net/pandoc/


--
GPG/PGP ID: C0711BF1


Re: Converting lyx to odt

2013-04-29 Thread Richard Heck



On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote:

I ' m trying to convert lyx to odt file using the methods described here:
http://wiki.lyx.org/Tools/LyX2OpenOffice
but nothing seems to work. In fact when taking the convert option :
Latex(plain) to openoffice nothing happens and responds : Error while
exporting format: odtFile 'C:/Documents and Settings/Owner/Local
Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
was not closed properly.
Any help please?


This conversion route works only with fairly simple documents. It relies 
upon the external tool oolatex, which is skitchy at best.


My own technique, when I have to do this, is to export to LyXHTML and 
then import that into Libre Office. As someone else said, you'll have to 
do some cleanup, but it works reasonably well.


Richard



Re: Converting lyx to odt

2013-04-29 Thread Wolfgang Engelmann
Am Montag, 29. April 2013, 01:02:12 schrieb Sotiris Hasapis:
 I ' m trying to convert lyx to odt file using the methods described
 here: http://wiki.lyx.org/Tools/LyX2OpenOffice
 but nothing seems to work. In fact when taking the convert option :
 Latex(plain) to openoffice nothing happens and responds : Error while
 exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_
 cryptograhpy.tex' was not closed properly.
 Any help please?
 
 I'm using windows xp, lyx 2.0.
 Thank you.
 Sotiris.

I am on Debian Linux and can export a small text file to odt.
However, a longer document with figures returns:

System call: rmdir sxw-
AAABlumenuhr20130419.20.dir/Pictures/AAABlumenuhr20130419.2061x.png
System return: 0
System call: cpAAABlumenuhr20130419.2061x.png sxw-
AAABlumenuhr20130419.20.dir/Pictures/AAABlumenuhr20130419.2061x.png
--- Warning --- System return: 256
Error: Cannot view file

File does not exist: 
/tmp/lyx_tmpdir.MT3747/lyx_tmpbuf2/AAABlumenuhr20130419.20.odt

Wolfgang



Re: Converting lyx to odt

2013-04-29 Thread Ray Rashif
On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote:
 I ' m trying to convert lyx to odt file using the methods described here:
 http://wiki.lyx.org/Tools/LyX2OpenOffice
 but nothing seems to work. In fact when taking the convert option :
 Latex(plain) to openoffice nothing happens and responds : Error while
 exporting format: odtFile 'C:/Documents and Settings/Owner/Local
 Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
 was not closed properly.
 Any help please?

 I'm using windows xp, lyx 2.0.
 Thank you.
 Sotiris.

From experience this has never proven useful. Interoperability is an
issue here with LyX and other word processors. Even if one conversion
succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
do some clean-up here and there.

A fine compromise I have found is to use elyxer¹ as an intermediary
tool. Its HTML output is beautiful, and it works with complex
parent-child lyx documents including figures. You could also take a
look at pandoc (via LaTeX).²

¹ http://elyxer.nongnu.org/
² http://johnmacfarlane.net/pandoc/


--
GPG/PGP ID: C0711BF1


Re: Converting lyx to odt

2013-04-29 Thread Richard Heck



On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote:

I ' m trying to convert lyx to odt file using the methods described here:
http://wiki.lyx.org/Tools/LyX2OpenOffice
but nothing seems to work. In fact when taking the convert option :
Latex(plain) to openoffice nothing happens and responds : Error while
exporting format: odtFile 'C:/Documents and Settings/Owner/Local
Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
was not closed properly.
Any help please?


This conversion route works only with fairly simple documents. It relies 
upon the external tool oolatex, which is skitchy at best.


My own technique, when I have to do this, is to export to LyXHTML and 
then import that into Libre Office. As someone else said, you'll have to 
do some cleanup, but it works reasonably well.


Richard



Re: Converting lyx to odt

2013-04-29 Thread Wolfgang Engelmann
Am Montag, 29. April 2013, 01:02:12 schrieb Sotiris Hasapis:
> I ' m trying to convert lyx to odt file using the methods described
> here: http://wiki.lyx.org/Tools/LyX2OpenOffice
> but nothing seems to work. In fact when taking the convert option :
> Latex(plain) to openoffice nothing happens and responds : "Error while
> exporting format: odtFile 'C:/Documents and Settings/Owner/Local
> Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_
> cryptograhpy.tex' was not closed properly."
> Any help please?
> 
> I'm using windows xp, lyx 2.0.
> Thank you.
> Sotiris.

I am on Debian Linux and can export a small text file to odt.
However, a longer document with figures returns:

System call: rmdir sxw-
AAABlumenuhr20130419.20.dir/Pictures/AAABlumenuhr20130419.2061x.png
System return: 0
System call: cpAAABlumenuhr20130419.2061x.png sxw-
AAABlumenuhr20130419.20.dir/Pictures/AAABlumenuhr20130419.2061x.png
--- Warning --- System return: 256
Error: Cannot view file

File does not exist: 
/tmp/lyx_tmpdir.MT3747/lyx_tmpbuf2/AAABlumenuhr20130419.20.odt

Wolfgang



Re: Converting lyx to odt

2013-04-29 Thread Ray Rashif
On 29 April 2013 07:02, Sotiris Hasapis  wrote:
> I ' m trying to convert lyx to odt file using the methods described here:
> http://wiki.lyx.org/Tools/LyX2OpenOffice
> but nothing seems to work. In fact when taking the convert option :
> Latex(plain) to openoffice nothing happens and responds : "Error while
> exporting format: odtFile 'C:/Documents and Settings/Owner/Local
> Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
> was not closed properly."
> Any help please?
>
> I'm using windows xp, lyx 2.0.
> Thank you.
> Sotiris.

>From experience this has never proven useful. Interoperability is an
issue here with LyX and other word processors. Even if one conversion
succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to
do some clean-up here and there.

A fine compromise I have found is to use elyxer¹ as an intermediary
tool. Its HTML output is beautiful, and it works with complex
parent-child lyx documents including figures. You could also take a
look at pandoc (via LaTeX).²

¹ http://elyxer.nongnu.org/
² http://johnmacfarlane.net/pandoc/


--
GPG/PGP ID: C0711BF1


Re: Converting lyx to odt

2013-04-29 Thread Richard Heck



On 29 April 2013 07:02, Sotiris Hasapis  wrote:

I ' m trying to convert lyx to odt file using the methods described here:
http://wiki.lyx.org/Tools/LyX2OpenOffice
but nothing seems to work. In fact when taking the convert option :
Latex(plain) to openoffice nothing happens and responds : "Error while
exporting format: odtFile 'C:/Documents and Settings/Owner/Local
Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex'
was not closed properly."
Any help please?


This conversion route works only with fairly simple documents. It relies 
upon the external tool oolatex, which is skitchy at best.


My own technique, when I have to do this, is to export to LyXHTML and 
then import that into Libre Office. As someone else said, you'll have to 
do some cleanup, but it works reasonably well.


Richard