Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
Has anyone tried to use the French examples of KomaScript letters listed in 
the wiki. recently? I am referring, in particular, to 

ksl2nf.lyx 
ksl2pro.lyx 

listed at: http://wiki.lyx.org/Examples/KomaLetter2

when I try to view the pdf file, I get a couple of fatal LaTeX errors:

Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
(/home/stefano/temp//NF.lco
File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
)
! Undefined control sequence.
l.84 \addto
   \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...


I do not understand this error---most likely because I know next to nothing 
about this class. But that's exactly why I am trying to use the example


Help greatly appreciated.
 

Stefano
-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
 Has anyone tried to use the French examples of KomaScript letters listed in
 the wiki. recently? I am referring, in particular, to

 ksl2nf.lyx
 ksl2pro.lyx

 listed at: http://wiki.lyx.org/Examples/KomaLetter2

 when I try to view the pdf file, I get a couple of fatal LaTeX errors:

 Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
 (/home/stefano/temp//NF.lco
 File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
 )
 ! Undefined control sequence.
 l.84 \addto
   
 \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...


 I do not understand this error---most likely because I know next to nothing
 about this class. But that's exactly why I am trying to use the example


 Help greatly appreciated.


 Stefano


Well, it's bad form to reply to one's own messages, but here are further 
information:

I can get the letter sample to compile if I change the language from French to 
English in the Document settings. I suppose that's because LyX changes some 
parameter in the LaTeX preamble it produces that would otherwise conflict with 
other KomaScript settings. Is my interpretation correct? If so, what should I 
do if I want to produce letter-templates for other languages in addition to 
English?


Thanks,

Stefnao 

-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Jean-Marie Pacquet

Stefano Franchi a écrit :

On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
  

Has anyone tried to use the French examples of KomaScript letters listed in
the wiki. recently? I am referring, in particular, to

ksl2nf.lyx
ksl2pro.lyx

listed at: http://wiki.lyx.org/Examples/KomaLetter2

when I try to view the pdf file, I get a couple of fatal LaTeX errors:

Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
(/home/stefano/temp//NF.lco
File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
)
! Undefined control sequence.
l.84 \addto
  
\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...



I do not understand this error---most likely because I know next to nothing
about this class. But that's exactly why I am trying to use the example


Help greatly appreciated.


Stefano




Well, it's bad form to reply to one's own messages, but here are further 
information:


I can get the letter sample to compile if I change the language from French to 
English in the Document settings. I suppose that's because LyX changes some 
parameter in the LaTeX preamble it produces that would otherwise conflict with 
other KomaScript settings. Is my interpretation correct? If so, what should I 
do if I want to produce letter-templates for other languages in addition to 
English?



Thanks,

Stefnao 

  
I updated the Lyx KomaScript Letter2 files recently (2008-10-27) to make 
them compatible with other languages and newer versions of KomaScript. 
But, of course, you need to set your language in the preamble.

Which Lyx version and which KomaScript version are you using?

--
jmp


Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
On Thursday 27 November 2008 11:09:19 am Jean-Marie Pacquet wrote:
 Stefano Franchi a écrit :
  On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
  Has anyone tried to use the French examples of KomaScript letters listed
  in the wiki. recently? I am referring, in particular, to
 
  ksl2nf.lyx
  ksl2pro.lyx
 
  listed at: http://wiki.lyx.org/Examples/KomaLetter2
 
  when I try to view the pdf file, I get a couple of fatal LaTeX errors:
 
  Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
  (/home/stefano/temp//NF.lco
  File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA
  letter-class-option )
  ! Undefined control sequence.
  l.84 \addto
 
  \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...
 
 
  I do not understand this error---most likely because I know next to
  nothing about this class. But that's exactly why I am trying to use the
  example
 
 
  Help greatly appreciated.
 
 
  Stefano
 
  Well, it's bad form to reply to one's own messages, but here are further
  information:
 
  I can get the letter sample to compile if I change the language from
  French to English in the Document settings. I suppose that's because LyX
  changes some parameter in the LaTeX preamble it produces that would
  otherwise conflict with other KomaScript settings. Is my interpretation
  correct? If so, what should I do if I want to produce letter-templates
  for other languages in addition to English?
 
 
  Thanks,
 
  Stefnao

 I updated the Lyx KomaScript Letter2 files recently (2008-10-27) to make
 them compatible with other languages and newer versions of KomaScript.
 But, of course, you need to set your language in the preamble.
 Which Lyx version and which KomaScript version are you using?

