Red Hat Bugzilla – Bug 428526
lyx: error using simplecv.layout, missing simplecv documentclass
Last modified: 2008-07-31 21:48:29 EDT
Description of problem:
the simplecv layout is invalid
Version-Release number of selected component (if applicable):
Steps to Reproduce:
dialogue pops up with an error, which is also repeated on stderr:
$ lyx /usr/share/lyx/examples/simplecv.lyx
Warning: Document class not available
The layout file requested by this document,
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.
simplecv.layout is usable.
This layout used to work with the Fedora 7 version of lyx.
The easiest solution is to package simplecv that is now a latex package
present at CTAN and require that from lyx. The package is really small so the
dependency is no problem (previously it was packed with lyx).
From the lyx LaTeXConfig:
Notes: The simplecv document class is intended to provide a simple yet elegant
way to write your curriculum vitae (resume). It is rather minimalist, but has
nice features like bibliography support (useful for academics). This is a
repackaging of the cv class that has been available with LyX for a long time.
The change of name has been made necessary by the existence of another cv
class on CTAN. An example curriculum vitae created using this document class
can be found in the examples.
Tomorrow I will try to package this for Fedora.
Done (bug #428686).
This same error occurs for a *lot* of the templates included with LyX (at least
with Fedora 7). Are they all fixed for Fedora 8? Was SimpleCV the only one?
The error reported in this bug is related with a latex template that was part
of the lyx package and that now is packaged separately. In order to allow
users from previous releases to open the documents based on that template
without further installations tex-simplecv was created.
The issue reported in #4 is different (I think) and it has to do with latex
packages that we (Fedora) do not (yet) carry. There are some of those that are
already packaged but you are not there yet for all templates.
I have tex-simplecv installed, how do I work on my CV? I still get the same error.
Please don't make me use MS Word for my CV!
Tools -> Reconfigure
and then restart lyx?
It works here.
Aha, that works :)
This is fixed then - thanks very much.
lyx-1.5.6-1.fc9 has been submitted as an update for Fedora 9
lyx-1.5.6-1.fc8 has been submitted as an update for Fedora 8
lyx-1.5.6-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
lyx-1.5.6-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.