home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / pct2_2.zip / PCTDOC1.EXE / lha / CHAP22.TXT < prev    next >
Text File  |  1989-04-21  |  10KB  |  225 lines

  1.        subject: REFORMATTING
  2.  
  3.       overview: Reformatting is the process of adjusting the text
  4.                 in paragraphs to eliminate "holes" which may have been
  5.                 introduced through editing or changing Tabs, and of
  6.                 justifying the margins of the text.  You can also
  7.                 reformat an area which is "block" highlighted in which
  8.                 case you can adjust the left and right margins "on the
  9.                 fly".
  10.  
  11.                 Justification can be:
  12.                 (1) LEFT   - even left margin with ragged right
  13.                 (2) RIGHT  - even right margin with ragged left
  14.                 (3) BLOCK  - even left and right margins
  15.                 (4) CENTER - centering each line of text within the margins.
  16.  
  17.                 Reformatting can be accomplished by:
  18.                 (1) pressing Ctrl R which will left justify the
  19.                     paragraph in which the cursor is located or
  20.                     reformat the highlighted text in which the cursor
  21.                     is located.
  22.  
  23.                 (2) accepting the "Reformat now to new settings?"
  24.                     option provided after Tabs redefinition.
  25.  
  26.                 (3) selecting the "(R)eformat" option in the
  27.                     Highlight Options menu.
  28.  
  29.                 (4) placing reformatting directives in a file being
  30.                     "mail-merged".
  31.  
  32.                 (5) Selecting the "(R)eformat" option in the Main
  33.                     Menu.
  34.  
  35.                 In this discussion, we assume you begin the reformat
  36.                 operation via (5).  Selecting this option causes the
  37.                 menu below to be displayed:
  38.  
  39.                 ┌─────────────────┐
  40.                 │REFORMAT options:│
  41.                 ╞═════════════════╡
  42.                 │ (A)ll           │
  43.                 │ (T)o end        │
  44.                 │ (P)aragraph     │
  45.                 │ (H)ighlight     │
  46.                 │ e(X)it          │
  47.                 └─────────────────┘
  48.  
  49.                 In general, reformatting is accomplished in a
  50.                 paragraph by paragraph manner and considers any
  51.                 changes in Tabs and margins which may be encountered.
  52.  
  53.  
  54.  
  55.  
  56.                                  218
  57.        subject: REFORMATTING OPTIONS
  58.  
  59.          (A)ll: This option will reformat the entire file.
  60.  
  61.       (T)o end: This option will reformat the file beginning with the
  62.                 paragraph in which the cursor is located and
  63.                 proceeding to the end of the file.
  64.  
  65.                 With both of the above options, the "No reformat"
  66.                 Special Lines are respected.  If you have Tab lines
  67.                 imbedded in your text, the reformatting process will
  68.                 take into account the changes in the Tab and margin
  69.                 definitions.
  70.  
  71.    (P)aragraph: This option will only reformat the paragraph in which
  72.                 the cursor is located when the option is selected.
  73.  
  74.    (H)ighlight: This option only reformats the highlighted text area
  75.                 within the file you are editing.  (Reformatting with
  76.                 sentence highlighting is not permitted.)  If no area
  77.                 is highlighted in the current file the message
  78.                 ╔═══════════════════════════╗
  79.                 ║                           ║
  80.                 ║   Must mark area first.   ║
  81.                 ║Press a key to continue ...║
  82.                 ║                           ║
  83.                 ╚═══════════════════════════╝
  84.                 is displayed.
  85.  
  86.                 When the highlighted area is marked with block
  87.                 highlighting, and the type of justification is
  88.                 selected (described below), a single line field is
  89.                 displayed on your screen with an 'L' and an 'R'
  90.                 located at the left and right edges of the block
  91.                 highlighting.  The Message Line reads:
  92.  
  93.                 Adjust new margins - Enter when done (Esc to exit)
  94.  
  95.                 This process permits you to redefine the area in which
  96.                 the block highlighted text should be reformatted.
  97.                 (You can also include an indent 'I' character in the
  98.                 margin definition.)  This is quite handy if you are
  99.                 reformatting text within a box or table or if you want
  100.                 to "squash" a section of text without having to imbed
  101.                 new Tab lines in your text file.
  102.  
  103.                 In the example below, the highlighted area is shown as
  104.                 a box at the left and the new margin definitions are
  105.                 shown as L and R.  The result is at the right.
  106.  
  107.                   L               R
  108.                 ┌────────────────────────┐
  109.                 │Squash this text to the │  Squash this text
  110.                 │temporary margin setting│  to the temporary
  111.                 └────────────────────────┘  margin setting
  112.                                  219
  113.        subject: REFORMATTING - JUSTIFICATION
  114.  
  115.     discussion: Once the range of reformatting has been defined, the
  116.                 type of justification to be performed on that range
  117.                 must be determined.  To do so, the following menu is
  118.                 displayed:
  119.  
  120.                 ┌─────────────────────┐
  121.                 │REFORMAT types:      │
  122.                 ╞═════════════════════╡
  123.                 │ (C)enter text       │
  124.                 │ (L)eft  justify text│
  125.                 │ (R)ight justify text│
  126.                 │ (B)lock justify text│
  127.                 │ e(X)it              │
  128.                 └─────────────────────┘
  129.  
  130.       (C)enter: Center justification will proceed from line to line
  131.                 within the specified range and adjust each line so it
  132.                 is equidistant from each margin.  The line is centered
  133.                 as it stands, i.e., no spaces are deleted or
  134.                 inserted.  Tab characters are replaced by spaces,
  135.                 however.
  136.  
  137.         (L)eft: Left justification determines the bounds of the
  138.                 paragraph to be justified and then reformats the
  139.                 paragraph.
  140.  
  141.                 To reformat the paragraph, left justification
  142.                 eliminates "holes" and moves words from line to line
  143.                 filling each line with as many words as will fit
  144.                 within the margins.  If Tab characters exist on the
  145.                 line, the text is shifted to the next Tab stop.  At
  146.                 the end of each sentence, one or two spaces will be
  147.                 inserted after the punctuation based upon the setting
  148.                 of the "SNT_SPACE" toggle setting in the "(S)witches"
  149.                 option of the Configuration Menu.
  150.  
  151.        (R)ight: Right justification first performs the left
  152.                 justification described above.  Then, each line of the
  153.                 paragraph is "shoved" to the right until the end of
  154.                 its right-most word is at the right margin.  Tab
  155.                 characters are replaced by spaces.
  156.  
  157.        (B)lock: Block justification first performs the left
  158.                 justification described above.  Then, Tabs are removed
  159.                 and each line is filled with spaces until the first
  160.                 character of the first word on the line is at the left
  161.                 margin and the last character of the last word on the
  162.                 line is at the right margin.  These extra spaces are
  163.                 inserted in as pleasing a manner as possible.  If the
  164.                 last line of a paragraph is significantly short of the
  165.                 right margin, it will not be blocked.
  166.  
  167.  
  168.                                  220
  169.        subject: REFORMATTING EXAMPLES
  170.  
  171.     discussion: The following paragraph, with the left and right
  172.                 margins shown, is reformatted by each form of
  173.                 justification.  The results are as labeled.
  174.  
  175.                 ┌──────────────────────────────────────────┐
  176.                 │L                                        R│
  177.                 ├──────────────────────────────────────────┤
  178.                 │This    is  a  sample paragraph           │
  179.                 │  which will    be reformatted   with     │
  180.                 │each of the four different                │
  181.                 │               types of justification.    │
  182.                 └──────────────────────────────────────────┘
  183.  
  184.  
  185.         center: ┌──────────────────────────────────────────┐
  186.                 │     This    is  a  sample paragraph      │
  187.                 │   which will    be reformatted   with    │
  188.                 │        each of the four different        │
  189.                 │         types of justification.          │
  190.                 └──────────────────────────────────────────┘
  191.  
  192.  
  193.           left: ┌──────────────────────────────────────────┐
  194.                 │This is a sample paragraph which will be  │
  195.                 │reformatted with each of the four         │
  196.                 │different types of justification.         │
  197.                 └──────────────────────────────────────────┘
  198.  
  199.  
  200.          right: ┌──────────────────────────────────────────┐
  201.                 │  This is a sample paragraph which will be│
  202.                 │         reformatted with each of the four│
  203.                 │         different types of justification.│
  204.                 └──────────────────────────────────────────┘
  205.  
  206.  
  207.          block: ┌──────────────────────────────────────────┐
  208.                 │This  is a sample paragraph which will  be│
  209.                 │reformatted   with   each  of   the   four│
  210.                 │different types of justification.         │
  211.                 └──────────────────────────────────────────┘
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.                                  221
  225.