Fonts & Character Sets ⇒ inputenc - undefined keyboard character
inputenc - undefined keyboard character
I am new to Latex. I am using MikTex 2.8, WinEdt 6, JABREF 2.6 and Windows Vista. I am creating PDFs, working from a template:
http://www-h.eng.cam.ac.uk/help/tpl/tex ... PSnPDF.zip
I get the following error sometimes when compiling code:
"in inputencoding 'latin1'."
and
"! package inputenc error: keyboard character used is undefined"
there is no other information in the error message.
After a large amount of time wasted I have found this error is due to when importing BIBTEX references straight from journal websites to JABREF (my reference manger) some of the names/ words have non-ASCII formats (eg cafe with an accent on the "e". eg2 Jurgen with two dots over the u. eg3 a hyphen that is "double length" as opposed to just "-" and so on).
Given MIKTEX gives no information on what causes these errors or where they are, it takes ages to track them down.
Am I missing a package or something? (I have asked MikTex to install all packages at the outset). Do I need to specify another package in my cls classes file?
Many Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
inputenc - undefined keyboard character
But I will try a guess and assume that you copied special characters (e. g. with accents) from a file with different encoding.
[1] View topic: Avoidable mistakes
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10