This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 232840 - lyx: can't handle its templates
lyx: can't handle its templates
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: lyx (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Rex Dieter
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-18 14:18 EDT by Penelope Fudd
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-21 09:24:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Penelope Fudd 2007-03-18 14:18:26 EDT
Description of problem:
Try opening up a new document from each of the templates, and you'll find that
not many work, either with an error "The document uses a missing TeX class
"xxx", LyX will not be able to produce output" on loading, or an error "Package
babel Error: You haven't defined the language ENGLISH yet."

Version-Release number of selected component (if applicable):
lyx-1.4.4-2.fc6

How reproducible:
Always

Steps to Reproduce:
1.Start lyx
2.Select 'File/New from template'
3.Try them all
  
Actual results:
Errors

Expected results:
No errors

Additional info:
This may be upstream, but it needs to be fixed.
Comment 1 Penelope Fudd 2007-03-18 14:50:13 EDT
The babel error occurs when you try 'view/DVI' or view/anything from the menu.
Comment 2 Penelope Fudd 2007-03-18 14:56:31 EDT
That's with the IEEEtran.lyx template, for example.
Comment 3 Rex Dieter 2007-03-19 09:02:05 EDT
Right, these are templates for given latex classes, which as you found out, are
not all installed (or even available) by default in Fedora.

For the record, many of the templates *do* work :) including: 
beamer-*
docbook-*
hollywood
letter
slides

Are you suggesting we remove the templates that don't work out of the box?

Comment 4 Penelope Fudd 2007-03-19 20:30:20 EDT
I was hoping to use lyx to help write my scientific report so I could hand in a
professional looking piece of work today, but the appropriate templates aren't
working, and attempting to write a paper from scratch with an unfamiliar program
is no picnic.  I temporarily gave up and used openoffice.

If the templates that don't work out of the box are removed, a new user will
have a more positive experience (everything works), but will think that lyx is a
useless toy (few templates), when in fact it's pretty powerful.

A better solution is to figure out what other latex classes have to be installed
to make everything in lyx work, package them up either separately or as part of
the normal lyx package, and have lyx depend on them.

I am a LyX and LaTeX newbie, and I don't know squat about TeX.  I came across
LyX just last week, and thought it was the greatest thing since sliced bread. 
But then I tried to use it, and the bugs (well, misconfigurations, or maybe
unpackaged files) just kept getting in my way.

I don't want to be harsh, but the linux world doesn't need any more half-working
packages; we're here to beat Microsoft, not just equal them.
Comment 5 Rex Dieter 2007-03-21 09:18:06 EDT
Thanks for your constructive criticism, well said.

> A better solution is to figure out what other latex classes have to be 
>installed to make everything in lyx work

In your particular case, tetex-IEEEtran is available, so
$ yum install tetex-IEEEtran
and running lyx menu: Tools->Reconfigure does the trick.  

I'll double check availability for all the other template classes as well, and
add them as package requirements.  

Unfortunately, some classes aren't available in Fedora (yet).  When/if they do
become available, I'll add them as Required dependencies for lyx.
Comment 6 Rex Dieter 2007-03-21 09:24:52 EDT
%changelog
* Wed Mar 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-3
- +Requires: tetex-IEEEtran (#232840)

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