  Since any string theory involves a path integration on the world-sheet
metric, their partition functions are volume forms on the moduli space of genus
g Riemann surfaces M_g, or on its super analog. It is well known that modular
invariance fixes strong constraints that in some cases appear only at higher
genus. Here we classify all the Weyl and modular invariant partition functions
given by the path integral on the world-sheet metric, together with space-time
coordinates, b-c and/or beta-gamma systems, that correspond to volume forms on
M_g. This was a long standing question, advocated by Belavin and Knizhnik,
inspired by the Serre GAGA principle and based on the properties of the Mumford
forms. The key observation is that the Bergman reproducing kernel provides a
Weyl and modular invariant way to remove the point dependence that appears in
the above string determinants, a property that should have its superanalog
based on the super Bergman reproducing kernel. This is strictly related to the
properties of the propagator associated to the space-time coordinates. Such
partition functions Z[J] have well-defined asymptotic behavior and can be
considered as a basis to represent a wide class of string theories. In
particular, since non-critical bosonic string partition functions Z_D are
volume forms on M_g, we suggest that there is a mapping, based on bosonization
and degeneration techniques, from the Liouville sector to first order systems
that may identify Z_D as a subclass of the Z[J]. The appearance of b-c and
beta-gamma systems of any conformal weight shows that such theories are related
to W algebras. The fact that in a large N 't Hooft-like limit 2D W_N minimal
models CFTs are related to higher spin gravitational theories on AdS_3,
suggests that the string partition functions introduced here may lead to a
formulation of higher spin theories in a string context.
