Bug 428526 - lyx: error using simplecv.layout, missing simplecv documentclass
Summary: lyx: error using simplecv.layout, missing simplecv documentclass
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lyx
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 428686
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-12 21:24 UTC by Jonathan Wakely
Modified: 2008-08-01 01:48 UTC (History)
1 user (show)

Fixed In Version: 1.5.6-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-30 17:37:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Wakely 2008-01-12 21:24:07 UTC
Description of problem:

the simplecv layout is invalid

Version-Release number of selected component (if applicable):

lyx-1.5.3-1.fc8.x86_64

How reproducible:

Always

Steps to Reproduce:

lyx /usr/share/lyx/examples/simplecv.lyx

 
Actual results:
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,
simplecv.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.


Expected results:

simplecv.layout is usable.

Additional info:

This layout used to work with the Fedora 7 version of lyx.

Comment 1 José Matos 2008-01-12 21:37:32 UTC
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:

CTAN: macros/latex/contrib/simplecv

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.


Comment 2 José Matos 2008-01-12 21:38:17 UTC
Tomorrow I will try to package this for Fedora.

Comment 3 José Matos 2008-01-14 16:07:25 UTC
Done (bug #428686).

Comment 4 Penelope Fudd 2008-02-13 01:35:37 UTC
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?

Thanks!

Comment 5 José Matos 2008-02-13 10:55:44 UTC
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.

Comment 6 Jonathan Wakely 2008-07-21 14:01:07 UTC
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!



Comment 7 José Matos 2008-07-21 15:08:26 UTC
What about:
Tools -> Reconfigure
and then restart lyx?

It works here.

Comment 8 Jonathan Wakely 2008-07-26 23:15:30 UTC
Aha, that works :)
This is fixed then - thanks very much.

Comment 9 Fedora Update System 2008-07-30 17:20:35 UTC
lyx-1.5.6-1.fc9 has been submitted as an update for Fedora 9

Comment 10 Fedora Update System 2008-07-30 17:23:11 UTC
lyx-1.5.6-1.fc8 has been submitted as an update for Fedora 8

Comment 11 Fedora Update System 2008-08-01 01:47:01 UTC
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.

Comment 12 Fedora Update System 2008-08-01 01:48:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.