在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:michaelrsweet/htmldoc开源软件地址:https://github.com/michaelrsweet/htmldoc开源编程语言:C++ 52.2%开源软件介绍:HTMLDOC - HTML Conversion SoftwareHTMLDOC is a program that 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 was developed in the 1990's as a documentation generator for my previous company, and has since seen a lot of usage as a report generator embedded in web servers. However, it does not support many things in "the modern web", such as:
ResourcesThe following HTMLDOC resources are available online:
Using HTMLDOCNote: Complete documentation for HTMLDOC is available in the "doc" subdirectory. The following provides basic information on using HTMLDOC at the command-line and does not discuss the GUI or web server functionality. HTMLDOC accepts a list of HTML and/or Markdown "source" files and will generate EPUB, HTML, PostScript, or PDF output via command-line options. A summary of command-line options can be shown with the "--help" option:
HTMLDOC normally expects "structured" documents, with chapters, etc. Chapters begin with a H1 markup and continue to the end of the listed HTML files or the next H1 markup, whichever comes first. To convert unstructured documents such as web pages, use the "--webpage" option to HTMLDOC:
To generate a Level 2 PostScript file you might use:
Similarly you can generate an EPUB or PDF file of the same source files using:
Finally, to generate HTML files for viewing (with a linked table-of-contents) do the following:
or:
A complete description of all command-line options and HTML guidelines can be found in the software users manual in the "doc" directory. CreditsMany thanks to Leonard Rosenthol for providing the original changes to support a macOS (9) version of HTMLDOC. The original table VALIGN and "HALF PAGE" code was contributed by D. Richard Hipp. The original multiple header/footer image code was contributed by Lynn Pye. The RC4 encryption code is from librc4 1.1 by the folks at Carnegie Mellon University. The MD5 hash code is from L. Peter Deutsch at Aladdin Enterprises (creators of Ghostscript, among other things). Legal StuffHTMLDOC is copyright © 1997-2022 by Michael R Sweet. This program is free software. Distribution and use rights are outlined in the file "COPYING". 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. The Adobe Portable Document Format is Copyright 1985-2005 by Adobe Systems Incorporated. Adobe, FrameMaker, and PostScript are registered trademarks of Adobe Systems, Incorporated. The Graphics Interchange Format is the copyright and GIF is the service mark property of CompuServe Incorporated. Linux is a registered trademark of Linus Torvalds. macOS is a registered trademark of Apple Inc. Microsoft and Windows are registered trademarks of Microsoft Corporation. UNIX is a registered trademark of the X/Open Company, Ltd. This software is based in part on the work of the Independent JPEG Group and FLTK project. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论