[OS X TeX] error message about DeclareInputText or DeclareInputMath

Ross Moore ross at ics.mq.edu.au
Tue Jan 6 19:43:26 EST 2009

Hello Michael,

On 07/01/2009, at 11:02 AM, Kuo-Hsien Chang wrote:

> Dear all,
> What's wrong on those two lines in LaTex?

> Package inputenc package documentation for explanation.
> Total organic C is 2.7\%(27 g/kg^^A
> 			), total organic N is 0.2\...

This looks like you have somehow managed to get an invisible
character  ^^A  into your LaTeX source.

Use an editor that can "Zap Invisibles" to get rid of it,
and any others.

Alternatively just use the arrow-keys to step character by character
through your source.  As you pass through  (27 g/kg)  the cursor will
not move as it crosses the  ^^A , so you can find it to delete it.

Simpler alternative:  delete  kg)  and then retype it!

> The error message is that you need to provide a definition with  
> \DeclareInputText or \DeclareInputMath before using this key.

This is saying that  ^^A  isn't defined as a valid input character.
You don't want it to be, since you cannot see it!

Hope this helps,


Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114

More information about the MacOSX-TeX mailing list