On Sun, Sep 25, 2016 at 07:02:26PM -0400, Scott Kostyshak wrote:

> To reproduce on current master:
> 
> 1. open lib/doc/sk/Intro.lyx
> 2. go to Document > Settings > Fonts, check "Use non-TeX fonts" and set
> all to e.g. DejaVu Sans
> 3. File > Export > PDF (LuaTeX)
> 
> I get an error:
> 
>   ! Undefined control sequence.
>   \english@language ->\language =\l@ukenglish 
>                                               \xpg@set@language@luatex@ii 
> {uke...
>   l.222 \textenglish[variant=british]{independent}
> 
> In step 3, if instead of exporting I preview with PDF (LuaTeX), there is
> no error.

I cannot reproduce. Both export and preview work fine for me.

> Here is the diff of the exported Intro.tex files in each case (taken
> from the temporary directory):
> 
> $ diff bad/Intro.tex good/Intro.tex
> 5c5
> < \documentclass[12pt,british,english,slovak]{article}
> ---
> > \documentclass[12pt,english,british,slovak]{article}
> 57c57
> < \setotherlanguage{english}
> ---
> > \setotherlanguage[variant=british]{english}
> $

I get these same differences (and many unrelevant others related to the
different way the latex source is generated for preview and export), though.
Maybe the differences above are also related to the nice vs not-nice export,
but they do not cause any error for me.

-- 
Enrico

Reply via email to