Using a truetype font in a lualatex

Haines Brown haines at histomat.net
Mon Jul 11 14:55:58 CEST 2022


On Mon, Jul 11, 2022 at 01:55:25PM +0200, Herbert Voss wrote:
> 
> 
> Am 11.07.22 um 12:23 schrieb Haines Brown:
> > 
> > But a difficulty remains. The stylizations in square bracket produce
> > error. If I comment all the lines enclosed in square brackts the
> > Dunhill font is properly diplayed. However if the BoldFont and
> > BoldFeataures lines are present it results in an error.
> > 
> >    ! LaTeX3 Error: The key 'fontspec-opentype/   BoldFont          '
> >    is unknown
> >    (LaTeX3)        and is being ignored.
> 
> Update your TeX distribution. Looks like an old fontspec file.
> With \listfiles as first line in the document you should get something
> like this  (at the end of the logfile and output)
> 
> 
> *File List*
> 
> article.cls 2021/10/04 v1.4n Standard LaTeX document class
> ...

Herbert, if I put \listfiles into the preamble, the log file does 
produce *File List". It differs a bit from your example. It has the 
lines:

  ...
  fontspec.sty    2020/02/21 v2.7i Font selection for XeLaTeX and 
  LuaLaTeX
  fontspec-luatex.sty    2020/02/21 v2.7i Font selection for XeLaTeX and LuaLaTeX
    fontenc.sty
  fontspec.cfg
    fix-cm.sty    2020/11/24 v1.1t fixes to LaTeX
    ts1enc.def    2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file 

Not sure what your "output" refers to . These lines do not appear in 
the PDF.

I'm running TeXLive 2021. Do you believe updating to 2022 will 
resolve the problem? A file dated 2020.02 does not seem particularly 
"old."

Haines


More information about the tex-live mailing list.