About prefix "
wh-
"Whc also accepts the parameters below prefixed with "
wh-
". For example, it acceptscollapse-toc
as well aswh-collapse-toc
. This prefix is required when whc is embedded in XMLmind DITA Converter, XMLmind Ebook Compiler, XMLmind XSL Utility and XMLmind XML Editor.
Parameter | Value | Description |
---|---|---|
|
String. A valid CSS property value. No default. |
This kind of parameter may be used to override any of the
default values of the CSS variables specified in any of the
For
example, the main body { ... --navigation-width: 33%; ... } The #wh-navigation { ... width: var(--navigation-width); ... } Therefore parameter More examples in "Getting started". |
|
Default value:
|
Specifies whether an " This automatic " Note that the actual file suffix
used for this file is not always " |
|
Default value:
|
Specifies whether the TOC should be initially collapsed. |
|
A language code conforming RFC
3066. Examples: Default value: |
Specifies the language used when an XHTML input page does not
specify a |
|
Filename or absolute URI of an image file. A relative filename is relative to the current working directory. |
Specifies the favicon to be added to all the XHTML pages decorated by the compiler. This file is copied to
Example: -p favicon wh_resources/favicon.png causes
the following <link href="_wh/user/favicon.png" rel="icon" type="image/png" /> |
|
Default value:
|
Specifies whether words looking like numbers are to be indexed. Examples of such number-like words:
|
|
Default value:
|
By default, the navigation pane of the generated Web Help uses fonts and colors of its own, which will generally differ from those used for the content of the Web Help. Setting
Basically this parameter is a shorthand for: -p --navigation-font-family inherit \ -p --navigation-font-size inherit \ -p --navigation-color inherit \ -p --navigation-background-color inherit See above |
|
Relative or absolute URI. A relative URI is relative to the URI of a page of the Web Help. Default value: absolute URI of the corresponding file (minified but not “slim”) found on the Google CDN. |
Specifies the location of the JavaScript file containing jQuery. Example:
Specifying
an " |
|
Default value:
|
Specifies whether all jQuery files should be copied to
By default, the jQuery files are accessed from the Web (typically from a CDN). Note that this parameter is applied
after JQuery has been possibly customized using parameter |
|
The name of a layout. Default value:
|
Selects a layout for the generated Web Help. For now,
only 3 layouts are supported: |
|
Default value:
|
Specifies whether the generated Web Help should be “responsive”, that is, whether it should adapt its layout to the size of the screen. |
|
" Default value:
" |
Specifies which language should be used for the messages (tab labels, button tool tips, etc) of the generated Web Help. Default value " Value " A language code such as |
|
Default value:
|
Specifies whether stemming should be used to implement the search facility. By default, stemming is used whenever possible, that is,
The main language of the XHTML pages to be compiled is
specified by the |
|
Filename or absolute URI of a CSS file. A relative filename is relative to the current working directory. |
Specifies the user's CSS stylesheet which is to be added to an XHTML page decorated by the compiler. This file is copied
to Sample
user's CSS -p user-header wh_resources/header.html \ -p user-footer wh_resources/footer.html \ -p user-css wh_resources/header_footer.css \ -p user-resources wh_resources/header_footer_files |
Filename or absolute URI of an XHTML file. A relative filename is relative to the current working directory. |
Specifies the user's footer which is to be added to each XHTML page decorated by the compiler. The content of the
Same remark as for
parameter Sample user's footer -p user-header wh_resources/header.html \ -p user-footer wh_resources/footer.html \ -p user-css wh_resources/header_footer.css \ -p user-resources wh_resources/header_footer_files More examples in "Getting started". |
|
|
Filename or absolute URI of an XHTML file. A relative filename is relative to the current working directory. |
Specifies the user's header which is to be added to each XHTML page decorated by the compiler. The content of the
If a user's header
references resources (e.g. image files), then these resources must
either be referenced using absolute URLs or these resources must be
found in a user's resource directory and parameter
Example:
Sample user's header -p user-header wh_resources/header.html \ -p user-footer wh_resources/footer.html \ -p user-css wh_resources/header_footer.css \ -p user-resources wh_resources/header_footer_files More examples in "Getting started". |
|
Filename or absolute " |
Specifies a user's resource directory which is to be
recursively copied to
This directory typically contains image files referenced by the user's header, footer or CSS stylesheet. Sample user's resource directory -p user-header wh_resources/header.html \ -p user-footer wh_resources/footer.html \ -p user-css wh_resources/header_footer.css \ -p user-resources wh_resources/header_footer_files More examples in "Getting started". |