Holger Zebner wrote:
> Hi,
> I have scrlttr2.layout and the template koma-letter2.lyx installed.
> 
> When I Do "New from template" -> koma-letter2.lyx I get a 
> message saying:
> 
> "Unsing the default document class, because the class scrlettr2 is unknown."
> 
> I don't know why it says scrlettr2 instead of scrlttr2.


It works for me (LyX 3.1.3 on Debian Linux). Lets see:

The scrlttr2.layout starts with

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrlttr2
\begin_preamble

also scrlttr2 is the layout file. Looking there we find

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrlttr2]{letter (koma-script v.2)}
# KOMA scrlettr2 textclass definition file.
# Juergen Spitzmueller <[EMAIL PROTECTED]>, 2003/2/17.


ok.

Maybe your scrlttr2.layout file reeds 

#  \DeclareLaTeXClass[scrlettr2]{letter (koma-script v.2)}

in the second line? Change the [scrlettr2] to [scrlttr2] and try again.

(If you are on Unix/Linux, copy scrlttr2.layout to ~/.lyx/layouts and change
there).

 -- 
> Debian testing/unstable, build from Knoppix 3.3

BTW: how do I build a Debian from Knoppix?

Günter

-- 
G.Milde at web.de

Reply via email to