Featured Book

LaTeX Beginners Guide

Who is online

In total there are 10 users online :: 1 registered, 0 hidden and 9 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Yahoo [Bot] and 9 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

LyX with TeX Live 2010 in Fedora 12

Add tags Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.

LyX with TeX Live 2010 in Fedora 12

Postby kruvalig on Thu May 13th, 2010

I install texlive with instruction on this
http://fedoraproject.org/wiki/Features/TeXLive page and now get error
(texlive 2010 as i undestand this is a developing texlive):

Code: Select all  •  Open in writeLaTeX
 The layout file requested by this document,
 article.layout,
 is not usable. This is probably because a LaTeX
 class or style file required by it is not
 available. See the Customization documentation
 for more information.
 LyX will not be able to produce output.


If i use http://fedoraproject.org/wiki/Releases/FeatureTexLive
(texlive 2007, default in fedora 12), then all work.

When i first start lyx with NEW tex i get this log file
https://fedoraproject.org/wiki/File:Configure.log_new_texlive
When i first start lyx with OLD tex i get this log file
https://fedoraproject.org/wiki/File:Configure.log_old_texlive
And there is no section
Code: Select all  •  Open in writeLaTeX
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2005/12/01
+checking for document class article

in log for new texlive.

How can i solve this problem? I know than in new tex exist document
class article.
kruvalig
 
Posts: 1
Joined: Thu May 13th, 2010

Re: LyX with TeX Live 2010 in Fedora 12

Postby meho_r on Thu May 13th, 2010

This may or may not be the answer you're looking for, but I'll write it anyway, maybe it'll be useful :)

Firstly, I wouldn't use TL2010 because it is still not stable (unless you're planning to test it).

Secondly, I'm no longer a fan of prepackaged version of TL since distros usually cannot keep pace with updates on CTAN. If you need updates, you better use TL manager for that (which cannot be used if TL is installed from repos/rpms/debs).

Thirdly, you may try to download TL2009 and install it locally, which I personally consider the best way to use it. I've written a quick guide how I did it on Mandriva and Ubuntu, so you may try to see if it works on Fedora too. Here's the link.

Note 1. LyX may still have problems with some document classes, but not with standard ones. You may search this forum for more infos.

Note 2. If you try the approach I suggested, you may need to install some packages from Fedora repos because they are dependecies for LyX and/or other LaTeX editors. It's OK. Also, you don't have to remove previously installed TL2007 or TL2010. The only important step is to set the path in ~/.bashrc, as mention in the post on Mandriva forum (you may also need to run source ~/.bashrc command once too after you set the path).

Note 3. After you've installed TL2009 locally, set the path to binaries in LyX: Tools > Preferences > Paths > PATH Prefix (e.g., since I installed TL2009 in my home folder, the path to binaries on my machine is: /home/dervis/TeXLive/bin/x86_64-linux). After that press "Apply", "Save" and restart LyX. Then open it again, go to "Tools > TeX Information", check "Show path", and press "Rescan". If all is set correctly, LyX should find the new path and use TL2009 binaries.
User avatar
meho_r
 
Posts: 823
Joined: Tue Aug 7th, 2007


Return to LyX

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests