| Webify sample template - 3/22/95 Steve Ward | Used to webify the sample presentation which comes with webify. | Note that comments begin with | and extend to the end-of-line; | by default, text outside of comments will appear in the currently | open (being written) html file. | We may use the {quietly ...} escape sequence to suppress this: | {quietly | Causes top-level text to be discarded, | but interprets enclosed {...} sequences. | Set some parameters: most of these may be alternatively | specified as command line options. {crop-left 0.5} | Crop whitespace off of page boundaries. {crop-right 0.5} {crop-top 0.5} {crop-bot 0.5} | {horizontal} | Uncomment to force Horizontal (Landscape) | {vertical} | Uncomment to force Vertical (Portrait} } | closes {quietly ...} | Here's the skeletal HTML file for the presentation: {title} | Note that {title} expands to text.

Webify:

Build Web presentations from Postscript
RECENT CHANGES on 3/28/95...
... check out the usage notes for further information. NB: Webify works with gs version 2.6.1, but not with current Aladdin versions (e.g. 3.12)

Webify is a program which makes web-browsable trees of hypertext files and GIF images from Postscript source files. It was motivated by the need to convert Powerpoint presentations to humane web form, such as the following simple example:

{for-each-page | Iterate, thru pages in .ps file: {write-page-file | Generate a per-page .html file, containing Page {this-page}

{title}: Slide {page-number "%d"} of {pages}.


Click slide for next, or goto previous, first, last slides or back to thumbnail layout.

Click slide for next, or goto previous, or back to thumbnail layout.
download webify.tar.Z (BIG!) } | Closes {write-page-file ...} } | Closes {for-each-page ...} | Now we're back to the top-level HTML file; finish it up:

By clicking the above thumbnail page images, you can peruse the slides. For comparison, you can grab the BIG ({postscript-size}) postscript file which generated this tree of html and gif files.

Resolution and other parameters are adjustable, allowing most any postscript file (papers, manuals, books) to be automatically converted to page-browsable form.

Webify is freely distributed in C source form, and runs on UNIX systems having Ghostscript installed with gif8 conversion. It can be used (on UNIX systems) to convert postscript files generated on Macs, PCs, and elsewhere.

CLICK HERE to DOWNLOAD a large compressed tar file containing webify source. The size of the file stems from the postscript containing the above presentation; webify is a simple, single C program which invokes GhostScript to do most of the real work. Documentation is sparse.

Additional notes on webify usage are here; check them out for important information.

Feedback to Steve Ward. Ward@mit.edu.