Hi Jean-Marie,

thanks for your extremely prompt reply. I am using Lyx 1.6.0 with the version 
of KomaScript that came with the installation of Kubuntu 8.10. I am not sure 
which version it is. The class file:

-rw-r--r-- 1 root root 87668 2008-07-04 03:24 scrlttr2.cls

seems recent, but there are no version information within the file itself.

The problem I am encountering is rather peculiar: with the document language 
set to French (in the LyX settings), LaTeX does not compile the letter. If I 
change the setting to English, French, or German (the other languages I am 
interested in), everything seems to work fine.  My rather limited knowledge of 
LaTex and almost complete ignorance of the scrlttr2 class is preventing me 
from identifying the source of the error. 

I can live with this, as my main languages are English and Italian, but I 
would like to understand what's going on.

Cheers,

Stefano

   
-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Jean-Marie Pacquet

Stefano Franchi a écrit :

[...]
Hi Jean-Marie,

thanks for your extremely prompt reply. I am using Lyx 1.6.0 with the version 
of KomaScript that came with the installation of Kubuntu 8.10. I am not sure 
which version it is. The class file:


-rw-r--r-- 1 root root 87668 2008-07-04 03:24 scrlttr2.cls

seems recent, but there are no version information within the file itself.

The problem I am encountering is rather peculiar: with the document language 
set to French (in the LyX settings), LaTeX does not compile the letter. If I 
change the setting to English, French, or German (the other languages I am 
interested in), everything seems to work fine.  My rather limited knowledge of 
LaTex and almost complete ignorance of the scrlttr2 class is preventing me 
from identifying the source of the error. 

I can live with this, as my main languages are English and Italian, but I 
would like to understand what's going on.


Cheers,

Stefano

   
  

Hi Stefano,

I don't quite understand what's going on either: it obviously does 
compile for me in French. If I change the document language to American, 
it still compiles. In this case, I get Invoice no. instead of Numéro 
de facture for the ksl2pro example. If I change the document language 
to German, I get Rechnungsnummer which is OK.
I looked at the Latex code produced in my french version around the line 
that produces an error on your installation:


