ttlogo.jpg Free TextTransformer Projects
Home
Text2HTML
Wikipedia
Yacc2TT
Delphi parser
Java parser
C preprocessor
C parser
HTML4
Utilities
XML-Writer
MergeHTML
RtfCheck
Zahl2Nombre
MIME parser
Spamfilter
Additional Examples
Free components
  Minimal Website   Impressum

MergeHTML

The project MergeHTML.ttp merges a set of HTML files into a common HTML file.

Software documentation often consists of an index file with a chapter overview with references to a set of HTML files with the individual chapters. To be able to print the complete documentation or to be able to look for certain expressions in the documentation, it would be desirable to have all chapters in a single file.

The desire for such a file was expressed in the boost user forum for the spirit documentation:

http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/index.html

For this example at first the project MergeHTML.ttp was written, with the hope that it also can easily be adapted to other similar cases. When the files are merged no attention is payed on the consistency of the links. For the purposes mentioned above this isn't necessary. For the exact representation of the result the "theme" folder with the pictures and css-files would have to be installed parallel to the result file. This is not the case here. The raw result of the merged spirit documentation can be seen here:

spirit_docs.html

 to the top