I was thinking of a highly simplified TeX based language for structuring - only for structuring text into chapters and sections, including images, footnotes, cross references and so on. This would be easily translatable into formats like HTML, XML, TeX, and my first tests on writing a parser for this are fine.