I know, it looks confusing, but:
Illustrator can output SVG, which is ideal for line art (in other words,
your music sheets, text and notation) and -
If I was going to display music sheets on the internet, my first thought
would be to lay out the design in Illustrator. Cut and paste the original
file direct into Illy. From Illy, I could output a SVG graphic of the
musical sheet. Illy can also output HTML instead - or GIF files, or both.
Whatever. Or, make a PDF using Illy. The PDF will certainly keep the
spacing.
Now you have three options for maintaining the spacing from just one
original using a simple cut and paste operation. Plus, the results will
be visually superior to <pre>, although <pre> will work.
While I agree that SVG is a potentially good format, it has even less
general support than, say, PNG.
Why are you so big on SVG? You are contradicting yourself. No, really,
you are. SVG is promising, but so was VRML (at least, acc. to the
proponents of VRML). Where is VRML?
Also, can Illustrator *import* SVG? It seems to me that for SVG to become
truly feasible as a vector format, then the premier vector illustration
program, Adobe Illustrator (which I happen to think kicks ass and is the
*only* reason I keep a Windows partition around) ought to be able to
*read* SVG files. Admittedly, last time I checked was Illustrator 9,
which, AFAIK, could not read SVG files. How about 10? Or that new one,
whatever it is called -- QP? XL? DM? I dunno, some set of letters, I think.
Although truthfully, if I were going to create sheet music for the Web, I
would never use Illustrator! I would use a sheet music creation tool of
which there are several, and which also export PDF format sheet music.
Allright, later...