Heating paper to a yellowish smoke
What you've performed is, technically, "thermal decomposition of cellulose", or pyrolysis. During heating, there are large number of changes producing many different chemicals, so the smoke you saw was a mixture of different chemicals. 

Pyrolysis is used to produce many industrial chemical, such as "wood alcohol" (methanol), and during gasoline shortages, to run internal combustion engines.