LyXA few Problems with LyX on Linux

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
stupac
Posts: 2
Joined: Wed Jul 20, 2011 12:43 am

A few Problems with LyX on Linux

Post by stupac »

Greetings!

I'm fairly new to LyX. I've been using it on Windows for some time, but my weak work computer ran Windows so slow that I finally switched to a lightweight Slackware 13.37 (actually Salix OS for those familiar with it) installation with XFCE.

I finally got LyX 2.0.0 installed using SlackBuilds(http://slackbuilds.org/repository/13.37/office/lyx/) and lots of muddling around with Qt4 libraries. I do have 2 problems though:

1. I'm missing almost all the document classes. For example, I get the error:

Code: Select all

The selected document class
	article
requires external files that are not available.
The document class can still be used, but the
document cannot be compiled until the following
prerequisites are installed:
	article.cls
See section 3.1.2.2 (Class Availability) of the
User's Guide for more information.
I've tried Tools->Reconfigure and running configure.py from the installation directory to no avail. Any ideas what is wrong? The only document classes I seem to have are a few with "(SGML)" at the end of them.

2. I can't seem to convert to PDF either. File->Export->LaTeX (pdflatex) says successful but doesn't open a PDF or seem to output any PDF file. The "view" button is also disabled.

Sorry these are probably newb questions, but I couldn't find information regarding these issues anywhere. Thanks in advance for any assistance!
Last edited by stupac on Sat Jul 23, 2011 9:01 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

A few Problems with LyX on Linux

Post by localghost »

Make sure that you have a TeX distribution installed. A quick check for the presence of a compiler can be done via command line.

Code: Select all

pdflatex -v

Best regards and welcome to the board
Thorsten
stupac
Posts: 2
Joined: Wed Jul 20, 2011 12:43 am

Re: A few Problems with LyX on Linux

Post by stupac »

That was stupid of me. I should have known better. Thank you for pointing that out localghost! I was so used to just having miktex automatically downloaded and installed on Windows. I went ahead and installed texlive and everything is now working perfectly.

Thank you so much, and sorry for the newb mistake.
Post Reply