lyx: missing TeX class "aa"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
texlive-base (Debian) |
Fix Released
|
Unknown
|
|||
texlive-extra (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
$ lyx-qt /usr/share/
result in a dialog reporting:
Textclass error
The document uses a missing TeX class "aa".
LyX will not be able to produce output.
The user gets the same message when he starts lyx and selects
File|New_
The same problem afflicts IEEEtran, aastex, docbook, and so on.
Running "dpkg-reconfigure lyx-common" does not help.
Running Edit|Reconfigure does not help.
$ dpkg -l \*lyx\*
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii lyx 1.3.6-1ubuntu4 High Level Word Processor
ii lyx-common 1.3.6-1ubuntu4 High Level Word Processor - common files
ii lyx-qt 1.3.6-1ubuntu4 High Level Word Processor - Qt frontend
un lyx-xforms <none> (no description available)
In Help|Extended_
that the .cls file has to be downloaded from an ftp site. The same
goes for the other missing classes, presumably.
Given that aa.lyx is a template shipped in the -common package, I would
expect all the required classes to be included in that package or in
one of the packages upon which it Depends. It turns out that the
required classes aren't packaged at all! It would be much better if
they were. (Please consider this a wish to that effect.)
Finding out why the basic templates don't work requires reading many
long winded help files.
In order to use the basic templates the user has to learn how to
install new classes into LaTeX. This is far from easy for a newbie.
Changed in lyx: | |
assignee: | nobody → motumedia |
Changed in lyx: | |
assignee: | motumedia → motu |
Changed in lyx: | |
status: | Unconfirmed → Confirmed |
Changed in lyx: | |
status: | Needs Info → Confirmed |
Changed in lyx (Debian): | |
status: | Unknown → Fix Released |
affects: | texlive-extra (Ubuntu) → texlive-base (Ubuntu) |
affects: | lyx (Debian) → texlive-base (Debian) |
affects: | texlive-base (Ubuntu) → texlive-extra (Ubuntu) |
Your're right. IMHO, the examples should be changed from the LyX to use the correct classes which comes in texmf/tex/ latex/.
/usr/share/
This seems more a problem of the examples directory being packaged rather than the classes. As far as I know from being a latex user,
such classes (old .sty files) never came with specific classes/styles from .org like IEEE por ACM. We always had to dowwnload them
and set environment variables such as TEXINPUTS.
If one changes the example (aa_example.lyx) from
\textclass aa
to
\textclass article
the example works fine, showing that the template where not based on standard LaTeX classes.