On 21 February 2016 at 08:15, Dirk Laurie <[email protected]> wrote:
> If the document contains certain UTF-8 characters, e.g. an em
> dash, and the font does not have them, the characters are not
> displayed. Some tools give a warning message, some even abort
> with an error.
>
> In many cases lualatex can get around this if you say
> \usepackage[utf8]{luainputenc}.
>
>
> What does one do in plain luatex?
>
using luainputenc (and so disabling luatex's support for utf8) is hitting
the missing character
with a very large sledgehammer.
In luatex you could use the virtual font support to essentially add the
missing characters as virtual entries or just use the classic tex technique
of active characters.
\catcode"2014\active
\def^^^^2014{whatever you want to fake a dash with}
David