| Webify sample template - 3/22/95 Steve Ward | Revised for Webify 2.11 - 1/27/96 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} | {rotate 1} | Uncomment to force Horizontal (Landscape) | (Equivalent to -r 1 command line option) | If this yields upside-down, try 3 } | closes {quietly ...} | Here's the skeletal HTML file for the presentation: {title} | Note that {title} expands to text.

Webify:

Build Web presentations from Postscript

NEW VERSION 2.11 1/27/96!

Compatible with Gnu gs versions... check out the usage notes for changes, help, and important information.

Webify is a program which makes web-browsable trees of hypertext files and JEPG 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 jpeg (or 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 PPMRAW conversion along with the cjpeg or ppmtogif utilities (all available free). 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.

Today is {date}. Feedback to Steve Ward. Ward@mit.edu.