Hi,
I have a strange problem with inputenc. I've got it accidentally
updating my document in some place which looks to be not related to the
problem (a listing that doesn't have offending character). I'm unable to
write more text before that place to not to get that error:
! Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding `latin9'.
(...)
You need to provide a definition with \DeclareInputText
or \DeclareInputMath before using this key.
It is weird, because seems to be related to the text content (e.g. a
word replaced with some other word with the same length doesn't cause an
error). For example change "AAAA:" to "yyyy:" in a corresponding
document to get rid the error of. The attached file looks quite strange,
but I had problem with a reproduction of a problem.
I spotted that the problem occurs only when there is a Polish national
character in a document header (e.g. \rhead{\bfseries ę}). I don't know
why this is a problem. I have set UTF8 encoding in a document. Problem
reproducible with Lyx 2.0.3 and a following document:
http://timeoff.wsisiz.edu.pl/tmp/mla/problem-with-inputenc-and-listings.lyx
Is it a know bug (and in which program/module)?
Regards
Marcin