We present some recent developments concerning general aspects of the thermodynamical formalism. Through simple arguments, we exhibit some basic entropies that have most of the thermodynamic properties of the Shannon entropy. Their stabilities are also analysed, and several points concerning nonextensive thermodynamics are discussed.