SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But, I did get LyX 1.6.0 to install with ./configure, make, make install. And, it seems OK now. I was able to work out why my file was getting truncated... When I manually added page breaks it was OK.
Also, even though I cannot print directly from LyX, I can now export to .pdf and print from pdf viewers, so that's OK, too.
This is the only time I can remember having any issues with a SlackBuild. Usually, they work flawlessly.
The only thing I have left to do is use 'Menu Editor' to manually add LyX.
Because LyX was installed without a SlackBuild, it doesn't show up in the list when I try to use pkgtool to remove it. I'm happy to try rerunning the SlackBuild script (without installing). There's a lot of output (as you know).
I did get LyX 1.6.0 to install with ./configure, make, make install...
Also, even though I cannot print directly from LyX, I can now export to .pdf and print from pdf viewers, so that's OK, too.
I was going to suggest that next but wanted to find out why the package would not build if possible... a project for more of your free time I suppose.
Mine prints without any issues, I am using CUPS to manage my printers on the local network. If you do not have CUPS going that might be a good next step for you - but glad you have Lyx working! I know you will be happier with LyX 1.6, makes many things easier.
I have had a few stumbles with LyX, almost always related to some obscure LaTeX syntax or issue. For example, if you create a document with many floats in it, it will eventually choke. The simple fix is to add a few \clearpage instructions every once in a while. You will find many such tips online - well worth the effort to stick with it though!
I'm rerunning the SlackBuild script now. I'll post the last section of output inside code tags to save space. If you or anyone else wants, I'll rerun the SlackBuild again overnight and try
./lyx_qt4.SlackBuild 2>&1 /home/joegumbo/output_LyX_SBo and see if I can post it somewhere accessible online.
Greeat to meet you too, astrogeek!! Good luck with your project, too!
Thanks for your help and patience!!
-Joe
Last edited by joegumbo; 01-24-2009 at 02:15 PM.
Reason: Mispelled SlackBuild
Pardon my cajun-french, but #$!@$#!%!!$$$$!!*&%^%!
There is no 'ChangeLog' file in LyX 1.6... I had commented that out of my own build script but made no note of it and MY degree of idiocy has been such that I did not even see the change when I checked and double-checked my slackbuild script - and did not run a diff on it!
Find this line:
Code:
cp -a ABOUT-NLS ANNOUNCE ChangeLog COPYING INSTALL* NEWS
...and remove the 'ChangeLog' filename from it and build your LyX package...
I'll graciously accept your offer to share the blame - one person could not have missed such a simple thing for so long - it took a team effort!
Good luck with LyX. I might also suggest that you get the SlackBuild for JPicEdt from SBo, a great little java application for creating postscript graphics - a natural for use with LyX!
I have also written a guide for using pstricks and raster graphics with LyX, intended only for our in-house use but if you would like a copy I'll put it where you can grab one. Not in depth but gets you going quickly and solves an old Acrobat problem with a simple work-around.
I'll take your advice and install JPicEdt. Thanks yet again for this tip.
As for the guide, I'd really feel like I was taking too much advantage. You've been too kind already! You've been so generous with your time and expertise, I'm at a loss for words.
WOW! Recognition! Yes I am actually! Until you get to know me better...
The JPicEdt Slackbuild is pretty much version agnostic as long as your Java is recent enough - and 12.1 is fine.
A note: I had some early frustrations with JPicEdt not working the way I expected... I gave in and read the Help pages that are included and it was my expectations that were skewed - not the app. If you seem to have problems with hatch, fill, etc. not doing what you want, read the fine help pages... it works great - produces excellent illustrations for LyX docs!
And be sure to set Edit >> Preferences >> Default formatter to PSTricks, add \usepackage{pstricks} to the preamble of documents that use these drawings and name your work with .pst filename extension.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.