From 7a4700f5f5afcea1580ec4fcfb628afe6beb3e6b Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 11 Dec 2006 19:43:10 +0000 Subject: Support for the MS HTML Help system in the HTML back end. As yet I don't know how to write out a .CHM directly, but I am at least able to have the HTML back end write out the three auxiliary files which enable a .CHM to be generated using the MS HTML Help compiler. [originally from svn r6991] --- bk_html.c | 517 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- doc/Makefile | 6 +- doc/chm.but | 19 +++ doc/index.but | 27 +++ doc/intro.but | 7 +- doc/output.but | 126 +++++++++++++- doc/running.but | 29 ++-- error.c | 7 +- halibut.h | 1 + inputs/test.but | 5 + 10 files changed, 700 insertions(+), 44 deletions(-) create mode 100644 doc/chm.but diff --git a/bk_html.c b/bk_html.c index a1b46f6..11d37d3 100644 --- a/bk_html.c +++ b/bk_html.c @@ -10,6 +10,13 @@ * sensible. Perhaps for the topmost section in the file, no * fragment should be used? (Though it should probably still be * _there_ even if unused.) + * + * - In HHK index mode: subsidiary hhk entries (as in replacing + * `foo, bar' with `foo\n\tbar') can be done by embedding + * sub-