\makeatother

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{
\ifdim\lastskip[EMAIL PROTECTED]

\begin{document}

This compiles without problems here and my software version are:

~/Desktop$ latex ksl2pro.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./ksl2pro.tex
LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, 
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
swedish, tur

kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/koma-script/scrlttr2.cls
Document Class: scrlttr2 2004/09/16 v2.9t LaTeX2e KOMA document class

I'm no Latex guru either...
Hope this helps
--
jmp


Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
Has anyone tried to use the French examples of KomaScript letters listed in 
the wiki. recently? I am referring, in particular, to 

ksl2nf.lyx 
ksl2pro.lyx 

listed at: http://wiki.lyx.org/Examples/KomaLetter2

when I try to view the pdf file, I get a couple of fatal LaTeX errors:

Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
(/home/stefano/temp//NF.lco
File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
)
! Undefined control sequence.
l.84 \addto
   \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...


I do not understand this error---most likely because I know next to nothing 
about this class. But that's exactly why I am trying to use the example


Help greatly appreciated.
 

Stefano
-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
 Has anyone tried to use the French examples of KomaScript letters listed in
 the wiki. recently? I am referring, in particular, to

 ksl2nf.lyx
 ksl2pro.lyx

 listed at: http://wiki.lyx.org/Examples/KomaLetter2

 when I try to view the pdf file, I get a couple of fatal LaTeX errors:

 Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
 (/home/stefano/temp//NF.lco
 File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
 )
 ! Undefined control sequence.
 l.84 \addto
   
 \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...


 I do not understand this error---most likely because I know next to nothing
 about this class. But that's exactly why I am trying to use the example


 Help greatly appreciated.


 Stefano


Well, it's bad form to reply to one's own messages, but here are further 
information:

I can get the letter sample to compile if I change the language from French to 
English in the Document settings. I suppose that's because LyX changes some 
parameter in the LaTeX preamble it produces that would otherwise conflict with 
other KomaScript settings. Is my interpretation correct? If so, what should I 
do if I want to produce letter-templates for other languages in addition to 
English?


Thanks,

Stefnao 

-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Jean-Marie Pacquet

Stefano Franchi a écrit :

On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
  

Has anyone tried to use the French examples of KomaScript letters listed in
the wiki. recently? I am referring, in particular, to

ksl2nf.lyx
ksl2pro.lyx

listed at: http://wiki.lyx.org/Examples/KomaLetter2

when I try to view the pdf file, I get a couple of fatal LaTeX errors:

Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
(/home/stefano/temp//NF.lco
File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
)
! Undefined control sequence.
l.84 \addto
  
\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...



I do not understand this error---most likely because I know next to nothing
about this class. But that's exactly why I am trying to use the example


Help greatly appreciated.


Stefano




Well, it's bad form to reply to one's own messages, but here are further 
information:


I can get the letter sample to compile if I change the language from French to 
English in the Document settings. I suppose that's because LyX changes some 
parameter in the LaTeX preamble it produces that would otherwise conflict with 
other KomaScript settings. Is my interpretation correct? If so, what should I 
do if I want to produce letter-templates for other languages in addition to 
English?



Thanks,

Stefnao 

  
I updated the Lyx KomaScript Letter2 files recently (2008-10-27) to make 
them compatible with other languages and newer versions of KomaScript. 
But, of course, you need to set your language in the preamble.

Which Lyx version and which KomaScript version are you using?

--
jmp


Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
On Thursday 27 November 2008 11:09:19 am Jean-Marie Pacquet wrote:
 Stefano Franchi a écrit :
  On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
  Has anyone tried to use the French examples of KomaScript letters listed
  in the wiki. recently? I am referring, in particular, to
 
  ksl2nf.lyx
  ksl2pro.lyx
 
  listed at: http://wiki.lyx.org/Examples/KomaLetter2
 
  when I try to view the pdf file, I get a couple of fatal LaTeX errors:
 
  Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
  (/home/stefano/temp//NF.lco
  File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA
  letter-class-option )
  ! Undefined control sequence.
  l.84 \addto
 
  \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...
 
 
  I do not understand this error---most likely because I know next to
  nothing about this class. But that's exactly why I am trying to use the
  example
 
 
  Help greatly appreciated.
 
 
  Stefano
 
  Well, it's bad form to reply to one's own messages, but here are further
  information:
 
  I can get the letter sample to compile if I change the language from
  French to English in the Document settings. I suppose that's because LyX
  changes some parameter in the LaTeX preamble it produces that would
  otherwise conflict with other KomaScript settings. Is my interpretation
  correct? If so, what should I do if I want to produce letter-templates
  for other languages in addition to English?
 
 
  Thanks,
 
  Stefnao

 I updated the Lyx KomaScript Letter2 files recently (2008-10-27) to make
 them compatible with other languages and newer versions of KomaScript.
 But, of course, you need to set your language in the preamble.
 Which Lyx version and which KomaScript version are you using?

Hi Jean-Marie,

thanks for your extremely prompt reply. I am using Lyx 1.6.0 with the version 
of KomaScript that came with the installation of Kubuntu 8.10. I am not sure 
which version it is. The class file:

-rw-r--r-- 1 root root 87668 2008-07-04 03:24 scrlttr2.cls

seems recent, but there are no version information within the file itself.

The problem I am encountering is rather peculiar: with the document language 
set to French (in the LyX settings), LaTeX does not compile the letter. If I 
change the setting to English, French, or German (the other languages I am 
interested in), everything seems to work fine.  My rather limited knowledge of 
LaTex and almost complete ignorance of the scrlttr2 class is preventing me 
from identifying the source of the error. 

I can live with this, as my main languages are English and Italian, but I 
would like to understand what's going on.

Cheers,

Stefano

   
-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Jean-Marie Pacquet

Stefano Franchi a écrit :

[...]
Hi Jean-Marie,

thanks for your extremely prompt reply. I am using Lyx 1.6.0 with the version 
of KomaScript that came with the installation of Kubuntu 8.10. I am not sure 
which version it is. The class file:


-rw-r--r-- 1 root root 87668 2008-07-04 03:24 scrlttr2.cls

seems recent, but there are no version information within the file itself.

The problem I am encountering is rather peculiar: with the document language 
set to French (in the LyX settings), LaTeX does not compile the letter. If I 
change the setting to English, French, or German (the other languages I am 
interested in), everything seems to work fine.  My rather limited knowledge of 
LaTex and almost complete ignorance of the scrlttr2 class is preventing me 
from identifying the source of the error. 

I can live with this, as my main languages are English and Italian, but I 
would like to understand what's going on.


Cheers,

Stefano

   
  

Hi Stefano,

I don't quite understand what's going on either: it obviously does 
compile for me in French. If I change the document language to American, 
it still compiles. In this case, I get Invoice no. instead of Numéro 
de facture for the ksl2pro example. If I change the document language 
to German, I get Rechnungsnummer which is OK.
I looked at the Latex code produced in my french version around the line 
that produces an error on your installation:


\makeatother

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{
\ifdim\lastskip[EMAIL PROTECTED]

\begin{document}

This compiles without problems here and my software version are:

~/Desktop$ latex ksl2pro.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./ksl2pro.tex
LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, 
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
swedish, tur

kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/koma-script/scrlttr2.cls
Document Class: scrlttr2 2004/09/16 v2.9t LaTeX2e KOMA document class

I'm no Latex guru either...
Hope this helps
--
jmp


Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
Has anyone tried to use the French examples of KomaScript letters listed in 
the wiki. recently? I am referring, in particular, to 

ksl2nf.lyx 
ksl2pro.lyx 

listed at: http://wiki.lyx.org/Examples/KomaLetter2

when I try to view the pdf file, I get a couple of fatal LaTeX errors:

Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
(/home/stefano/temp//NF.lco
File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
)
! Undefined control sequence.
l.84 \addto
   \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...


I do not understand this error---most likely because I know next to nothing 
about this class. But that's exactly why I am trying to use the example


Help greatly appreciated.
 

Stefano
-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
> Has anyone tried to use the French examples of KomaScript letters listed in
> the wiki. recently? I am referring, in particular, to
>
> ksl2nf.lyx
> ksl2pro.lyx
>
> listed at: http://wiki.lyx.org/Examples/KomaLetter2
>
> when I try to view the pdf file, I get a couple of fatal LaTeX errors:
>
> Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
> (/home/stefano/temp//NF.lco
> File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
> )
> ! Undefined control sequence.
> l.84 \addto
>   
> \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...
>
>
> I do not understand this error---most likely because I know next to nothing
> about this class. But that's exactly why I am trying to use the example
>
>
> Help greatly appreciated.
>
>
> Stefano


Well, it's bad form to reply to one's own messages, but here are further 
information:

I can get the letter sample to compile if I change the language from French to 
English in the Document settings. I suppose that's because LyX changes some 
parameter in the LaTeX preamble it produces that would otherwise conflict with 
other KomaScript settings. Is my interpretation correct? If so, what should I 
do if I want to produce letter-templates for other languages in addition to 
English?


Thanks,

Stefnao 

-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Jean-Marie Pacquet

Stefano Franchi a écrit :

On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
  

Has anyone tried to use the French examples of KomaScript letters listed in
the wiki. recently? I am referring, in particular, to

ksl2nf.lyx
ksl2pro.lyx

listed at: http://wiki.lyx.org/Examples/KomaLetter2

when I try to view the pdf file, I get a couple of fatal LaTeX errors:

Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
(/home/stefano/temp//NF.lco
File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA letter-class-option
)
! Undefined control sequence.
l.84 \addto
  
\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...



I do not understand this error---most likely because I know next to nothing
about this class. But that's exactly why I am trying to use the example


Help greatly appreciated.


Stefano




Well, it's bad form to reply to one's own messages, but here are further 
information:


I can get the letter sample to compile if I change the language from French to 
English in the Document settings. I suppose that's because LyX changes some 
parameter in the LaTeX preamble it produces that would otherwise conflict with 
other KomaScript settings. Is my interpretation correct? If so, what should I 
do if I want to produce letter-templates for other languages in addition to 
English?



Thanks,

Stefnao 

  
I updated the Lyx KomaScript Letter2 files recently (2008-10-27) to make 
them compatible with other languages and newer versions of KomaScript. 
But, of course, you need to set your language in the preamble.

Which Lyx version and which KomaScript version are you using?

--
jmp


Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Stefano Franchi
On Thursday 27 November 2008 11:09:19 am Jean-Marie Pacquet wrote:
> Stefano Franchi a écrit :
> > On Thursday 27 November 2008 10:10:27 am Stefano Franchi wrote:
> >> Has anyone tried to use the French examples of KomaScript letters listed
> >> in the wiki. recently? I am referring, in particular, to
> >>
> >> ksl2nf.lyx
> >> ksl2pro.lyx
> >>
> >> listed at: http://wiki.lyx.org/Examples/KomaLetter2
> >>
> >> when I try to view the pdf file, I get a couple of fatal LaTeX errors:
> >>
> >> Class scrlttr2 Info: Letter-Class-Option `NF' loaded on input line 34.
> >> (/home/stefano/temp//NF.lco
> >> File: NF.lco 2007/03/12 v1.0 Third party LaTeX2e KOMA
> >> letter-class-option )
> >> ! Undefined control sequence.
> >> l.84 \addto
> >>
> >> \extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecomm...
> >>
> >>
> >> I do not understand this error---most likely because I know next to
> >> nothing about this class. But that's exactly why I am trying to use the
> >> example
> >>
> >>
> >> Help greatly appreciated.
> >>
> >>
> >> Stefano
> >
> > Well, it's bad form to reply to one's own messages, but here are further
> > information:
> >
> > I can get the letter sample to compile if I change the language from
> > French to English in the Document settings. I suppose that's because LyX
> > changes some parameter in the LaTeX preamble it produces that would
> > otherwise conflict with other KomaScript settings. Is my interpretation
> > correct? If so, what should I do if I want to produce letter-templates
> > for other languages in addition to English?
> >
> >
> > Thanks,
> >
> > Stefnao
>
> I updated the Lyx KomaScript Letter2 files recently (2008-10-27) to make
> them compatible with other languages and newer versions of KomaScript.
> But, of course, you need to set your language in the preamble.
> Which Lyx version and which KomaScript version are you using?

Hi Jean-Marie,

thanks for your extremely prompt reply. I am using Lyx 1.6.0 with the version 
of KomaScript that came with the installation of Kubuntu 8.10. I am not sure 
which version it is. The class file:

-rw-r--r-- 1 root root 87668 2008-07-04 03:24 scrlttr2.cls

seems recent, but there are no version information within the file itself.

The problem I am encountering is rather peculiar: with the document language 
set to French (in the LyX settings), LaTeX does not compile the letter. If I 
change the setting to English, French, or German (the other languages I am 
interested in), everything seems to work fine.  My rather limited knowledge of 
LaTex and almost complete ignorance of the scrlttr2 class is preventing me 
from identifying the source of the error. 

I can live with this, as my main languages are English and Italian, but I 
would like to understand what's going on.

Cheers,

Stefano

   
-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: Koma Script Letter (v.2) Lyx Example does not compile

2008-11-27 Thread Jean-Marie Pacquet

Stefano Franchi a écrit :

[...]
Hi Jean-Marie,

thanks for your extremely prompt reply. I am using Lyx 1.6.0 with the version 
of KomaScript that came with the installation of Kubuntu 8.10. I am not sure 
which version it is. The class file:


-rw-r--r-- 1 root root 87668 2008-07-04 03:24 scrlttr2.cls

seems recent, but there are no version information within the file itself.

The problem I am encountering is rather peculiar: with the document language 
set to French (in the LyX settings), LaTeX does not compile the letter. If I 
change the setting to English, French, or German (the other languages I am 
interested in), everything seems to work fine.  My rather limited knowledge of 
LaTex and almost complete ignorance of the scrlttr2 class is preventing me 
from identifying the source of the error. 

I can live with this, as my main languages are English and Italian, but I 
would like to understand what's going on.


Cheers,

Stefano

   
  

Hi Stefano,

I don't quite understand what's going on either: it obviously does 
compile for me in French. If I change the document language to American, 
it still compiles. In this case, I get "Invoice no." instead of "Numéro 
de facture" for the ksl2pro example. If I change the document language 
to German, I get "Rechnungsnummer" which is OK.
I looked at the Latex code produced in my french version around the line 
that produces an error on your installation:


\makeatother

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{
\ifdim\lastskip>[EMAIL PROTECTED]

\begin{document}

This compiles without problems here and my software version are:

~/Desktop$ latex ksl2pro.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./ksl2pro.tex
LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, 
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
swedish, tur

kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/koma-script/scrlttr2.cls
Document Class: scrlttr2 2004/09/16 v2.9t LaTeX2e KOMA document class

I'm no Latex guru either...
Hope this helps
--
jmp