Specifying Compression

To reduce the size of the Viewer title created by MVC, you can tell MVC to compress the title that it creates. MVC allows you to specify no compression, a medium level of compression (40%), or a high level of compression (50%). The higher the compression you specify, the smaller the resulting file will be. However, the higher the compression, the longer the file will take to build.

To specify the amount of compression you want, enter the COMPRESS option in the [OPTIONS] section of your project file. To specify no compression, enter any of the following forms of this option:

COMPRESS = NO
COMPRESS = FALSE
COMPRESS = 0

To specify medium compression, you must enter the following option:

COMPRESS = MEDIUM

To specify high compression, use any of the following forms of the option:

COMPRESS = YES
COMPRESS = TRUE
COMPRESS = 1
COMPRESS = HIGH

Depending on the degree of compression you request, MVC uses either block compression or block and key-phrase compression.

Block compression works by compressing the topic data into presized units called blocks.

Key-phrase compression works by combining repeated phrases found within the source file(s). The compiler creates a phrase-table file with the .PH extension (if it doesn't find one). If the compiler finds a file with the .PH extension, it uses the file for the current compilation. This speeds compression when little text has changed since the last compilation.

Important:

Deleting the key-phrase file before each compilation prevents the compiler from using the previous file. You achieve maximum compression when you force the compiler to create a new phrase table.