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

Features

* 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

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
                    images
 -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

Maintainer:
Peter Lane
Driver:
Peter Lane
Licence:
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:
Bazaar

More contributors Top contributors

Get Involved

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

Downloads

html2pages does not have any download files registered with Launchpad.