Home | Gallery | Forum | Services | Webmail | Archive | Links | Contact Us | About Us
OS2 World.Com Forum
OS2 World.Com Online Discussion Forum.
Index / OS2 World.Com Bounty System / Suggested & Open Bounties
author message
    Port of LyX 1.3
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
Christian Hennecke
Premium member
in spoc

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.os2world.com/os2files/
posts: 109
since: 27 Jan, 2001
21. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
Now it starts up OK, but when I select "Tools > Preferences", LyX crashes with not error message. If I start "lyx.exe -d 9", the program crashes immediately and the GUI does not come up.
Date: 28 Jul, 2006 on 16:07
Grimus
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 10
since: 14 Jul, 2005
22. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
Beta 2 starts up here when there is a \tmp dir in the root of the partition lyx resides on (doesn't evaluate the config.sys entries for tmp or temp, but that's really minor). Crashes when trying to access preferences here as well.

Otherwise, I need some time to figure out how useful it is compared to my usual VTeX environment using epm.

Thanks a million times for your efforts Paul!
Andreas

Date: 28 Jul, 2006 on 19:09
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
23. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

Grimus (28 Jul, 2006 19:09):
Beta 2 starts up here when there is a \tmp dir in the root of the partition lyx resides on (doesn't evaluate the config.sys entries for tmp or temp, but that's really minor). Crashes when trying to access preferences here as well.

Otherwise, I need some time to figure out how useful it is compared to my usual VTeX environment using epm.

Thanks a million times for your efforts Paul!
Andreas


I'll take a look at the use of /tmp - should be easy to fix.

Trying to debug the preferences now - I bound the b2 version as a PM app in my wisdom - hence no error/debug messages.

I'd be very interested in feedback on how useful this is....

Cheers,

Paul.

Date: 29 Jul, 2006 on 02:43
Isaac
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.novus-tele.net/~isaacl
posts: 49
since: 23 Jan, 2004
24. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
Works here too, but also same results. Needs /tmp and crashes on selecting preferences.
I also tried making new document from IEEETran template and it complains about object not existing, but then it loads up the template properly anyways.

BTW, the /tmp problem seems to pop up with the old version of Lyx too. It is actually better now because as long as /tmp exists, it's happy. Old version of Lyx always complained about not finding /tmp, even if it did exist.

A working Lyx would be a very useful thing IMHO! One thing about TeX/LaTex .... I HATE to use it, but the output was pretty much bug-free. Those of us doing very large documents would find this handy.

Date: 29 Jul, 2006 on 08:25
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
25. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

Isaac (29 Jul, 2006 08:25):
Works here too, but also same results. Needs /tmp and crashes on selecting preferences.
I also tried making new document from IEEETran template and it complains about object not existing, but then it loads up the template properly anyways.

BTW, the /tmp problem seems to pop up with the old version of Lyx too. It is actually better now because as long as /tmp exists, it's happy. Old version of Lyx always complained about not finding /tmp, even if it did exist.

A working Lyx would be a very useful thing IMHO! One thing about TeX/LaTex .... I HATE to use it, but the output was pretty much bug-free. Those of us doing very large documents would find this handy.


Hi Isaac, Can you give me some details on the error with the IEEE template?

I think I've found the hardcoded /tmp - trying to fix now and use the directory referenced by 'set TEMP'

Cheers,

Paul.

Date: 29 Jul, 2006 on 12:03
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
26. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

Smedles (29 Jul, 2006 12:03):
I think I've found the hardcoded /tmp - trying to fix now and use the directory referenced by 'set TEMP'

OK lyx runs locally now without a /tmp directory - just need to try and find why tools->preferences is crashing

Date: 29 Jul, 2006 on 12:40
Christian Hennecke
Premium member
in spoc

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.os2world.com/os2files/
posts: 109
since: 27 Jan, 2001
27. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

Smedles (29 Jul, 2006 02:43):
I'd be very interested in feedback on how useful this is....

It's just my personal opinion, of course, but I'd say "tremendiously." Basically, you are not even *able* to fuss around with individual formatting parameters. Instead you are forced to define what you want once and then use the styles. Also, LyX simply does not allow certain bad layout practise, like using empty paragraphs. And you get all the goodies for large documents like table of contents, bibliography, etc. that TeX offers -- without the bugs of MS Word and the like.

