Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!zehntel!hplabs!hao!seismo!brl-tgr!tgr!Burhans%ECLD@usc-ecl From: Jackie Newsgroups: net.micro Subject: Wordstar Question Message-ID: <8300@brl-tgr.ARPA> Date: Tue, 12-Feb-85 23:30:47 EST Article-I.D.: brl-tgr.8300 Posted: Tue Feb 12 23:30:47 1985 Date-Received: Sat, 16-Feb-85 06:40:13 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 30 I'm working on a project using Wordstar to enter a class schedule. The Wordstar file will be sent to a typesetter for formatting and printing. The information is entered with minimal special codes (no bold, no underlining, some hard-carriage returns) but it does use tabs. The file is first entered in readable format and printed so that it can be proofed for typing/content errors. Example: 347L 2 Woodwind Instruments 53435H 3 MW Masek MUS After proofing we must go back and insert special codes for the typesetter to indicate when to turn on special fonts/headings etc., In addition, the typesetter wants us to remove tabs and use '#' to indicate when to tab. Example: [j2]347L#2#Woodwind Instruments#53435H#3#MW#Masek#MUS# Question: how to search for TAB (CTRL-I) and replace with null and will this take out extra blanks--that is, does WS store actual blanks or just ^I? We have tried the global search/replace command ^QA Find:^I Replace with # Options:gn but it does not even get so far as finding. NOTE: This strategy works with ^P^B (BOLD) codes but fails spectactularly with ^P^S (UNDERLINE) codes in our test file. Any pointers on this will be, of course, appreciated. Besides, or rather in addition, any pointers to where I can find out more about WS format for .WS files so I can write a program to read .WS files and strip out some control codes and replace with special typesetting notations??? Tx.