A method of converting a document from a first page size to a second page size includes the step of determining a first line length from the document formatted for the first page size. Another step of the method includes determining a first page length from the document formatted for the first page size. The method also includes the steps of defining a second line length for the second page size that is equal to the first line length, and defining a second page length for the second page size that is equal to the first page length. Yet another step of the method includes formatting the document to utilize the second page size, the second line length, and the second page length.
Method Of Converting Man Pages To Help Topic Files
A method, apparatus, and program storage device convert text-based UNIX man pages to formatted Windows help topic files of the type including non-textual formatting information. Porting of applications to other operating systems is facilitated due to the decreased effort required to port the applications' associated on-line help documents. Moreover, the resulting help topic files may then be used to compile on-line help for multiple platforms which utilize such help topic files, e. g. , Windows NT, Windows 95, Windows 3. 1x, and even GUI UNIX variations such as X-Windows and Motif.