Date: 29 Jul, 2006 on 18:55
Isaac
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.novus-tele.net/~isaacl
posts: 49
since: 23 Jan, 2004
28. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
Regarding the IEEEtran problem, I'm not sure it is isolated to just iEEEtran.
I get message "The document uses a missing TeX class "IEEEtran". LyX will not be able to produce output"
Click "Ok" and it says it's using default document class because class IEEEtran couldn't be loaded. Then it shows up anyways and looks fine.

I have VTeX/2, BiBtex installed, working (I've had to use it to submit a research paper). I don't think I have it set up properly to actually output with LyX. I'm guessing this is the problem...?

Other things I have noticed. New from template works fine(?), but just a new document makes my system slow to a crawl. Unuseable.

An aside, I've written a couple of big theses, one with Word and one with WordPro. It was _painful_!!, all of it due to bugs, not features. ! I hate how TeX/LaTeX/LyX stops you from having any flexibility, but for those who don't know how to truly use a word processor, it's probably a good thing. And it's great that it just usually works.

Date: 29 Jul, 2006 on 20:23
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
29. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
To fix the crash when clicking Tools->Preferences, unzip <a href="http://smedley.info/lyxhome.zip">http://smedley.info/lyxhome.zip</a> into %HOME%/.lyx.

A better solution is under investigation.

Date: 26 Aug, 2006 on 12:31
Christian Hennecke
Premium member
in spoc

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.os2world.com/os2files/
posts: 109
since: 27 Jan, 2001
30. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
IIRC you had to run a configuration script for the old LyX port that created such files in the home directory. You may want to have a look at that.
Date: 05 Sep, 2006 on 15:33
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
31. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
There is another important fix at http://smedley.info/lyxfix1.zip

This fixes problems with LyX calling Python with invalid quoting around the script name - ie using ' instead of "

Date: 05 Oct, 2006 on 00:13
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
32. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

Smedles (05 Oct, 2006 00:13):
There is another important fix at http://smedley.info/lyxfix1.zip

This fixes problems with LyX calling Python with invalid quoting around the script name - ie using ' instead of "


Based on comments in http://mantis.smedley.info/view.php?id=75 (registration to my bug tracker required to view this) - most problems seem to be revolved now.

Date: 05 Oct, 2006 on 05:38
melf
Premium member
in staff

View this member's profileSearch all posts from this memberSend an email to this member
posts: 212
since: 11 Apr, 2003
33. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
I really would like to learn to use Lyx and there is a great "beginners tutorial". I can write, but I can't preview, neither print or export. "Cannot convert file. An error occurd whilst running...and so on" is the frequent message. Is there more packages required to make lyx print and preview?

---
/Mikael
Date: 05 Oct, 2006 on 10:26
ThL
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.leize.de
posts: 1
since: 05 Oct, 2006
34. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
The most difficult problem is to integrate the tex distribution into lyx. I did not figure out how to do it yet but I will continue trying it. If somebody has some hint please tell
Date: 05 Oct, 2006 on 14:27
melf
Premium member
in staff

View this member's profileSearch all posts from this memberSend an email to this member
posts: 212
since: 11 Apr, 2003
35. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

ThL (05 Oct, 2006 14:27):
The most difficult problem is to integrate the tex distribution into lyx. I did not figure out how to do it yet but I will continue trying it. If somebody has some hint please tell

So you mean that Lyx is not complete, but some sort of frontend or....? I didn't realize that.

---
/Mikael

Date: 05 Oct, 2006 on 14:48
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
36. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

melf (05 Oct, 2006 14:4:

ThL (05 Oct, 2006 14:27):
The most difficult problem is to integrate the tex distribution into lyx. I did not figure out how to do it yet but I will continue trying it. If somebody has some hint please tell

So you mean that Lyx is not complete, but some sort of frontend or....? I didn't realize that.


I am working with a user who is having pretty good success with LyX (ie able to save documents as .ps and convert to pdf, etc) in order to come up with a document to help people configure LyX.

At the very minimum, python is required to be in the path as it is used to run several scripts.

With other helpers - it pretty much depends what output format you want from LyX to determine which helpers you need.

Date: 05 Oct, 2006 on 23:01
melf
Premium member
in staff

View this member's profileSearch all posts from this memberSend an email to this member
posts: 212
since: 11 Apr, 2003
37. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

Smedles (05 Oct, 2006 23:01):

I am working with a user who is having pretty good success with LyX (ie able to save documents as .ps and convert to pdf, etc) in order to come up with a document to help people configure LyX.



Sounds promising!

---
/Mikael

Date: 06 Oct, 2006 on 11:18
QHand
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 33
since: 02 Sep, 2003
38. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
It doesn't support DBCS.
Date: 06 Oct, 2006 on 12:23
Christian Hennecke
Premium member
in spoc

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.os2world.com/os2files/
posts: 109
since: 27 Jan, 2001
39. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message
Paul,

I've just taken a closer look at LyX and noticed the following:

The TMP environment variable needs to be set using forward slashes in CONFIG.SYS. If it is not, configure.py and all kinds of "View" commands will fail with a message that the output file cannot be found.

The problem with TMP is that all Mozilla applications require TMP to be set with backslashes. I have reported the issue in the Mozilla news group for OS/2.

If TMP is set correctly, you also do not need to unzip the configuration file package lyx_home.zip to %HOME% anymore since LyX will successfully create the files itself. One caveat: The test for spaces in TeX file names still hangs. I was able to kill that process by pressing CTRL-C two times. The rest of the configure.py script will proceed normally.

Another problem occurs when LyX creates output for viewing. With larger files, it hogs the CPU for a long time and eats up more and more CPU until even the XCenter widgets are not updated anymore. I guess this is a problem in the Qt library.

Also, creating output via TeX will fail on all default eCS 1.2 installations. The process requires the GNU steam editor sed.exe to be installed, and apparently eCS 1.2 comes with an incompatible version that is located in \ecs\bin. It took me quite a while to find that out because you just get error messages about invalid regexp stuff. This is a general problem with ported software and I have reported it on the eCS developer mailing list.

By default, LyX uses an addtional parameter "latex" for LaTeX processing. This causes the calls to fail here. I'm using the latest tetex 3.0 port by Jun Sawataishi from Hobbes.

Also, one needs to change the DVI viewer somehow. By default, XDVI is called. This *is* available for OS/2 but requires XFree86/OS2 to be installed and running. Instructions how to use DVIPM from emTeX as a replacement would be nice.

Well, enough complaining. I'm willing to help with further testing and compiling a suitable readme.os2.

Date: 10 Oct, 2006 on 14:27
Smedles
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
40. Re:Port of LyX 1.3
Reply to this topic with quote Modify your message

Christian Hennecke (10 Oct, 2006 14:27):
Paul,

I've just taken a closer look at LyX and noticed the following:

The TMP environment variable needs to be set using forward slashes in CONFIG.SYS. If it is not, configure.py and all kinds of "View" commands will fail with a message that the output file cannot be found.

The problem with TMP is that all Mozilla applications require TMP to be set with backslashes. I have reported the issue in the Mozilla news group for OS/2.

If TMP is set correctly, you also do not need to unzip the configuration file package lyx_home.zip to %HOME% anymore since LyX will successfully create the files itself. One caveat: The test for spaces in TeX file names still hangs. I was able to kill that process by pressing CTRL-C two times. The rest of the configure.py script will proceed normally.

Another problem occurs when LyX creates output for viewing. With larger files, it hogs the CPU for a long time and eats up more and more CPU until even the XCenter widgets are not updated anymore. I guess this is a problem in the Qt library.

Also, creating output via TeX will fail on all default eCS 1.2 installations. The process requires the GNU steam editor sed.exe to be installed, and apparently eCS 1.2 comes with an incompatible version that is located in \ecs\bin. It took me quite a while to find that out because you just get error messages about invalid regexp stuff. This is a general problem with ported software and I have reported it on the eCS developer mailing list.

By default, LyX uses an addtional parameter "latex" for LaTeX processing. This causes the calls to fail here. I'm using the latest tetex 3.0 port by Jun Sawataishi from Hobbes.

Also, one needs to change the DVI viewer somehow. By default, XDVI is called. This *is* available for OS/2 but requires XFree86/OS2 to be installed and running. Instructions how to use DVIPM from emTeX as a replacement would be nice.

Well, enough complaining. I'm willing to help with further testing and compiling a suitable readme.os2.


Thanks for the detailed report and also for the entries at http://mantis.smedley.info

http://smedley.info/lyxfix2.zip (needs the dll from http://smedley.info/lyxfix1.zip) should address the issues with the TEMP environment variable.

I'll look at the other issues hopefully soon.

Cheers,

Paul.

Date: 12 Oct, 2006 on 01:05
    Port of LyX 1.3
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
All times are CET+1. < Prev. | P. 1 2 3 | Next >
Go to:
 

Powered by UltraBoard 2000 Standard Edition,
Copyright © UltraScripts.com, Inc. 1999-2000.
Home | Gallery | Forums | Services | Webmail | Archive | Links | Contact Us | About Us
© OS2 World.Com 2000-2004