Converting a PRD File with Endings
If you are using a lot of endings, there is another way of using the Importer to convert a PRD list into an Instant Text glossary. Rather than working directly with the pp2 file, you can use the PRTPRD utility that comes with PRD to print the list to a text file. Then you can edit the text file to have formulas that can be processed by the Importer. Here are the steps. Produce a text file from the pp2 file:
Editing the printout The listing produced by PRTPRD will look as follows:
As you can see, entries with endings are immediately after the normal entry but start with a space. The next step is to eliminate that space. For example, in MS Word, you can do it by a replace command: Edit/Replace Find What: ^p^w Replace by: ^p What this says is to replace a hard return (^p) followed by space (^w) by a simple hard return. After this it will look like:
Then we convert them into formulas by a succession of replace commands: Edit/Replace Find What: 9 spaces Replace by: = Edit/Replace Find What: 8 spaces Replace by: = Edit/Replace Find What: 7 spaces Replace by: = Edit/Replace Find What: 6 spaces Replace by: = Edit/Replace Find What: 5 spaces Replace by: = Edit/Replace Find What: 4 spaces Replace by: = Edit/Replace Find What: 3 spaces Replace by: = This produces formulas:
Finally, you can save it as text. Using the Importer Now you can use the Importer to import the formulas and a second Notes If you have only a few endings, you are better off using the normal method of importing directly the pp2 file and modifying the resulting glossary. The above method only pays if you have a lot of endings.
|