Registered 2019-01-07 by Peter Lane

Takes a single html file (such as created by asciidoc) and converts it into a set of pages with navigation links


* Takes a single large html document output by asciidoc and subdivides it into separate pages based on headings, with a table of contents providing links.
* Style sheet copied into a separate file.
* Copies any images into images/ folder, or redirects to a http address.
* Navigation links at the top of each page to move forward/backward or up the hierarchy of pages.
* Text before the first h2-level section is copied into a 'prelude' page.
* CMS flags embed CSS styles and remove header/footer information, for copy-paste into CMS/emails.


Usage: html2pages [-chsv] [-d value] [-i value] [-p value] [-t value] filename
 -c, --cms Prepare file for CMS (embeds css, removes header/footer)
 -d, --directory=value
                    Target directory for output (default "pages")
 -h, --help Show help information
 -i, --images=value
                    http (copy yourself) or relative directory (auto-copied) for
 -p, --part2=value Name for <h2> level pages (default "Chapter")
 -s, --cms2 Prepare file for CMS, and split at <h2> level
 -t, --title=value Title of created web pages
 -v, --version Displays the version number

Project information

Peter Lane
Peter Lane
Simplified BSD Licence

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:

More contributors Top contributors

Get Involved

  • warning
    Report a bug
  • warning
    Ask a question
  • warning
    Help translate


html2pages does not have any download files registered with Launchpad.