I use TeX Live. See my example:
\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage[english]{babel}
\begin{document}
Check ligatures: first % here I have ligature for "fi"
\end{document}
I have Unicode symbol here: fi
. When I compile the above LaTeX file I get:
! Package ucs Error: Unknown Unicode character 64257 = U+FB01
Then I apply the LaTeX system recommendation and compile the following file:
\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage[english]{babel}
\DeclareUnicodeCharacter{FB01}{fi}% Here I defined a Unicode ligature
\begin{document}
Check ligatures: first
\end{document}
But when I compile this LaTeX file I get:
! Missing number, treated as zero. <to be read again> F l.4 \DeclareUnicodeCharacter{FB01}{fi}
So my question is: How can I input ligatures in a LaTeX file using just the ligature's Unicode symbol?