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.

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}
$

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to