Formal relationships among statistical mechanics, multifractal analysis, and dynamical systems with weaker conditions than the existence of Markov partitions are presented. The hypotheses we consider are Bowen's expansiveness and specification property, so that more general dynamical systems than, for instance, mixing hyperbolic systems can be included in our formalism.