.BOOK
files. The buttons on the bottom of the
HTMLDOC window allow you manage these files and generate
formatted documents.
Button | Description |
---|---|
Help | Displays this on-line help. |
New | Creates a new .BOOK file. |
Open... | Opens an existing .BOOK file. |
Save | Saves the current .BOOK file to disk. |
Save As... | Saves the current .BOOK file to disk using
the name you specify. |
Generate | Generates the current .BOOK file into a HTML,
PDF, or PostScript file. |
Close | Exits HTMLDOC. |
Contents | Loading and Saving Books
Structured HTML files use heading elements (H1
, H2
,
etc.) to delineate chapters and headings within a document.
Click on the Add File(s)... button to add one or more HTML or Markdown
files to your .BOOK
file.
Click on the Add URL(s)... button to add one or more URLs to your
.BOOK
file.
Highlight the file(s) in the input file list and then click on the Delete button to remove one or more source files from your document. The files are removed from your document but are not deleted from disk.
Highlight the file(s) in the input file list and then click on the Edit... button to edit one or more source files in your document. By default this starts the gedit editor under Linux, the bbedit editor under macOS, and the Notepad editor under Windows.
The editor can be changed in the Options Tab.
The letterhead image can be shown in the header or footer of pages in the PostScript and PDF output files. Click on the Browse button to select a letterhead image file using the file chooser.
The logo image can be shown in the header or footer of pages in the PostScript and PDF output files. Click on the Browse button to select a logo image file using the file chooser.
The title file or image is used for the title page. Click on the Browse button to select a title file using the file chooser.
Contents | Loading and Saving Books
The output tab specifies where your document will be generated, the output format, and some of the output options.
HTMLDOC can generate a single EPUB, HTML, PDF, or PostScript file, or a series of files to a directory when generating HTML or PostScript output.
Click on the File radio button to select single file output. Click on the Directory radio button to generate multiple files to a directory.
The output file is the EPUB, HTML, PostScript, or PDF file you wish to generate from your source files. Click on the Browse button to select an output file using the file chooser.
Click on the corresponding Output Type radio button to select an output format. You can select the PostScript language level in the PS Tab and the PDF version in the PDF Tab.
When generating PostScript or PDF files you can choose to convert all images to grayscale. This is necessary for many Level 1 printers that do not support color images and can reduce the size of output files considerably.
Click in the Grayscale check box to enable or disable grayscale output.
The title page is the first page in your generated file. Click in the Title Page check box to turn the title page on or off.
JPEG compression is a great way to reduce the size of large photographic or continuous-tone images. It is supported when generating PDF, PostScript Level 2, and PostScript Level 3 output. HTMLDOC uses JPEG compression when the output image cannot be reduced to 256 colors or less.
Click in the JPEG Big Images check box to enable or disable JPEG compression.
Drag the JPEG Quality slider to change the JPEG quality setting. The JPEG quality setting determines the relative quality of the compressed image. Since JPEG is a lossy compression algorithm, higher compression generally yields lower quality. Typically a quality of 75 or higher provides excellent image quality with a high amount of compression.
PDF 1.2, PDF 1.3, PDF 1.4, and Level 3 PostScript files can be compressed using Flate (a.k.a. ZIP) compression to substantially reduce the size of files. Drag the Compression slider to set the amount of compression to use.
Unlike JPEG, the Flate algorithm is lossless and will not cause any loss of visual quality at any level of compression.
Contents | Loading and Saving Books
The page tab defines the page header, footer, size, and margins for PostScript and PDF output.
The page size option is only available for PostScript and PDF output. HTMLDOC supports the following standard page size names:
Click on the Page Size arrow button to select a standard page size. You can specify a custom page size by double-clicking on the page size text and entering the page width and length separated by the letter "x". Append the letters "in" for inches, "mm" for millimeters, or "cm" for centimeters.
Note: This option does not set the page size on the printer. It only generates pages using the specified size. See the PS Tab to enable printer commands for PostScript printers.
Click in the 2-Sided check box to select double-sided (duplexed) output.
Note: This option does not select duplexing on the printer. It only generates pages with the left/right margins swapped on even numbered pages and forces all chapters (and the table-of-contents) to start on an odd-numbered page. See the PS Tab to enable printer commands for PostScript printers.
Click in the Landscape check box to select landscape output.
The left, right, top, and bottom margins can be changed by clicking in the appropriate text field and entering a new margin. Append the letters "in" for inches, "mm" for millimeters, or "cm" for centimeters.
Select the desired text from each of the option buttons to customize the header and footer for the document/body pages. The left option buttons set the text that is left-justified, the middle buttons set the text that is centered, and the right buttons set the text that is right-justified.
The left and right header and footer are swapped automatically when generating duplexed output.
The Number Up chooser selects the number of document pages that will appear on each output page. Click on the chooser to select a different number of pages.
Contents | Loading and Saving Books
Contents | Loading and Saving Books
#RRGGBB
. Click on the Lookup... button to
pick the color graphically.
#RRGGBB
. Click on the Lookup... button to
pick the color graphically.
#RRGGBB
. Click on the Lookup... button to
pick the color graphically.
Contents | Loading and Saving Books
The font size value is in points (there are 72 points per inch).
The Embed Fonts check box controls whether or not fonts are embedded in PostScript and PDF output.
Contents | Loading and Saving Books
The Include Xerox Job Comments check box controls whether or not the output files contain Xerox job comments. Click in the check box to enable or disable the job comments.
Job comments are available with all levels of PostScript output.
Contents | Loading and Saving Books
The Document page mode displays only the document pages. The Outline page mode displays the table-of-contents outline as well as the document pages. The Full-Screen page mode displays the document pages on the whole screen; this mode is used primarily for presentations.
The Single page layout displays a single page at a time. The One Column page layout displays a single column of pages at a time. The Two Column Left and Two Column Right page layouts display two columns of pages at a time; the first page is displayed in the left or right column as selected.
The Include Links check box controls whether or not hyperlinks are included in PDF output.
Contents | Loading and Saving Books
The security tab allows you to enable PDF document encryption and security features.
The Encryption buttons control whether or not encryption is performed on the PDF file. Encrypted documents can be password protected and also provide user permissions.
The Permissions buttons control what operations are allowed by the PDF viewer.
The Owner Password field contains the document owner password, a string that is used by Adobe Acrobat to control who can change document permissions, etc.
If this field is left blank, a random 32-character password is generated so that no one can change the document using the Adobe tools.
The User Password field contains the document user password, a string that is used by Adobe Acrobat to restrict viewing permissions on the file.
If this field is left blank, any user may view the document without entering a password.
Contents | Loading and Saving Books
The default browser width is 680 pixels which corresponds roughly to a 96 DPI display. The browser width is only used when generating PostScript or PDF files.
Directories are separated by the semicolon (;) so that drive letters and URLs can be specified.
Check the Tooltips button to enable tooltips on GUI controls.
Check the Strict HTML button to enable strict HTML conformance checking in HTMLDOC.