WordPerfect integration

Formatting by Biblioscape

Biblioscape installation comes with several WordPerfect macros under the "Tools" sub-folder.

  • wpb_convert_greek.wcm: Convert Greek letters from Word to Symbol. For example, "alpha" will be changed to "α".
  • wpb_format_document_rtf.wcm: Save the current document in RTF format; Send the path to Biblioscape; Biblioscape formatts the RTF file; WordPerfect opens the formatted RTF file and saves it in WP format.
  • wpb_search_for_reference.wcm: Prompt user to enter a search string and send it to Biblioscape. If there is only one hit, Biblioscape will insert the hit as a temporary citation in the current WordPerfect document.
  • wpb_unformat_document_rtf.wcm: Save the current document in RTF format; Send the path to Biblioscape; Biblioscape will unformat the RTF file; WordPerfect opens the unformatted RTF file and saves it in WP format.

Since RTF format was invented by Microsoft, WordPerfect doesn't support RTF as well as MS Word. For most simple documents, it works fine. But if you have complicated formatting, there is a risk of losing those formatting when saved in RTF file. Biblioscape users have written WordPerfect macros to overcome this problem by doing all the formatting inside WordPerfect without going through RTF.

Formatting inside WordPerfect

One of the main features of a bibliographic software is to format a manuscript by converting the temporary citations into formatted citations and bibliography. Biblioscape does this by read-in the Rich Text Format (RTF) file or HTML file produced by a word processor and generate the formatted document in RTF or HTML. Since RTF is supported by all word processors on Windows, this approach guaranteed that Biblioscape will work with all word processors. But there are two problems: First, RTF is very un-efficient in saving graphics and OLE objects. When there are graphics and OLE objects in a document, Biblioscape can become very slow during formatting. Second, RTF is very well supported by Microsoft products like Word. But some word processors have problems with RTF supporting some rarely used features. The alternative approach is to do the formatting inside a word processor. Biblioscape will generate the formatted reference, while the word processor scripts (macros) do the formatting work. We first started this project with Professor Hugh Gunz to find a better solution for WordPerfect users. Biblioscape was modified to return formatted references through Dynamic Data Exchange (DDE). Professor Gunz did all the WordPerfect scripts coding. We decided to make this an open source project, so other power users can improve the scripts, as well as porting it to other word processors like Word and OpenOffice. If you are skilled script writer for Word, OpenOffice or other word processors and are willing to participate in this project, please email us at support@biblioscape.com.

  • 2002-10-01: Click here to download the original WordPerfect scripts by Hugh Gunz. Please read the Readme.wpd file first before use.
  • 2008-09-16: Click here to download the WordPerfect scripts by Yehuda N. Falk. Please read the Readme.wpd file first before use.

Comments

New version of WordPerfect macro

Following up on Hugh Gunz's wonderful work, some additions have been made to the WordPerfect macro that formats the citations and bibliography within WordPerfect.

The following features have been added/improved:

- Some bibliography style elements which were not supported previously are now supported: the heading on the bibliography, hanging indents, spacing of bibliography entries. All of this is taken from the selected bibliography style.

- Font Properties (italics/bold/underline/superscript/subscript) can now be used in bibliographic entries.

- Temporary citations with ^np now correctly appear without parentheses.

- WordPerfect characters (accented letters, technical characters (math, science, phonetics), foreign alphabets, etc.) can now be used in Biblioscape bibliographic entries and be transferred correctly to WordPerfect. This is particularly important since Biblioscape is not, at this point, Unicode-compliant, so this is the only way to put in characters beyond the standard ones.

- The ReadMe has been updated with crucial information, particularly for using WordPerfect characters.

Formatting from within WordPerfect results in superior results when compared with converting to RTF, which loses WordPerfect features (including WordPerfect characters, which are not retained by the RTF-based formatting).

Yehuda N. Falk
Associate Professor of English Linguistics
The Hebrew University of Jerusalem