home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-05-27 | 41.9 KB | 1,401 lines |
-
-
-
- WORD PROCESSOR "LEGAL" FORMAT FEATURES FOR QEDIT 2.03
- =====================================================
- by
- Gene Catalano (June 1988)
-
- This file, Q-L-FORM.ART, is identical for macros described in
- FORMAT.ART, with the exception that they are configured for
- "legal length" paper (84 lines at 6 lines per inch = 14" length
- sheets), and the equivalent macro file is L-FORM.MAC. (These
- macros are designed for printing out at 6 lines per inch.)
-
- Because of this, I have eliminated INTRODUCTION and PART I, which
- you can read in FORMAT.ART.
-
-
- TABLE OF CONTENTS
- =================
-
- SETTING UP MACROS FOR LEGAL FORMAT FEATURES Pg. 2
- INSTRUCTIONS ON CREATING LEGAL FORMAT MACROS Pg. 4
- EDIT/CREATE YOUR LEGAL FORMAT MACROS Pg. 8
- SAVING YOUR MACROS Pg. 27
-
-
-
- ACCESSORY FILES (if downloaded, part of my package, QEXTRA.ARC):
-
- L-FORM.MAC
- CLEAR.MAC
-
- (CLEAR.MAC is a "dummy" macro file...that is, its contents are
- "zilch". Actually, it contains a macro command for ALT-0, which
- is to move cursor right 5 spaces, then left 5 spaces. Whenever
- you want to clear all current macro keys, just load CLEAR.MAC.)
-
- If you acquired this article by downloading my package,
- QEXTRA.ARC, you should have the following 14 files: QASCII.ART,
- QCONFIG.ART, QFORMAT.ART, Q-L-FORM.ART, QPRINTER.ART, ASCII.MAC,
- CLEAR.MAC, FORMAT.MAC, L-FORM.MAC, PRINT.MAC, README.1ST,
- SAMPLE.BOX, TEMPLATE, and TEST.PRN. If you are reading this
- article through a bulletin board service, without the benefit of
- having downloaded the entire package (QEXTRA.ARC), you can still
- use 100% of the information described herein. (The files ending
- with ".ART" are articles, and all other files are accessories to
- the articles.)
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 2
-
-
-
-
- ************************************************************
-
- PART II: SETTING UP MACROS FOR LEGAL FORMAT FEATURES
- -----------------------------------------------------
-
- MACRO LEGAL FORMAT MACROS
- ===== ==================================================
-
- [ALT]1 Page break w/6-line (1") top & bottom margins *
- [ALT]2 Page break w/3-line (1/2") top & bottom margins *
- [ALT]3 Copy header to next page *
- [ALT]4 Copy footer to next page *
- [ALT]5 Find page break
- [ALT]6 Remove 6-line bottom & top margins
- [ALT]7 Remove 3-line bottom & top margins
- [ALT]8 Set Left/Right Margins at 1" (10 cpi/proportional)
- [ALT]9 Set Left/Right Margins at 1" (12 cpi)
- [ALT]0 Clear rt. marg. to 80, printer lft. marg. to 0
- [ALT]Q Check page length for 71-line text body *
- [ALT]W Check page length for 77-line text body *
- [ALT]E Check full page length (83 lines) *
-
- [ALT]R set printer for 84-line pages *
- [ALT]T printer page eject
- [ALT]Y Input form feed (manual page break)
-
-
-
- Above is a list of QEDIT 2.03 macros for legal-length page
- formats (14" at 6 lpi) not included in QEDIT's original
- capabilities.
-
- The asterisk ("*") indicates those macros which have been changed
- from FORMAT.MAC, to accommodate "legal length" format macros in
- L-FORM.MAC. This way, you can create "legal format" macros by
- first loading the "format" macros file, then changing the macros
- indicated by an asterisk, then saving the "legal format" macros
- in a file other than the "format" macros file.
-
- I use macros ALT-0 through ALT-9 and ALT -Q,-W,-E,-R,-T,-Y; but
- you may choose any macro keystrokes (in which case edit the
- "MACRO" column). (ALT-D and ALT-S were added as an afterthought.)
- Please note that QEDIT does not allow use of "two_key" commands
- for macros, which are two keystrokes preceded by the [ALT],
- [CTRL] or [SHIFT] key...or even with the last keystroke preceded
- by another [ALT], [CTRL] or [SHIFT] key. Also, note that QEDIT
- does not allow macro creation of keys already configured through
- QCONFIG.EXE.
-
- By editing the list above to suit your requirements, you may use
- it as a reference for creating the macro keys.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 3
-
-
-
-
- I have used the same "family" of macros (ALT-0 through ALT-9 and
- [ALT] -Q,-W,-E,-R,-T,-Y) for my "format macros," "printer
- macros," and "ascii macros," discussed in the files QFORMAT.ART,
- Q-L-FORM.ART, QPRINTER.ART and QASCII.ART. If you do likewise,
- you will have to switch among my four macro files, by using
- QEDIT's "<macro_read>" command.
-
- Remember: in order to reserve the "macro family" ALT-0 through
- ALT-9, and ALT -Q,-W,-E,-R,-T,-Y (which is each letter
- Q,W,E,R,T,Y preceded by [ALT]), for your own macro files, you
- must not use any of these keys in your configuration file (which
- is set up by running QCONFIG.EXE). This applies to any key
- combinations you want to use for macros.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 4
-
-
-
-
- ************************************************************
-
- PART III: INSTRUCTIONS ON CREATING LEGAL FORMAT MACROS
- --------------------------------------------------------
-
- Although there are two ways to create QEDIT macros--adding them
- to the key configuration file, or creating a special macro
- file--I prefer the second. This way, macros ALT-0 through ALT-9
- and [ALT]Q, [ALT]W, [ALT]E, [ALT]R and [ALT]Y, can be re-used for
- other macro files. (The basic idea here, is to reserve a "family"
- of keys for your macro files...because any keys used in your
- configuration file are not available for macro recording.)
-
- The full macro "family" I reserve for macro files is [ALT]-0
- through [ALT]-9 , and [ALT] -Q,-W,-E,-R,-T,-Y.
-
- If you like my macro assignments, and you have no keys configured
- within that macro family, you are ready to go! Once you are in
- QEDIT, just load my macro file L-FORM.MAC with the "macro_read"
- command. (Unlike the print-code macro file PRINT.MAC, there are
- no code incompatibilities to watch out for.)
-
- (If you didn't acquire this article by downloading it as part of
- my QEXTRA.ARC package, then you might not have accessory files
- ASCII.MAC, CLEAR.MAC, FORMAT.MAC, L-FORM.MAC, PRINT.MAC,
- SAMPLE.BOX, TEST.PRN, or TEMPLATE.)
-
- ---------------
- You can create a macro to automatically load L-FORM.MAC. In the
- following key configuration, I selected ALT-L ("@l") for the
- macro, but you may choose another macro key. This example is to
- be included in your configuration file, which should then be
- imbedded in your QEDIT program by running QCONFIG.EXE:
-
- @l macro_begin escape 'm' 'r' 'L-FORM.MAC' return
-
- The above macro configuration assumes that L-FORM.MAC resides
- in the same directory where you run QEDIT. If not, add the drive
- and/or subdirectory. For example, if L-FORM.MAC resides in
- drive C:, subdirectory "\MACRO", you would change 'L-FORM.MAC'
- to 'C:\MACRO\L-FORM.MAC'. (Of course, you may prefer a file
- name other than L-FORM.MAC, in which case, change it.)
- ---------------
-
- NOTE: The original QEDIT configuration file, QCONFIG.DAT, does
- not include the "macro_read" and "macro_write"
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 5
-
-
-
-
- commands. ("Macro_record" is CTRL-M.) Of course, you can just
- use the pop-up menu by hitting "[ESC]MM" to begin the macro, and
- hitting "[ESC]MM" a second time to end the macro.
-
- To include "macro_read" and "macro_write" as key configurations,
- I suggest first changing the original "macro_record" from CTRL-M
- to CTRL-M-C ("C" standing for macro "create") then using CTRL-M-L
- for "macro_read" ("L" standing for macro "load"), and CTRL-M-S
- for "macro_write" ("S" standing for macro "save"). Delete the
- original "macro_record" line in your configuration file, and
- replace it with these three lines:
-
- ^m_c macro_record * macro "create"
- ^m_l macro_read * macro "load"
- ^m_s macro_write * macro "save"
-
- If you prefer to use macros other than the CTRL-M two-key
- commands, change them now. Either way, you can just copy/paste
- the above three command lines into your configuration file. Then
- run QCONFIG.EXE to reconfigure your keys.
-
- If you are using the WordStar-compatible configuration file
- QWSKEY.DAT, [SHIFT][F1], [SHIFT][F2], and [SHIFT][F3] are used
- for "macro_read," "macro_write," and "macro_record,"
- respectively.)
-
- You must have QEDIT's "literal" command included in your
- configuration file. In the original QCONFIG.DAT configuration
- file, the command line is:
-
- ^p literal
-
- (The "literal" command tells QEDIT to literally interpret the
- next keystroke. Since you do not want [ESC] to call up QEDIT's
- pop-up menus, as it normally does, you must precede [ESC] with a
- "literal" command, in order to bypass QEDIT's function for [ESC],
- and use it to activate a printer [escape] code instead.)
-
- When creating a macro that includes [PGUP]/[PGDN] keys, you must
- not be working in a window (that is, you must be in "full screen"
- mode). This is because [PGUP] and [PGDN] take smaller jumps in
- windows, than in full screen.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 6
-
-
-
-
- HOW TO USE MY INSTRUCTIONS:
- ..........................
-
- PART IV begins the actual macro creations. I recommend first
- editing the list of 16 macros in PART IV before beginning,
- according to the following directions:
-
- The QEDIT "<macro_record>" command to begin creating a macro, is
- the same command used to end the macro.
-
- Any text in "less-than"/"greater-than" brackets "<...>" indicates
- a QEDIT keystroke or keystroke combination that is user defined.
-
- Any text in "left"/"right" square brackets "[...]" indicates a
- literal keystroke. Therefore, "[ESC]" means to literally press
- the [ESC] key, "[LEFT ARROW]" means to literally press the [LEFT
- ARROW] key, and so forth.
-
- Any text in "left/right" fancy brackects "{...}" indicates an
- instruction to hit the key designated therein, a multiple number
- of times as indicated.
-
- Characters not in brackets are to be typed just as you see them
- (letters are not case sensitive, except any that appear on the
- same line as a printer [ESC] code).
-
- The steps described to create a macro (in PART IV) are placed on
- separate lines in order to break them down into understandable,
- digestible units. However, do not, I repeat, do not do the same
- thing yourself...for there are absolutely no carriage returns in
- any of these macros. Just treat the steps for creating each
- macro as if all the commands for each macro appeared on one line,
- without any spaces.
-
- To facilitate creation of the macros in PART IV, edit each
- macro's step-by-step instruction to conform with your own
- customized key configurations. That is: replace every
- occurrence of "<macro_record>" with your actual "macro_record"
- keystroke. Likewise, replace every occurrence of "<literal>" with
- your actual "literal" keystroke. Finally, replace each occurrence
- of "<MACRO>" with a macro key of your choice (each "<MACRO>" must
- be replaced with a different macro keystroke).
-
- Likewise, change any of the orginal macro keys in PART IV (ALT-0
- through ALT-9 and and ALT -Q,-W,-E,-R,-T,-Y. ), to match any
- changes you may have made in the MACRO list in PART II.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 7
-
-
-
-
- Once you have customized the macro instructions to your own
- preferences, the instructions will be much easier to follow, for
- actually creating the macros.
-
- EXAMPLE:
- -------
-
- The step-by-step instruction to create the macro for "page break
- w/6-line top/bottom margins" is:
-
- <macro_record>
- <MACRO>
- {hit [ENTER] 6 times}
- {hit [PGDN] 3 times}
- {hit [DOWN ARROW] 5 times}
- {hit [ENTER] 6 times}
- [UP ARROW]
- <literal>
- [CTRL]L
- [LEFT ARROW]
- [DOWN ARROW]
- <macro_record>
-
-
- Let's pretend that: my "macro_record" command is "[CTRL]F1", my
- <MACRO> assignment is "[SHIFT][F1]", and my "literal" command is
- "[CTRL]P". Therefore, I would edit the instructions to create
- the macro key to look like this:
-
- [CTRL]F1 (begin macro)
- [SHIFT][F1] (designate macro)
- {hit [ENTER] 6 times} (hit [enter] 6 times)
- {hit [PGDN] 3 times} (hit [pgdn] 3 times)
- {hit [DOWN ARROW] 5 times} (hit [down arrow] 5 times)
- {hit [ENTER] 6 times} (hit [enter] 6 times)
- [UP ARROW] (hit [up arrow] 1 time)
- [CTRL]P (interpret next key as "literal")
- [CTRL]L ("literal" [ctrl]l = form feed)
- [LEFT ARROW] (hit [left arrow] 1 time)
- [DOWN ARROW] (hit [down arrow] 1 time)
- [CTRL]F1 (end macro)
-
- Hopefully, you are now ready to edit the macro creation steps
- below. Notation below each macro instruction assists your
- editing.
-
- When you are ready to create the macros, open or create a file in
- QEDIT, then follow the steps in PART IV for creating 13 printer
- code macros, and 3 print-code macros.
-
- To save your printer macros in a permanent file, follow
- instructions in PART V: SAVING YOUR MACROS.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 8
-
-
-
-
- ************************************************************
-
- PART IV: EDIT/CREATE YOUR PRINTER MACROS
- -----------------------------------------
-
- ------------------------------------------------------------
- ALT-1: PAGE BREAK W/TOP & BOTTOM MARGINS OF 6 LINES (1")
-
- <macro_record>
- <MACRO>
- {hit [ENTER] 6 times}
- {hit [PGDN] 3 times}
- {hit [DOWN ARROW] 5 times}
- {hit [ENTER] 6 times}
- [UP ARROW]
- <literal>
- [CTRL]L
- [LEFT ARROW]
- [DOWN ARROW]
- <macro_record>
-
- NOTES: This "page-break" macro simulates a word-processor's
- automatic page break as close as possible. Since it also inserts
- a (6-line) top and bottom margin with each page break, you are
- spared the bother of "manually" figuring out where each page
- begins and ends...which gets rather tricky after the first two
- pages! For this reason, type your text without line spaces
- (except to separate paragraphs), and do not use the page-break
- macro until you have completed the final draft.
-
- Before executing page-break macro, [INSERT] must be "on"; cursor
- must be on line 1, column 1, of any page...and there must be no
- windows active (that is, file must be in "full screen" mode.
- This is because [PGUP] and [PGDN] take smaller jumps in windows,
- than in full screen).
-
- 6-line top/bottom margin page-break macro gives you a maximum
- text body of 71 lines.
-
- If you don't like how the page break divides text, "block move"
- the offending bottom text from the previous page onto the next
- page...being careful not to alter the top and bottom line-space
- margins. (You should do this before continuing your next
- page-break macro.) "Block move" deletes line spaces occupied by
- the block before it was moved. "Block copy" does not...but
- you'll have to go back and erase it without subtracting line
- space, in which case you place cursor on column 1 and delete each
- line with QEDIT's "<del_to_eol>" command.
-
- If you do not plan to create footers, you may delete all blank
- lines between bottom of text and form feed line, that may form as
- a result of using the "page break" macro. I recommend, however,
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 9
-
-
-
-
- not to do this until you have decided how much space to leave
- for a bottom margin.
-
- If you do plan to create footers, do not delete any blank lines
- that may appear between text end and form-feed line, as a result
- of using a "page break" macro.
-
- To spare yourself unnecessary re-editing, it is a good habit to
- complete your final draft before inserting page breaks, headers,
- and footers.
-
- Once your top and bottom margins are created, you may insert any
- header/footer in the blank margin spaces provided...and there
- must be no windows active when using the macros to copy headers
- and footers (that is, file must be in "full screen" mode. This
- is because the "copy" macros use [PGUP] and [PGDN], which take
- smaller jumps in windows, than in full screen).
-
- (Manual "block copy" inserts an additional line space for each
- blocked line, underneath the copied text...so remember to delete
- those extra blank lines.)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 10
-
-
-
-
- ------------------------------------------------------------
-
- ALT-2: PAGE BREAK W/TOP & BOTTOM MARGINS OF 3 LINES (1/2")
-
- <macro_record>
- <MACRO>
- {hit [ENTER] 3 times}
- {hit [PGDN] 3 times}
- {hit [DOWN ARROW] 11 times}
- {hit [ENTER] 3 times}
- [UP ARROW]
- <literal>
- [CTRL]L
- [LEFT ARROW]
- [DOWN ARROW]
- <macro_record>
-
- NOTES: This "page-break" macro simulates a word-processor's
- automatic page break as close as possible. Since it also inserts
- a (3-line) top and bottom margin with each page break, you are
- spared the bother of "manually" figuring out where each page
- begins and ends...which gets rather tricky after the first two
- pages! For this reason, type your text without line spaces
- (except to separate paragraphs), and do not use the page-break
- macro until you have completed the final draft.
-
- Before executing page-break macro, [INSERT] must be "on"; cursor
- must be on line 1, column 1, of any page...and there must be no
- windows active (that is, file must be in "full screen" mode).
-
- 3-line top/bottom margin page-break macro gives you a maximum
- text body of 77 lines.
-
- If you don't like how the page break divides text, "block move"
- the offending bottom text from the previous page onto the next
- page...being careful not to alter the top and bottom line-space
- margins. (You should do this before continuing your next
- page-break macro.) "Block move" deletes line spaces occupied by
- the block before it was moved. "Block copy" does not...but
- you'll have to go back and erase it without subtracting line
- space, in which case you place cursor on column 1 and delete each
- line with QEDIT's "<del_to_eol>" command.
-
- If you do not plan to create footers, you may delete all blank
- lines between bottom of text and form feed line, that may form as
- a result of using the "page break" macro. I recommend, however,
-
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 11
-
-
-
-
- not to do this until you have decided how much space to leave
- for a bottom margin.
-
- If you do plan to create footers, do not delete any blank lines
- that may appear between text end and form-feed line, as a result
- of using a "page break" macro.
-
- To spare yourself unnecessary re-editing, it is a good habit to
- complete your final draft before inserting page breaks, headers,
- and footers.
-
- Once your top and bottom margins are created, you may insert any
- header/footer in the blank margin spaces provided...and there
- must be no windows active when using the macros to copy headers
- and footers (that is, file must be in "full screen" mode. This
- is because the "copy" macros use [PGUP] and [PGDN], which take
- smaller jumps in windows, than in full screen).
-
- (Manual "block copy" inserts an additional line space for each
- blocked line, underneath the copied text...so remember to delete
- those extra blank lines.)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 12
-
-
-
-
- ------------------------------------------------------------
- ALT-3: COPY HEADER TO NEXT PAGE
-
- <macro_record>
- <MACRO>
- <beg_line>
- <drop_anchor>
- <end_line>
- <drop_anchor>
- <find>
- <literal>
- [CTRL]L
- [ENTER][ENTER]
- [DOWN ARROW]
- <copy_block>
- <unmark_block>
- [DOWN ARROW]
- <del_line>
- [UP ARROW]
- <macro_record>
-
- NOTES: This "copy header" macro only works for a single-line
- header situated on line one of a page's top margin...and copies a
- header to consecutive (not previous) pages.
-
- Before executing "copy header" macro, you must first have created
- a "page break" for every page that gets a header. Also, [INSERT]
- must be "on"; and cursor must be anywhere on the same line as the
- header to be copied.
-
- QEDIT command "<drop_anchor>" is a "mark block" command, which
- does not require separate keys to "<mark_block_begin>" and
- "<mark_block_end>."
-
- You must know when the header has been copied to the last page,
- for executing the "copy header" command beyond that can botch up
- a portion of text. If you prefer not to use the "copy header"
- macro, you can use the "find page-break" macro, and manually
- "block copy" your header...remebering to delete the extra line
- space inserted as a result of "block copy."
-
- Page numbering: If you want to include page numbering in your
- headers, include "Page #" (or "Page # of #," or "-#", or
- something similar) in the first header, before copying it. After
- copying the header the number of times desired, replace the "#"
- symbol of each header with the appropriate page number. (You can
- expedite this process with QEDIT's "<find>" and "<repeat_find>"
- commands, by searching for "Page #", "#", or the like.)
-
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 13
-
-
-
-
- To spare yourself unnecessary re-editing, it is a good habit to
- complete your final draft before inserting page breaks, headers,
- and footers.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 14
-
-
-
-
- ------------------------------------------------------------
-
- ALT-4: COPY FOOTER TO NEXT PAGE
-
- <macro_record>
- <MACRO>
- <beg_line>
- <drop_anchor>
- <end_line>
- <drop_anchor>
- <find>
- <literal>
- [CTRL]L
- [ENTER][ENTER]
- <repeat_find>
- [UP ARROW]
- <copy_block>
- <unmark_block>
- [DOWN ARROW]
- <del_line>
- [UP ARROW]
- <macro_record>
-
- NOTES: This "copy footer" macro only works for a single-line
- footer situated on the last line of a page's bottom margin...and
- copies a footer to consecutive (not previous) pages.
-
- Before executing "copy footer" macro, you must first have created
- a "page break" for every page that gets a footer. Also, [INSERT]
- must be "on"; and cursor must be anywhere on the same line as the
- footer to be copied.
-
- QEDIT command "<drop_anchor>" is a "mark block" command, which
- does not require separate keys to "<mark_block_begin>" and
- "<mark_block_end>."
-
- You must know when the footer has been copied to the last page,
- for executing the "copy footer" command beyond that can botch up
- a portion of text that may follow. If you prefer not to use the
- "copy footer" macro, you can use the "find page-break" macro, and
- manually "block copy" your footer...remebering to delete the
- extra line space inserted as a result of "block copy."
-
- Page numbering: If you want to include page numbering in your
- footers, include "Page #" (or "Page # of #," or "-#", or
- something similar) in the first footer, before copying it. After
- copying the footer the number of times desired, replace the "#"
- symbol of each footer with the appropriate
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 15
-
-
-
-
- page number. (You can expedite this process with QEDIT's
- "<find>" and "<repeat_find>" commands, by searching for "Page #",
- "#", or the like.)
-
- To spare yourself unnecessary re-editing, it is a good habit to
- complete your final draft before inserting page breaks, headers,
- and footers.
-
- ------------------------------------------------------------
-
- ALT-5: FIND PAGE BREAK
-
- <macro_record>
- <MACRO>
- <find>
- <literal>
- [CTRL]L
- [ENTER][ENTER]
- <macro_record>
-
- NOTES: This macro searches for the next consecutive page break
- (symbolized on screen as the Egyptian "ankh"). You can use this
- macro to quickly jump from page to page, in order to manually
- "block copy" a header or footer... remembering to delete the
- extra blank line that is inserted as a result of "block copy".
- You can also use the "find page-break" macro to manually delete
- top and bottom margins.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 16
-
-
-
-
- ------------------------------------------------------------
-
- ALT-6: REMOVE 6-LINE BOTTOM & TOP MARGINS
-
- <macro_record>
- <MACRO>
- <find>
- <literal>
- [CTRL]L
- [ENTER][ENTER]
- {hit [UP ARROW] 5 times}
- {hit <del_line> 12 times}
- <macro_record>
-
- NOTES: This macro automatically removes bottom & top margins, if
- said margins are indeed 6 lines deep. The macro does it by first
- searching for the next "page break," therefore it won't delete
- the top margin on page 1. Each time you call up the macro, it
- deletes the next occurrance of a bottom and top margin, in that
- order...so each time you call up this macro, you must have a
- 6-line top margin immediately below the page break of a 6-line
- bottom margin, as the next "bottom/top" margin to be deleted. And
- headers and footers are deleted, as they are part of a margin.
-
- You must be sure you have not altered any margin (to be deleted)
- to be less than 6 lines, and that the margins you want to delete
- are not configured for less than 6 lines, or you may wind up
- deleting some text. For the same reason you must know the last
- page containing 6-line top and bottom margins. If in doubt, you
- can always use the "find page-break" macro, and delete the
- margins manually.
-
- This macro is an expedient way to delete 6-line top and bottom
- margins, in the event you need to re-format a document's pages.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 17
-
-
-
-
- ------------------------------------------------------------
-
- ALT-7: REMOVE 3-LINE BOTTOM & TOP MARGINS
-
- <macro_record>
- <MACRO>
- <find>
- <literal>
- [CTRL]L
- [ENTER][ENTER]
- {hit [UP ARROW] 2 times}
- {hit <del_line> 6 times}
- <macro_record>
-
- NOTES: This macro automatically removes top and bottom margins,
- if said margins are indeed 3 lines deep. The macro does it by
- first searching for the next "page break," therefore it won't
- delete the top margin on page 1. Each time you call up the macro,
- it deletes the next occurrance of a bottom and top margin, in
- that order...so each time you call up this macro, you must have a
- 3-line top margin immediately below the page break of a 3-line
- bottom margin, as the next "bottom/top" margin to be deleted.
-
- And headers and footers are deleted, as they are part of a
- margin.
-
- You must be sure you have not altered any margin (to be deleted)
- to be less than 3 lines, and that the margins you want to delete
- are not configured for less than 3 lines, or you may wind up
- deleting some text. For the same reason you must know the last
- page containing 3-line top and bottom margins. If in doubt, you
- can always use the "find page-break" macro, and delete the
- margins manually.
-
- This macro is an expedient way to delete 3-line top and bottom
- margins, in the event you need to re-format a document's pages.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 18
-
-
-
-
- ------------------------------------------------------------
-
- ALT-8: SET LEFT/RIGHT MARG. AT 1" (10 CPI OR PROPORTIONAL)
-
- <macro_record>
- <MACRO>
- [ESC]OR
- 65
- [ENTER]
- [ESC]PL
- 10
- [ENTER]
- <macro_record>
-
- NOTES: This macro sets the manuscript-standard 1-inch left and
- right margin for 10 cpi (pica) or proportional pitch. This
- assumes a standard 10 cpi page-width of 85 (8-1/2 inches), hence
- the macro also sets right margin to 65. If your text's right
- margin is other than 65, you must re-format each paragraph with
- QEDIT's "<wrap_para>" command.
-
- The "65" in this macro is the right margin for 10 cpi (pica).
- PROPORTIONAL SPACING requires an adjustment of the right margin
- from "65" to "72." That's because proportional characters take
- up less space than 10 cpi. For proportional, add 1 extra
- character for every 10 characters in pica. Here's the formula:
-
- P = p / 10 + p
-
- (Where "P" = number of proportional characters, and "p" = number
- of pica characters. "Number of characters" always refers to the
- same line.)
-
- (Translation: Proportional characters = pica characters divided
- by 10, plus pica characters.) In this case, the calculation is
- is: P = 65 / 10 + 65. "P" then equals "71.5," which I rounded
- off to 72.
-
- Text to be affected must be "flush left" on screen, as well as
- paragraph-wrapped to the macro's right-margin setting. Since the
- QEDIT command "[ESC]PL" (the pop-up menu version of
- "<set_print_left_margin>") is a print-code command to "set left
- margin," the left margin will not change on screen. This is how
- the early word processors worked: definitely not a "WYSIWYG"
- ("what you see is what you get") situation.
-
- Since QEDIT does not have a single-stroke "paragraph reformat"
- command, you are saved the bother of first re-"<align>"ing all
- lines in each paragraph, then doing a "<wrap_para>" for those
- same paragraphs...which is how to print out WYSIWYG fashion. No
- matter what you want your left margin to be when printing out, by
- using "[ESC]PL," you never have to bother manually realigning
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 19
-
-
-
- your paragraphs' left margins...instead, all you need do is allow
- for an adjustment of the on-screen right margin according to how
- you set the printer's left margin.
-
- If your text is not already formatted to the macro's right-margin
- setting, you must "<wrap_para>" it after executing this macro.
-
- Make sure your printer is set for 10 cpi or proportional, for the
- affected portion of text. (If you use a printer macro, as
- described in my file QPRINTER.ART, you can imbed the 10 cpi
- command in text, by using the 12 cpi macro without any text
- between the "begin" and "end" codes...or by deleting the first
- half of the "12 cpi" print code. The "end" code really means
- "return to 10 cpi"). Your printer may or may not have a PS
- ("proportional spacing") button...but you can always use the
- print-code macro for this.
-
- Here's the formula for establishing a 10 cpi left margin:
-
- L = 10 x i
-
- (Translation: Left margin = 10 times number of inches in
- decimal.) Numer of inches being the width of the left margin.
-
- Here's the formula for centering text on printer, when left
- margin is "flush left" on screen (assuming you are printing at 10
- cpi, and want right margin to equal left margin):
-
- R = 85 - L - L
-
- (Translation: right margin = 85 minus the left margin, minus the
- left margin.)
-
- Once you have the left and right margins set for 10 cpi, you can
- convert the line width to proportional, by using the formula
- described above ("P = p / 10 + p").
-
- Using the simple formulas above, you can quickly reset printer
- margins to any width desired. (Example: If you want a (10-cpi)
- left/right margin of 1-1/2 inches, change printer left margin
- ("[ESC]PL") to 15 (10 times 1.5), then use the formula "R = 85 -
- L - L" to find out the right margin, which will be 55 (85 - 15 -
- 15)...then change right margin ("[ESC]OR") to 55. (Using the
- proportional formula, setting for right margin equals 61.) To
- include the new setting in a macro, use the macro instructions
- above, where "65" is to be replaced by the new right margin, and
- "10" is to be replaced by the new left margin.
-
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 20
-
-
-
-
- ------------------------------------------------------------
-
- ALT-9: SET LEFT/RIGHT MARGINS AT 1 INCH (FOR 12 CPI)
-
- <macro_record>
- <MACRO>
- [ESC]OR
- 78
- [ENTER]
- [ESC]PL
- 12
- [ENTER]
- <macro_record>
-
- This macro sets the manuscript-standard 1-inch left and right
- margin for 12 cpi (elite). This assumes a standard page-width of
- 8-1/2 inches, hence the macro also sets right margin to 78. If
- your text's right margin is other than 78, you must re-format
- each paragraph with QEDIT's "<wrap_para>" command.
-
- Text to be affected must be "flush left" on screen, as well as
- re-formatted to a 78-character-width right margin. Since the
- QEDIT command "[ESC]PL" (the pop-up menu version of
- "<set_print_left_margin>") is a print-code command to "set left
- margin," the left margin will not change on screen. This is how
- the early word processors worked: definitely not a "WYSIWYG"
- ("what you see is what you get") situation.
-
- Since QEDIT does not have a single-stroke "paragraph reformat"
- command, you are saved the bother of first re-"<align>"ing all
- lines in each paragraph, then doing a "<wrap_para>" for those
- same paragraphs...which is how to print out WYSIWYG fashion. No
- matter what you want your left margin to be when printing out, by
- using "[ESC]PL," you never have to bother manually realigning
- your paragraphs' left margins...instead, all you need do is allow
- for an adjustment of the on-screen right margin according to how
- you set the printer's left margin.
-
- If your text is not already formatted with a 78-column right
- margin, you must "<wrap_para>" it after setting the right margin
- to 78 (using QEDIT's "<set_rmargin>" command).
-
- Make sure your printer is set for 12 cpi (pica), for the portion
- of text set by this macro. (If you use a printer macro, as
- described in my file QPRINTER.ART, you can imbed the 12 cpi
- command in text, by using the 12 cpi macro.)
-
- Here's the formula for establishing a 12 cpi left margin:
-
- L = 12 x i
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 21
-
-
-
-
- (Translation: Left margin = 12 times number of inches in
- decimal.)
-
- Here's the formula for centering text on printer, when left
- margin is "flush left" on screen (assuming you are printing at 12
- cpi, and want right margin to equal left margin):
-
- R = 102 - L - L
-
- (Translation: right margin = 102 minus the left margin, minus
- the left margin.)
-
- Using the simple formulas above, you can quickly reset printer
- margins to any width desired. (Example: If you want a (12-cpi)
- left/right margin of 1-1/2 inches, change printer left margin
- ("[ESC]PL") to 18 (12 times 1.5), then use the formula "R = 102 -
- L - L" to find out the right margin, which will be 66 (102 - 18 -
- 18)...then change right margin ("[ESC]OR") to 66. To include
- the new setting in a macro, use the macro instructions above,
- where "78" is to be replaced by the new right margin, and "12" is
- to be replaced by the new left margin.
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 22
-
-
-
-
- ------------------------------------------------------------
-
- [ALT]0 CLEAR LEFT/RIGHT MARGINS FOR STANDARD 10 CPI
- 8-1/2" WIDE PAGE (left marg. 2, right marg. 78)
-
- <macro_record>
- <MACRO>
- [ESC]OR
- 78
- [ENTER]
- [ESC]PL
- 2
- [ENTER]
- <macro_record>
-
- NOTES: This macro clears printer margin and QEDIT right margin
- commands you may have previously set..."defaulting" them to the
- standard printer page of 8-1/2 inches. Since the paper can
- actually hold 85 characters per line (8-1/2 inches at 10 cpi = 85
- characters per line), but the printer "carriage returns" at
- character 80, this macro centers text print-out by setting
- left/right margins at 2 character-widths each.
-
- ------------------------------------------------------------
-
- ALT-Q: CHECK PAGE LENGTH FOR 71-LINE TEXT BODY (6-LINE
- BOTTOM/TOP MARGINS)
-
- <macro_record>
- <MACRO>
- <beg_line>
- {hit [DOWN ARROW] 70 times}
- <macro_record>
-
- This "71-line page length check" macro moves the cursor down 71
- lines. This helps you check for correct page length, when top
- and bottom margins are formatted for 6 lines each.
-
- Before executing this macro, cursor must be anywhere on first
- text line (not line 1, if there is also a top margin) of page to
- be checked.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 23
-
-
-
-
- ------------------------------------------------------------
-
- ALT-W: CHECK PAGE LENGTH FOR 77-LINE TEXT BODY (3-LINE
- BOTTOM/TOP MARGINS)
-
- <macro_record>
- <MACRO>
- <beg_line>
- {hit [DOWN ARROW] 76 times}
- <macro_record>
-
- This "58-line page length check" macro moves the cursor down 58
- lines. This helps you check for correct page length, when top
- and bottom margins are formatted for 3 lines each.
-
- Before executing this macro, cursor must be anywhere on first
- text line (not line 1, if there is also a top margin) of page to
- be checked.
-
-
-
- ------------------------------------------------------------
-
- ALT-E: CHECK FULL PAGE LENGTH (83 LINES)
-
- <macro_record>
- <MACRO>
- <beg_line>
- {hit [DOWN ARROW] 82 times}
- <macro_record>
-
- This "83-line full page length check" macro moves the cursor down
- 83 lines...landing on the "page break," which is that page's last
- line. This helps you check for correct full page length, which
- includes BOTTOM & TOP margins, if any (regardless of the line
- spaces they occupy). This is equivalent to the 84-line 14-inch
- printer paper length...though measuring 83 lines on-screen.
-
- Before executing this macro, cursor must be anywhere on line 1 of
- page to be checked (if there is a top margin, place cursor on
- line 1 of top margin).
-
-
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 24
-
-
-
-
- ------------------------------------------------------------
-
- ALT-R: SET PRINTER FOR 84-LINE PAGE LENGTH
-
- <macro_record>
- <MACRO>
- <unmark_block>
- <literal>
- [ESC]C84
- <literal>
- [ESC]C66
- {hit [LEFT ARROW] 4 times}
- <drop_anchor>
- {hit [RIGHT ARROW] 3 times}
- <drop_anchor>
- {hit [LEFT ARROW] 3 times}
- <macro_record>
-
- This macro sets your printer for "legal length," which is 84
- lines per page. Page length remains unchanged, even when line
- spacing is changed (that's nice!).
-
- "[ESC]C66" returns printer to a 66-length page, so place this
- "end" code at the bottom of your document, or erase it. The
- macro "block highlights" this "end" code, to alert you.
-
- My printer responds strangely to this command, even though this
- is the code in the manual. Fortunately, I can set different page
- lengths via a printer switch. I hope you can too!
-
- ------------------------------------------------------------
-
- ALT-T: PRINTER PAGE EJECT
-
- <macro_record>
- <MACRO>
- <unmark_block>
- <literal>
- [CTRL]L
- [LEFT ARROW]
- <drop_anchor><drop_anchor>
- <print_block>
- <unmark_block>
- [DELETE]
- <macro_record>
-
- The "printer page eject" macro does not affect text...but sends a
- form feed to the printer, ejecting the current printer page to
- the beginning of the next.
-
- Before executing this macro, cursor must be on a blank line, or
- QEDIT will print out any characters on that line.
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 25
-
-
-
-
- ------------------------------------------------------------
-
- ALT-Y: INPUT FORM FEED
-
- <macro_record>
- <MACRO>
- <literal>
- [CTRL]L
- <macro_record>
-
- "Input form feed" macro gives you a plain vanilla "page break"
- without any of the fancy top/bottom margin formatting provided by
- the "page break" macros.
-
- ------------------------------------------------------------
-
- ALT-D: CONVERT TO DOUBLE SPACE (from single)
- ---------------------------------------------
-
- <macro_record>
- <MACRO>
- <beg_line>
- <cursor_down>
- [ENTER]
- <macro_record>
-
- In order to create this macro, "[INSERT]" must be "on", due to
- the [ENTER] key included in the macro.
-
- The "convert to double space" macro will change single-space text
- to double-space. Just hold down the macro (in my example: ALT-D)
- for the duration of time it takes to double-space desired text.
- Cursor must start on a line with text, and [insert] must be "on".
-
- If you don't want to double the number of lines between
- paragraphs, use the "double space" macro only on actual portions
- of text.
-
- I prefer to store the "double space" macro in a macro file,
- rather than in the configuration file. You may prefer otherwise,
- and you may also prefer to assign this macro to a single key
- (that is, one of the function keys).
-
- If you want to store the "double-space" macro in the
- configuration file, here is the command line:
-
- @d macro_begin beg_line cursor_down return
-
- (Of course, if you prefer to use a different macro assignment,
- change "@d" to the assignment of your choice.)
-
-
-
-
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 26
-
-
-
-
- ------------------------------------------------------------
-
- ALT-S: CONVERT TO SINGLE SPACE (from double)
- ---------------------------------------------
-
- <macro_record>
- <MACRO>
- <beg_line>
- <cursor_down>
- <del_line>
- <macro_record>
-
- The "convert to single space" macro will change double-space text
- back to single space. Just hold down macro (in my example:
- ALT-S) for the duration of time it takes to single-space desired
- text. Cursor must start on a line with text, and all text to be
- affected must be double-spaced.
-
- WARNING: This macro is intended to delete blank lines only.
- Should you use this macro on single-space text, or begin the
- macro on a blank line of double-space text, you will delete text.
-
- I prefer to store the "single space" macro in a macro file,
- rather than in the configuration file. You may prefer otherwise,
- and you may also prefer to assign this macro to a single key
- (that is, one of the function keys).
-
- If you want to store the "single-space" macro in the
- configuration file, here is the command line:
-
- @s macro_begin beg_line cursor_down del_line
-
- (Of course, if you prefer to use a different macro assignment,
- change "@s" to the assignment of your choice.)
-
-
-
- "LEGAL FORMAT" MACROS (cont'd) Pg. 27
-
-
-
-
- ************************************************************
-
- PART V: SAVING YOUR MACROS
- ---------------------------
-
- Now that you've gone through all this, you certainly don't want
- to lose these macros so painstakingly created. At this moment,
- should your computer's power source cease (through a power
- failure, inadvertantly pressing the reset or "off" button,
- tripping over the power cord, RAM lockup, or whatever), you will
- indeed lose them.
-
- To save your printer macros to disk, use QEDIT's "macro_write"
- command...whatever you have configured it to be (I use
- "[CTRL]MS"). You can name the macro file anything you want, but
- it's advisable to save all macro files with the extension ".MAC"
- or ".KEY" for easy identification. May I suggest naming your
- "legal format" macro file L-FORM.MAC?
-
- ************************************************************
-
-
-
-
-
-
-