I want to make cross references for sections to be symbols but after using the description given I got error report saying keyboard character used is undefined in inputencoding 'utf8'. What might be the way out?
If you attempt to typeset utf8 encoded test in LaTeX (with a standard TeX engine underneath) using the
So what can be done to resolve this for a particular document?
Otherwise I fear the only answer is use a different character or use a TeX-based engine that is fully unicode enabled and can access unicode fonts with large charactersets natively.
A more elaborate documentation on this can be found in the documented source code:
I had the same problem when a friend wanted to typeset a book on Latin poetry and wanted to directly use vowels with length marks such as ō and ŏ (longa and brevis).
The trick I found has been wrapped up in a package,
is exactly the same as doing
but spares from the burden of hunting through the Unicode table.
Of course one has to make sure that what's in the replacement text can indeed be produced by the fonts we are loading, which might be the case for a "section mark".
Using this package has another advantage; suppose you want to switch to XeLaTeX or LuaLaTeX for processing the document; then a character such as 𝔽 may not correspond to something printable. This particular one depends whether you're loading
will be correct in all cases: (pdf)LaTeX, XeLaTeX or LuaLaTeX.