87
New Features
HTMLDOC now provides limited cookie support via the "--cookies" command-line option and via
the cookies passed by a browser in CGI mode.
•
HTMLDOC now features a CGI mode which provides PDF conversion functionality for web servers.
•
HTMLDOC now generates a document outline for each input file or URL in webpage mode; the
outline shows the title for the file and links to the first page containing that file.
•
HTMLDOC now offers an "htmlsep" output type which generates HTML output with a separate file
for each heading in the table of contents.
•
HTMLDOC now includes LINK elements in generated HTML so that intelligent browsers like
Mozilla can show next/prev/contents/top buttons.
•
HTMLDOC now supports the BORDERCOLOR attribute for tables, a MSIE extension.
•
The "strict HTML" mode now reports unresolved local links.
•
Added support for HP LaserJet 5000 and Xerox DocuPrint 2000/100 printer commands.
•
Added multiple header/footer image support.
•
Links to external URLs are now resolved so that the output file can be moved without affecting them.
•
Changes
The command-line now allows --fontsize values from 4 to 26 to match the GUI.
•
Now use a 0.001 point tolerance when checking for content that overflows the page/cell.
•
HTMLDOC no longer enables interpolation of 2-color images.
•
The default vertical alignment of images is "BOTTOM" to match the HTML specification.
•
Paragraph spacing is only applied to the first table after a paragraph.
•
The tabloid media size was 10 points too short in length.
•
The table formatter now subtracts the outside border and padding widths for percentage-based widths.
This helps to eliminate "truncation or overlapping" errors.
•
Dropped support for FLTK 1.0.x when building the GUI.
•
The default vertical alignment is now "bottom" inside paragraphs to correctly align different sized text
and images to the baseline.
•
Indexed images are now written as PDF image objects when encryption is enabled; this works around
a serious bug in Acrobat 6 which tries to decrypt the colormap of in-line images twice, causing some
very strange colors!
•
Table captions can now be bottom aligned.
•
Blocks now break at the bottom of a page if the current line height + standard line height goes below
the bottom of the page; this prevents images with captions from getting erroneously moved to the top
of the next page.
•
Character entities are now supported in HTML attributes and unknown or invalid character entities
are left as plain text.
•
Changed handling of NOWRAP for some tables.
•
The --permissions option now supports multiple permission keywords in a single invocation.
•
Dropped support for MacOS 9 and earlier.
•
HTMLDOC now breaks between images that are too large to fit on a single line, to match the
behavior of Mozilla/Netscape (STR #7).
•
HTMLDOC now handles XHTML input more cleanly.
•
HTMLDOC no longer specifies an interpolation preference for images in PostScript or PDF output
(STR #8)
•
The DT element no longer applies an italic style (PR #5178)
•
HTMLDOC now ignores content inside a STYLE element (PR #5183)
•
Bug Fixes
Switching between landscape and portrait orientations would cause margin creepage.
•
Images did not default to align=bottom, and the align=bottom line spacing calculation was incorrect.
•
Whitespace before a link was underlined.
•
HTMLDOC 1.8.29 Software Users Manual
C-4
New Features
86
Fixed a table column sizing bug.
•
HTMLDOC didn't read back the HTTP response properly in all situations.
•
Fixed some more PNG transparency cases.
•
The PageBoundingBox comments in PostScript output did not account for the back page when
duplexing was enabled.
•
HTMLDOC generated an incorrect image mask for some images.
•
The first page of each chapter did not use the custom page number if it was placed inside the heading.
•
HTMLDOC did not reset the rendering cache before each page when producing N-up output; this
caused font errors in some cases that prevented the document from printing or displaying properly.
•
Eliminated a common cause of "table too wide" formatting errors,
•
Fixed a bug when applying a table background color to a cell without a border that cross a page
boundary.
•
Fixed some calls to strcpy with overlapping arguments.
•
The names object was never set when the name objects were written.
•
Character entities were not decoded/encoded inside HTML comments.
•
The current heading was not always correctly substituted when used in the page header or footer.
•
When converting web pages from the GUI, the table-of-contents page number preferences were
incorrectly used.
•
PDF page effects/transitions were not put in the right part of the page dictionary, causing them not to
be used by the PDF reader application.
•
The _HD_OMIT_TOC attribute was not being honored for HTML output.
•
HTMLDOC now handles "open" messages from the MacOS X Finder (STR #3)
•
The GUI did not load or save the "strict HTML" setting (STR #6)
•
The HTML version of the title page did not set the ALT attribute for the title image (STR #10)
•
The HTML version of the table of contents did not correctly nest the lists in the parent items (STR
#10)
•
Borders around left and right-aligned images were not drawn properly (PR #5112)
•
Grayscale PDF output was not truly grayscale (STR #32)
•
Fixed a table-of-contents bug introduced in 1.8.24rc1 which caused the PDF document outline and
actual TOC pages were not rendered properly (STR #37)
•
Links were not rendered due to a bug that was introduced in 1.8.24rc2 (STR #41)
•
Changes in HTMLDOC v1.8.23
New Features
HTMLDOC now supports a full alpha channel in PNG files.
•
HTMLDOC now reports an error when a table, image, or section of text overflows into an adjacent
table cell or off the right edge of the page.
Changes
•
The NEW SHEET page comment now breaks on N-up boundaries when N is greater than 1.
Bug Fixes
•
HTMLDOC tried to format tables with no rows or columns. While the HTML in technically not in
error, it is not exactly something you'd expect someone to do.
•
HTMLDOC didn't report an error when it could not find the specified title page file.
•
HTMLDOC could crash if it was unable to create its output files.
•
HTMLDOC could crash when writing HTML output containing unknown HTML elements.
•
HTMLDOC could crash when writing HTML output if the output document had no title.
•
The htmlGetText() function used a fixed-size (10k) buffer which allowed for a buffer overflow. The
new code (from HTMLDOC 1.9) allocates its buffer instead.
•
The header/footer text was not centered properly if the header/footer font size was different than the
default body font size.
•
HTMLDOC 1.8.29 Software Users Manual
Bug Fixes
C-5
68
The GUI interface incorrectly localized URLs when doing a "save as" operation.
•
The PNG background color was not correct for PNG files using <= 8 bits per pixel.
•
Changes in HTMLDOC v1.8.22
New Features
Now support many Windows code pages in addition to ISO charsets.
Bug Fixes
•
HTMLDOC could crash when checking if a URL is already cached.
•
HTMLDOC didn't adjust the top margin when changing the page header if the comment didn't appear
at the top of a page.
•
HTMLDOC didn't initialize the right number of TOC headings.
•
When using a logo image in the header, the header was placed too low on the page.
•
Changes in HTMLDOC v1.8.21
New Features
HTMLDOC now supports heading levels 1 to 15.
•
HTMLDOC now allows the author to omit headings from the TOC using the _HD_OMIT_TOC
attribute.
•
HTMLDOC now supports remote book files when running from the command-line.
•
HTMLDOC now supports hexadecimal character constants (ÿ)
Changes
•
HTMLDOC now calculates the resolution of the body image using the printable width instead of the
page width.
•
HTMLDOC should now compile out-of-the-box using the Cygwin tools.
•
HTMLDOC no longer inserts whitespace between text inside DIV elements.
•
HTMLDOC now supports quoted usernames and passwords in URLs.
•
HTMLDOC now defaults unknown colors to white for background colors and black for foreground
colors. This should make documents that use non-standard color names still appear readable.
Bug Fixes
•
"make install" didn't work in the fonts directory.
•
"€" didn't work, while "€" did: the character name table was not sorted properly...
•
Links didn't always point to the right page in PDF output.
•
XRX comment output could crash HTMLDOC.
•
Fixed-width columns in tables could be resized by HTMLDOC.
•
When writing PostScript commands, some printers reset their duplexing state when a new
setpagedevice command is received; we now cache the current duplex state and change it only as
needed.
•
The MEDIA SIZE comment didn't adjust the printable size for the current landscape setting.
•
HTMLDOC placed the header one line too high.
•
When continuing a chapter onto the next page, H3 and higher headings would be indented the wrong
amount.
•
Changes in HTMLDOC v1.8.20
HTMLDOC 1.8.29 Software Users Manual
C-6
Bug Fixes
72
New Features
New --nup and NUMBER-UP options for PostScript and PDF output.
•
HTMLDOC now logs HTML errors.
•
HTMLDOC now supports the A3, B, Legal, and Tabloid size names.
•
HTMLDOC now supports embedding of the base Type1 fonts in PostScript and PDF output.
Changes
•
The HTML parser now allows BODY to auto-close HEAD and visa-versa.
Bug Fixes
•
HTMLDOC wouldn't compile using GCC under HP-UX due to a badly "fixed" system header file
(vmtypes.h).
•
Generating a book without a table-of-contents would produce a bad PDF file.
•
The Xerox XRX comments used the wrong units for the media size, points instead of millimeters.
•
IMG elements with links that use the ALIGN attribute didn't get the links.
•
Header and footer comments would interfere with the top and bottom margin settings.
•
Fixed a bug in the htmlReadFile() function which caused user-provided title pages not to be displayed
in PS or PDF output.
•
The table-of-contents would inherit the last media settings in the document, but use the initial settings
when formatting.
•
Changes in HTMLDOC v1.8.19
New Features
Now support the "subject" meta variable.
•
Changes
Updated the HTML parser to use HTML 4.0 rules for embedding elements inside a LI.
•
Now check for a TYPE attribute on EMBED elements, so that embedded Flash files do not get treated
as HTML.
•
Now put the COPYRIGHT meta data in the Author field in a PDF file along with the AUTHOR meta
data (if any).
•
No longer embed the prolog.ps command header when PostScript commands are not being embedded
in the output.
•
HTMLDOC now properly ignores the HTML 4.0 COL element.
•
Bug Fixes
Squeezed tables were not centered or right-aligned properly.
•
Cells didn't align properly if they were the first things on the page, or if there were several intervening
empty cells.
•
The preferred cell width handling didn't account for the minimum cell width, which could cause some
tables to become too large.
•
Remote URLs didn't always resolve properly (like the images from the Google web page...)
•
The font width loading code didn't force the non-breaking space to have the same width as a regular
space.
•
PRE text didn't adjust the line height for the tallest fragment in the line.
•
HTMLDOC tried to seek backwards when reading HTML from the standard input.
•
The media margin comments did not work properly when the current media orientation was
landscape.
•
HTMLDOC 1.8.29 Software Users Manual
New Features
C-7
64
Changes in HTMLDOC v1.8.18
New Features
Added support for remote HTML title pages.
•
Changes
Now accept all JPEG files, even if they don't start with an APPn marker.
•
Now only start a new page for a chapter/filter if we aren't already at the top of a page.
•
Bug Fixes
ROWSPAN handling in tables has been updated to match the MSIE behavior, where the current
rowspan is reduced by the minimum rowspan in the table; that is, if you use "ROWSPAN=17" for all
cells in a row, HTMLDOC now treats this as if you did not use ROWSPAN at all. It is unclear if this
is what the W3C intends.
•
The "--webpage" option didn't force toc levels to 0, which caused a bad page object reference to be
inserted in the PDF output file.
•
Background colors in nested tables didn't always get drawn in the right order, resulting in the wrong
colors showing through.
•
The HEADER page comment didn't set the correct top position in landscape orientation.
•
Changes in HTMLDOC v1.8.17
New Features
Improved table-of-contents generation, with chapter headings at the top of new TOC pages and page
numbers based on the header/footer string.
•
Added new "--no-localfiles" option to disable access to local files for added security in web services.
•
Long lines in book files can not be broken up using a trailing backslash.
•
Added a modern "skin" to the GUI interface.
•
Changes
Made some changes in how COLSPAN and ROWSPAN are handled to better match how Netscape
and MSIE format things.
•
HTMLDOC now handles .book files with CR, LF, or CR LF line endings.
•
Changed the TOC numbering to use 32-bit integers instead of 8-bit integers...
•
Now handle local links with quoted (%HH) characters.
•
The command-line interface no longer sets PDF output mode when using --continuous or --webpage.
•
HTMLDOC now opens HTML output files in binary mode to prevent extra CR's under Windows, and
strips incoming CR's from PRE text.
•
Now support inserting the current chapter and heading in the table-of-contents headers and footers.
•
Bug Fixes
The table cell border and background were offset by the cellpadding when they should only be offset
by the cellspacing.
•
The buffer used for periods that lead up to the page number in the table-of-contents was not large
enough for a legal-size document in landscape format.
•
If a book only contained chapter headings, the PDF bookmarks would be missing the last chapter
heading.
•
HTMLDOC 1.8.29 Software Users Manual
C-8
Changes in HTMLDOC v1.8.18
Documents you may be interested
Documents you may be interested