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] --- error.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'error.c') diff --git a/error.c b/error.c index 2dae220..7fe97ec 100644 --- a/error.c +++ b/error.c @@ -333,9 +333,14 @@ static void do_error(int code, va_list ap) { case err_pfnoafm: fpos = *va_arg(ap, filepos *); sp = va_arg(ap, char *); - sprintf(error, "No metrics available for Type 1 font '%.200s'", sp); + sprintf(error, "no metrics available for Type 1 font '%.200s'", sp); flags = FILEPOS; break; + case err_chmnames: + sprintf(error, "only one of html-mshtmlhelp-chm and " + "html-mshtmlhelp-hhp found"); + flags = PREFIX; + break; case err_whatever: sp = va_arg(ap, char *); vsprintf(error, sp, ap); -- cgit v1.1