Dec 112017
 
New utilities for Ventura with doc.
File VENUTIL.ZIP from The Programmer’s Corner in
Category DeskTop Publishing
New utilities for Ventura with doc.
File Name File Size Zip Size Zip Type
CLEAN4VP.ASM 13314 3551 deflated
CLEAN4VP.COM 3241 1335 deflated
CLEAN4VP.DOC 2843 1336 deflated
FIXVP.DOC 3520 1610 deflated
FIXVP.EXE 11055 6973 deflated
VPUTILS.DOC 15360 6548 deflated

Download File VENUTIL.ZIP Here

Contents of the CLEAN4VP.DOC file


CLEAN4VP.COM
by Dan Zoll, June 1988

CLEAN4VP was designed to clean up text files for import into
Ventura Publisher as WordPerfect files. You do not need
WordPerfect to use the program.

CLEAN4VP does the following things:

Turns hard carriage returns (CRLF) to soft carriage returns
(CR) and double hard returns (CRLF/CRLF) to a single hard
return (LF). This is great for text files, which generally
have hard carriage returns at the end of each line. This
also removes a blank line between paragraphs if present. If
you have tables in the file, be sure there is a blank line
between each line of text or multiple items will end up on
the same line.

Changes all occurrences of two or more spaces to one space;
all spaces at the start of lines are striped out, however,
in case the file was saved with a margin indentation of
spaces.

Turns computer-style upright quotation marks (") to the
Ventura codes for opening and closing quotes (<169>, <170>)
as appropriate. In the process, it looks for an even number
of quotes and outputs a message if the number is uneven,
which probably indicates that someone forgot to close
quotes.

Turns double hyphens to the Ventura code for an em dash
(<197>).

Doubles all occurrences of < and > symbols, which Ventura
will otherwise eat, thinking they indicate a character code.
If they DO indicate a character code, you'll have to remove
the extra code CLEAN4VP inserts. That is to say, I assume no
Ventura coding has been done.

Doubles all occurrences of the @ sign if it falls in column
one, where Ventura would assume it indicated a tag name.

Puts a space between empty parentheses (sometimes used in
program listings) so they will not print out as ovals.

Strips out all control codes (characters with a value lower
than a space) except carriage returns, line feeds, and tabs.

If run with the /w switch, resets the high-order bit on all
characters. This cleans up WordStar files. It also means that any
extended ASCII characters (those with values higher than 127) will be
changed. If the /w switch is omitted, the high-order bit is not reset.

CLEAN4VP's syntax:

CLEAN4VP [/w] filename

The processed file is saved under the same name as the source
file but with the extension .C4V, so the source file is not
changed (unless it happens to have a .C4V extension to begin
with). The source file can be of any size.

I'm including CLEAN4VP's Macro Assembler source file for those
who might want to modify it. It's not the cleanest program I've
done (it has more flags than the United Nations), but it's well
documented.

Dan Zoll
9923 Ridgeline Dr.
Gaithersburg, MD 20879
(301) 963-2632


 December 11, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)