Export to a monolithic html-file has been made and support for utf-8 encoding for the Russian language has been added.
About the program: BullDoc is a system for creating documentation. It is a php complex that can be used without a web server via the command line, or as a site running apache. Documentation sources are stored in text files and can be placed in svn. Documentation is exported to completely static html (one file per page or one monolithic file), for posting on the site and for downloading. There is an export to the help file chm.
More about the changes:Added language support utf8_rus. Added wrapper functions for working with strings in templates and support for both many byte encodings and traditional 8-bit ones
Export to a monolithic html-file has been made, links to sections and table of contents links correctly indicate corresponding anchors in the text. Images and styles are stored next to the book file and are correctly displayed when viewing a file from disk. Such an export option is convenient for printing a book.
')
Some notesI wrote that the available Microsoft CHM compiler does not support UTF-8. It seems there is no such encoding for content. If suddenly you are on the cruise, and I'm wrong, please correct me.
I
thought a lot about printing documents from the browser in general, and from this system in particular. In my opinion, the most decent-looking printout (and the most decent pdf) will turn out when printing (to a printer or to pdf via a pdf-printer (Acrobat Distiller)) of a monolithic html file containing the entire documentation.
I nakovyryal several libraries for direct output to PDF, but I am skeptical of them in advance, because I am afraid that the Russian text will not stand out and be copied into the pocket, at least (if Russian letters are embedded, like the embedded charset), or they will generally be krakozyabrami, as a maximum). Also, I have not yet seen a neat html to pdf converter, even for English. However, I must dig these tools, because Exporting to PDF is a useful thing.
HTML To PDF ConversionCreating Dynamic PDF files using HTML and PHPHTMLDOC (binary sell, GPL source)
Standard Details:www.bulldoc.ruTasks, objectives and features of the programFAQStep by step exampleDocumentationDownload