NOVELTY - Treating a coal formation in situ comprises: (1) providing heat from at least one heat source to at least one portion of the formation; (2) transferring the heat from the source(s) to a selected section: (3) controlling the heat from the heat source(s) so that an average temperature within at least a majority of the selected section is less than 375degreesC and (4) producing a mixture.    USE - Used for producing hydrogen, synthesis gas, carbon dioxide, energy and ammonia used for fertilizer (all claimed). The synthesis gas is combusted as fuel and is used to generate electricity, to make steam to run turbines and also in energy generation units like molten carbonate fuel cell, solid oxide fuel cell or other types of fuel cells. Carbon dioxide obtained from the formation is stored in deep cold beds, used to desorb coal bed methane. The spent portion of the coal formation is used to store and/or sequester other materials such as carbon dioxide.    ADVANTAGE - A mixture of relatively high quality hydrocarbon products, hydrogen and other products is obtained. High temperature pumping of liquids from production well is reduced or eliminated, which decreases production cost. Heat provided through the production well prevents condensation and/or refluxing of production fluid, increases heat input into the formation and/or increases formation permeability at or proximate the production well. Since permeability and/or porosity increases in the heated formation, produced vapors flow considerable distances through the formation with relatively little pressure differential. The hydrocarbons are pyrolyzed within a larger area of portion using fewer heat sources, as spacing between the heat sources is selected to increase the effectiveness of the heat source, thereby economic viability of selected in situ conversion process for hydrocarbon is increased. Uniformity of heat distribution in selected section of the formation is increased. The pressure of hydrogen in produced fluid is controlled, such that large amount of fluids having improved quality is provided.    DETAILED DESCRIPTION - INDEPENDENT CLAIMS are included for the following:    (1) in situ method for heating a coal formation with an oxidizing fluid;    (2) in situ method for producing hydrogen from a coal formation, where the hydrogen partial pressure within the mixture is greater than 0.5 bar;    (3) forming heater wells in a coal formation which involves forming a well bore using magnetic tracking and providing a heating mechanism within the well bore;    (4) installing a heater well into a coal formation;    (5) a system configured to heat a coal formation;    (6) a mixture produced from a portion of a coal formation which comprises olefin content and average carbon number of less than 35;    (7) in situ production of synthesis gas (823) from a coal formation;    (8) forming a spent portion of a formation within a coal formation;    (9) sequestering carbon dioxide within a coal formation;    (10) in situ production of energy from a coal formation;    (11) producing ammonia using a coal formation; and    (12) treating hydrocarbons in at least a portion of a coal formation.    DESCRIPTION OF DRAWING(S) - The figure shows the schematic diagram of using pyrolysis water to generate synthesis gas in a formation.    Heat source (801)    Synthesis gas (823)