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&M University              Fax: (979) 845-0458
305B Bolton Hall                  [EMAIL PROTECTED]
College Station, TX 77843-4237

Reply via email to