1

New updates in TeX Live may have some issues. Now I have this new error with the Charis SIL font compiling with LuaLaTeX. If I change the font (say Gentium Plus) the error is gone.

LaTeX3 Error: Key 'fontspec-renderer/Renderer' accepts only a fixed
set of(LaTeX3) choices. ]

EDIT: I use Charis SIL font with

\setmainfont{Charis SIL}[ Renderer = ICU ]

to get smallcaps, just found that Renderer = ICU is the problem, without it, the problem is gone.

My concern is about what happened? I use this config for years and today failed.

EDIT 2: This is a MWE

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Charis SIL}[
Renderer = ICU
]
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\end{document}

EDIT 3: Forget about Renderer = ICU, my mistake. My point is there is some problem with fontspec and Charis SIL . I have this MWE that compiles fine in MacTeX but give errors in Ubuntu 18.04, TeX Live 2018, both updated. But if I change the font (say Gentium Plus) errors are gone.

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Charis SIL}[%{Gentium Plus}[%{Charis SIL}[
Ligatures = TeX,
]

%%% Microtype
\usepackage[activate={true,nocompatibility},final,tracking=alltext,letterspace=-10]{microtype} 

\usepackage{lipsum}
\begin{document}
\lipsum[1]

\textsc{Hello World!}
\end{document}

Errors:

Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}

And the main point is that I had use several files with similar templates, involving Charis SIL for a couple of years, but yesterday (feb 26,2019) all of them fail compile. Same files work fine if I change the font to Gentium Plus.

  • 1
    Is there a question somewhere? – DG' Feb 26 at 13:59
  • 1
    Show a complete example. – Ulrike Fischer Feb 26 at 14:01
  • 1
    ICU is not a luatex option. – Ulrike Fischer Feb 26 at 14:03
  • @UlrikeFischer How come I get smallcaps in Charis Sil that way? – tatojo Feb 26 at 14:06
  • 1
    With a current luaotfload and microtype you should load luatexbase see tex.stackexchange.com/a/476742/2388. Beside this your example compiles fine for me. – Ulrike Fischer Feb 27 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.