1 |
Dear all |
2 |
|
3 |
I just emerged lyx and it doesn't work. The issue is class files are |
4 |
missing (one example is scrbook.cls). It should be installed together |
5 |
with lyx but it didn't. |
6 |
|
7 |
I need to install a package containing this file. to which package this |
8 |
file belongs to? I googled around without luck |
9 |
|
10 |
Thanks. The complete description of the issue is as follows: |
11 |
|
12 |
G. Milde's suggestion on solving my lyx problem: |
13 |
> On 6.05.08, Zhang Weiwu wrote: |
14 |
> |
15 |
>> > error message in opening tutorial with lyx. The opened tutorial is not |
16 |
>> > printable. see below: |
17 |
>> |
18 |
> ... |
19 |
> |
20 |
>> > Warning: Document class not available |
21 |
>> > ---------------------------------------- |
22 |
>> > The layout file requested by this document, |
23 |
>> > scrbook.layout, |
24 |
>> > is not usable. This is probably because a LaTeX |
25 |
>> > class or style file required by it is not |
26 |
>> > available. |
27 |
>> |
28 |
> ... |
29 |
> |
30 |
> |
31 |
>> > zhangweiwu@esmeralda:~$ locate scrbook.layout |
32 |
>> > /usr/share/lyx/layouts/scrbook.layout |
33 |
>> |
34 |
> |
35 |
> scrbook.layout is the LyX layout file, for printed output it requires the |
36 |
> *LaTeX class file* ``scrbook.cls``: |
37 |
> |
38 |
> milde@ilse:/tmp > locate scrbook.cls |
39 |
> /usr/share/texmf-texlive/tex/latex/koma-script/scrbook.cls |
40 |
> |
41 |
> Looking at Help>LaTeXConfig, you can find out which LaTeX classes and |
42 |
> packages are found by the latest Tools>Reconfigure run. Here I have: |
43 |
> |
44 |
> Found: scrartcl: yes, scrreprt: yes, scrbook: yes |
45 |
> |
46 |
> Fix: |
47 |
> |
48 |
> Find out which Gentoo package provides the file scrbook.cls and install |
49 |
> it (or install all classes that are marked as required, recommended or |
50 |
> suggested by LyX). |
51 |
|
52 |
-- |
53 |
gentoo-user@l.g.o mailing list |