[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XeTeX/LuaTeX and inputenc package.
From: |
Hongyi Zhao |
Subject: |
Re: XeTeX/LuaTeX and inputenc package. |
Date: |
Mon, 1 May 2023 16:39:25 +0800 |
On Mon, May 1, 2023 at 4:25 PM Arash Esbati <arash@gnu.org> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > According to the documentation and specifications of certain TeX
> > engines (such as XeTeX and LuaTeX), they may not use the inputenc
> > package to process Unicode characters, and instead use different
> > methods to handle them. In these engines, the
> > `\DeclareUnicodeCharacter` command may be ignored because they use
> > different Unicode mappings. If similar issues are encountered when
> > using these engines, which alternative commands or solutions may need
> > to be used to handle Unicode characters properly, say, for the
> > following one?
> >
> > \usepackage[utf8]{inputenc}
> > %solve unicode error
> > \DeclareUnicodeCharacter{2212}{\textendash}
>
> I'm not sure if I understand your use case correctly: You're using
> lualatex as engine and want to replace MINUS SIGN (#x2212) with EN DASH
> (#x2013) in your text?
Just an example, I meant to say, in these Unicode based engines, how
should we to tackle the not so good supported Unicode characters, if
any.
> Best, Arash
Zhao
- Re: XeTeX/LuaTeX and inputenc package., Arash Esbati, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package.,
Hongyi Zhao <=
- Re: XeTeX/LuaTeX and inputenc package., Arash Esbati, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package., Hongyi Zhao, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package., Arash Esbati, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package., Hongyi Zhao, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package., Arash Esbati, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package., Hongyi Zhao, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package., Arash Esbati, 2023/05/01
- Re: XeTeX/LuaTeX and inputenc package., Hongyi Zhao, 2023/05/01