Installing Htmldoc Windows
This document describes how to use the HTMLDOC software, version 1.9. HTMLDOC reads HTML and Markdown source files or web pages and generates corresponding EPUB, HTML, PostScript, or PDF files with an optional table of contents. HTMLDOC can be used as a standalone application, in a batch document processing environment, or as a web-based report generation application. HTMLDOC is open source software under the terms of version 2 of the GNU General Public License. No restrictions are placed upon the output produced by HTMLDOC. Like many programs, I developed HTMLDOC in response to a need my company had for generating high-quality documentation in printed and electronic forms. For a while I used FrameMaker® and a package from sgi that generated 'compiled' Standard Generalized Markup Language ('SGML') files that could be used by the Electronic Book Technologies ('EBT') documentation products; EBT was bought by INSO who was bought by Stellent TM who apparently has dropped the whole product line.
Download After Burner Climax Pc World. When sgi stopped supporting these tools I turned to INSO, but the cost of their tools was prohibitive to my small business. In the end I decided to write my own program to generate the documentation. HTML seemed to be the source format of choice since WYSIWYG HTML editors are widely (and freely) available and at worst you can use a plain text editor.
That's what I did: downloaded htmldoc executable (msi) and installed it in C: wamp bin apache Apache2.2.17 cgi-bin. As I'm on windows, I don't think I can do symlink so I put it directly here. I executed htmldoc.exe, which opened briefly a windows and closed it (I supposed it wrote the keys in the registry). HTML Conversion Software. Contribute to htmldoc development by creating an account on GitHub.
I needed HTML output for documentation on my web server, PDF for customers to read and/or print from their computers, and PostScript for printing needs. The result of my efforts is the HTMLDOC software which runs on Linux®, macOS®, Microsoft® Windows®, and most UNIX® operating systems. Among other things, this software users manual is produced using HTMLDOC. HTMLDOC used to be available under a commercial end-user license agreement from my former company, Easy Software Products. While that company is no longer in business, I continue to maintain HTMLDOC in my spare time. This manual is organized into tutorial and reference chapters and appendices: • - Introduction • - Using HTMLDOC • - Command-Line Reference • - HTML Reference • - License Agreement • - Book File Format HTMLDOC includes code to encrypt PDF document files using the RC4 algorithm with up to a 128-bit key. While this software and code may be freely used and exported under current US laws, other countries may restrict your use and possession of this code and software.
HTMLDOC is copyright © 1997-2017 by Michael R Sweet. See for the terms of use. This software is based in part on the work of the Independent JPEG Group and FLTK project. This chapter describes all of the command-line options supported by HTMLDOC.
The basic command-line usage for HTMLDOC is:% htmldoc options filename1.html. FilenameN.md ENTER% htmldoc options filename.book ENTER The first form converts the named HTML or Markdown files to the specified output format immediately. The second form loads the specified.book file and displays the HTMLDOC window, allowing a user to make changes and/or generate the document interactively. If no output file or directory is specified, then all output is sent to the standard output file. On return, HTMLDOC returns an exit code of 0 if it was successful and non-zero if there were errors.
The following command-line options are recognized by HTMLDOC. The -d option specifies an output directory for the document files. This option is not compatible with the EPUB or PDF output formats. The -f option specifies an output file for the document. The -t option specifies the output format for the document and can be one of the following: Format Description epub Generate an EPUB file. Html Generate one or more indexed HTML files. Htmlsep Generate separate HTML files for each heading in the table-of-contents.
Pdf Generate a PDF file (default version - 1.4). Pdf11 Generate a PDF 1.1 file for Acrobat Reader 2.0 and later. Pdf12 Generate a PDF 1.2 file for Acrobat Reader 3.0 and later.
Pdf13 Generate a PDF 1.3 file for Acrobat Reader 4.0 and later. Pdf14 Generate a PDF 1.4 file for Acrobat Reader 5.0 and later.
Ps Generate one or more PostScript files (default level - 2). Ps1 Generate one or more Level 1 PostScript files. Ps2 Generate one or more Level 2 PostScript files. Ps3 Generate one or more Level 3 PostScript files. The -v option specifies that progress information should be sent/displayed to the standard error file.
The --batch option specifies a book file that you would like to generate without the GUI popping up. This option can be combined with other options to generate the same book in different formats and sizes:% htmldoc --batch filename.book -f filename.ps ENTER% htmldoc --batch filename.book -f filename.pdf ENTER The --bodycolor option specifies the background color for all pages in the document.
The color can be specified by a standard HTML color name or as a 6-digit hexadecimal number of the form #RRGGBB. The --bodyfont option specifies the default text font used for text in the document body. The typeface parameter can be one of the following: typeface Actual Font Arial Helvetica Courier Courier Helvetica Helvetica Monospace DejaVu Sans Mono Sans DevaVu Sans Serif DejaVu Serif Times Times The --bodyimage option specifies the background image for all pages in the document. The supported formats are BMP, GIF, JPEG, and PNG. The --book option specifies that the input files comprise a book with chapters and headings.
The --bottom option specifies the bottom margin. The default units are points (1 point = 1/72nd inch); the suffixes 'in', 'cm', and 'mm' specify inches, centimeters, and millimeters, respectively. This option is only available when generating PostScript or PDF files.
The --browserwidth option specifies the browser width in pixels. The browser width is used to scale images and pixel measurements when generating PostScript and PDF files. It does not affect the font size of text. The default browser width is 680 pixels which corresponds roughly to a 96 DPI display. Please note that your images and table sizes are equal to or smaller than the browser width, or your output will overlap or truncate in places. The --charset option specifies the 8-bit character set encoding to use for the entire document.
This chapter defines all of the HTML elements and attributes that are recognized and supported by HTMLDOC. There are two types of HTML files - structured documents using headings (H1, H2, etc.) which HTMLDOC calls 'books', and unstructured documents that do not use headings which HTMLDOC calls 'web pages'. A very common mistake is to try converting a web page using: htmldoc -f filename.pdf filename.html which will likely produce a PDF file with no pages. To convert web page files you must use the --webpage option at the command-line or choose Web Page in the input tab of the GUI.
Note: HTMLDOC does not support HTML 4.0 elements, attributes, stylesheets, or scripting. The following HTML elements are recognized by HTMLDOC: Element Version Supported? Version 2, June 1991 Copyright 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it.
(Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code.
And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary.
To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION • This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License.
The 'Program', below, refers to any such program or work, and a 'work based on the Program' means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term 'modification'.) Each licensee is addressed as 'you'. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. • You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
• You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: • You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. • You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
• if the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. American Deaf Culture An Anthology Pdf Reader.
This appendix describes the HTMLDOC.book file format. The HTMLDOC.book file format is a simple text format that provides the command-line options and files that are part of the document. These files can be used from the GUI interface or from the command-line using the --batch option: htmldoc filename.book htmldoc --batch filename.book The first form will load the book and display the GUI interface, if configured.
Windows users should use ghtmldoc.exe executable to show the GUI and htmldoc.exe for the batch mode: ghtmldoc.exe filename.book htmldoc.exe --batch filename.book Each.book file starts with a line reading: #HTMLDOC 1.9 The version number (1.9) is optional. Following the header is a line containing the options for the book.