Is there an equivalent command to \DeclareUnicodeCharacter
for LuaTeX that allows me to define alias commands for special UTF-8/Unicode characters? I am using a custom Fraktur font that uses Unicode's private use area for the definition of ligatures.
I can enter those characters into my editor (Sublime Text 2) using copy-and-paste. LuaTeX correctly displays the ligatures in the output, but in the editor they are displayed as empty rectangles. This makes the source code hard to read.
I know that in pdfLaTeX you can define commands for Unicode characters using
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{hexcode}{\alias}
so you can simply write \alias
instead of the Unicode character itself.
But this approuch doesn't work for LuaTeX. Is there another way to achieve this?
You can find the Fraktur font (Normalfraktur UNZ1-genormt) on this website (German).
\DeclareUnicodeCharacter
. @JLDiaz No. Having to use a Fraktur font in my text editor would be odd.