diff --git a/console/tidy.c b/console/tidy.c index 000dee1..9337ee3 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -494,7 +494,7 @@ static Bool hasPickList( TidyOption topt ) */ static ctmbstr ConfigCategoryName( TidyConfigCategory id ) { - if (id >= TidyMarkup && id <= TidyInternalCategory) + if (id >= TidyDiagnostics && id <= TidyInternalCategory) return tidyLocalizedString(id); fprintf(stderr, tidyLocalizedString(TC_STRING_FATAL_ERROR), (int)id); diff --git a/include/tidyenum.h b/include/tidyenum.h index 4ddace1..999a20b 100644 --- a/include/tidyenum.h +++ b/include/tidyenum.h @@ -87,11 +87,17 @@ extern "C" { /** Codes for populating TidyConfigCategory enumeration. */ #define FOREACH_TIDYCONFIGCATEGORY(FN) \ - FN(TidyMarkup) /**< Markup options: (X)HTML version, etc */ \ FN(TidyDiagnostics) /**< Diagnostics */ \ - FN(TidyPrettyPrint) /**< Output layout */ \ - FN(TidyEncoding) /**< Character encodings */ \ - FN(TidyMiscellaneous) /**< File handling, message format, etc. */ \ + FN(TidyDisplay) /**< Affecting screen display */ \ + FN(TidyDocumentIO) /**< Pertaining to document I/O */ \ + FN(TidyEncoding) /**< Relating to encoding */ \ + FN(TidyFileIO) /**< Pertaining to file I/O */ \ + FN(TidyMarkupCleanup) /**< Cleanup related options */ \ + FN(TidyMarkupEntities) /**< Entity related options */ \ + FN(TidyMarkupRepair) /**< Document repair related options */ \ + FN(TidyMarkupTeach) /**< Teach tidy new things */ \ + FN(TidyMarkupXForm) /**< Transform HTML one way or another */ \ + FN(TidyPrettyPrint) /**< Pretty printing options */ \ FN(TidyInternalCategory) /**< Option is internal only. */ diff --git a/man/tidy1.xsl.in b/man/tidy1.xsl.in index 541bf52..81bdd0f 100644 --- a/man/tidy1.xsl.in +++ b/man/tidy1.xsl.in @@ -251,28 +251,53 @@ There were errors. -.SS HTML, XHTML, XML options +.SS Document Display options - markup + display + +.SS Document In and Out options + + document + +.SS File Input-Output options + + file .SS Diagnostics options diagnostics +.SS Encoding options + + encoding + +.SS Cleanup options + + cleanup + +.SS Entities options + + entities + +.SS Repair options + + repair + +.SS Transformation options + + transform + +.SS Teaching Tidy options + + teach + .SS Pretty Print options print -.SS Character Encoding options - - encoding - -.SS Miscellaneous options - - misc - +