A study of the acid-catalyzed hydrolysis of cellulose dissolved in ionic liquids and the factors influencing the dehydration of glucose and the formation of humins.