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

  1.        subject: TABS
  2.  
  3.       overview: Tabs are an important ingredient of PC-Type II.  Tab
  4.                 definitions permit you to:
  5.  
  6.                 (1) have completely different margins defined in
  7.                     different parts of the same document.
  8.                 (2) define which part of your text is to be single,
  9.                     double, or triple spaced when it is printed.
  10.                 (3) toggle the automatic wrapping of your paragraphs
  11.                     as you insert and delete characters from a line.
  12.                 (4) select the action the Tab key will have upon the
  13.                     text.
  14.  
  15.                 Tab definitions are saved within the text files in
  16.                 which they are made if such files are saved in the
  17.                 document format, i.e., files saved with a .PCT
  18.                 extension.
  19.  
  20.                 The margin and tab settings of a file are shown in the
  21.                 Tab Line, normally located just above the Command Line
  22.                 and below the screen area.  As the cursor is moved up
  23.                 or down within the file, if the Tab definition
  24.                 changes, the Tab Line on your screen will reflect the
  25.                 changes.
  26.  
  27.                 To modify the Tabs within a file, select the "(T)abs"
  28.                 option in the Main Menu.  When you do, the following
  29.                 menu will be displayed.
  30.  
  31.                 ┌────────────────────────────┐
  32.                 │Tab setting options:        │   page
  33.                 ╞════════════════════════════╪═══════
  34.                 │ (F)ile Tab modification    │    241
  35.                 │ (R)estore default Tabs     │    242
  36.                 │ (A)ctive Tab modification  │    243
  37.                 │ (M)odify active Tab toggles│    244
  38.                 │ (N)ew Tab line             │    242
  39.                 │ e(X)it                     │ <-- exit Tab Setting
  40.                 └────────────────────────────┘
  41.  
  42.                 Before describing the options in this menu, it is
  43.                 helpful to learn how Tab and margin settings
  44.                 affect the cursor movement and their effect upon the
  45.                 Tab and Shift Tab keystrokes.
  46.  
  47.                 It is also important to know the difference between
  48.                 "default profile tabs", "default file tabs", and
  49.                 "active tabs" and to understand the term "QUICKTABS".
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                                  229
  57.        margins: Assume that the margin and Tab stops are set as shown
  58.                 below.
  59.  
  60.                 ┌──────────────────────────────────────────┐
  61.                 │ L    I    T         T         T        R │
  62.                 └──────────────────────────────────────────┘
  63.                 NOTE: The indent margin 'I' is not required.
  64.  
  65.                 With the cursor on the 'L', (left margin), if you
  66.                 attempt to move the cursor to the left, it will move
  67.                 just to the right of the 'R' (right margin) of the
  68.                 previous line.  (If you move the cursor to the left
  69.                 and you are in the first line of a paragraph, then it
  70.                 will wrap at the 'I' (indent margin) instead.)
  71.  
  72.                 Pressing the Home key will move the cursor to the 'L'
  73.                 unless you are on the first line of a paragraph in
  74.                 which case it will move to the indent margin.
  75.  
  76.                 Similarly, with the cursor at the 'R', moving the
  77.                 cursor to the right will move it to the left margin of
  78.                 the next line (unless the next line is the beginning
  79.                 of a new paragraph, in which case the cursor will move
  80.                 to the indent margin).
  81.  
  82.      Tab stops: The only keystrokes affected by the Tab stops (the
  83.                 'T's) are the Tab and Shift Tab keystrokes.  If the
  84.                 "(T)ab char insert" toggle is OFF, (described below),
  85.                 then pressing the Tab key will move the cursor to the
  86.                 next 'T' to the right.  If there are no more 'T's,
  87.                 then it will move the cursor to the right margin.
  88.  
  89.                 Similarly, pressing the Shift Tab key will move the
  90.                 cursor to the next 'T' to the left.  If there are no
  91.                 more T's, then it will move the cursor to the indent
  92.                 or left margin.
  93.  
  94.                 If the "(T)ab char insert" toggle is ON, there will be
  95.                 no effect on the Shift Tab key, but the Tab key will
  96.                 behave differently.  Assume the cursor is on the X in
  97.                 the line below and the Tab stops are set as indicated.
  98.  
  99.                 With the "(T)ab char insert" toggle ON, pressing the
  100.                 Tab key will push the X and all the characters to its
  101.                 right to the right until the X is above the next 'T'
  102.                 as shown below.  A "Tab character" (shown here as
  103.                 '^'), is visible to indicate that a it has been
  104.                 inserted into the text.
  105.  
  106.                ░ aaaaaXbbbbbbbb     -->  aaaaa    ^Xbbbbbbbb
  107.                ░     T     T     T           T     T     T
  108.  
  109.                 With the cursor on the X, pressing the Backspace key
  110.                 will remove the Tab character and the text will close
  111.                 again as it was originally.
  112.                                  230
  113. Tab characters: Tab characters can be useful for lining up columns of
  114.                 text.  When you print files containing Tab characters,
  115.                 they are translated into spaces so they will not be
  116.                 seen and will have no effect on your printer (unless
  117.                 you modify the printer translation table).
  118.  
  119.                 Tab characters come into play when you reformat a
  120.                 paragraph with left justification.  Tab characters
  121.                 will always be placed right before a Tab stop.
  122.  
  123.                 Similarly, when you read a file into PC-Type II, if it
  124.                 contains Tab characters, they will be aligned so that
  125.                 the Tab will be just before a Tab stop.
  126.  
  127.                 In the example on the previous page, notice the gap
  128.                 between the last 'a' and the Tab character.  This is
  129.                 actually dead space and is referred to in PC-Type II as
  130.                 a "Tab fill area" or as "Tab fill characters".
  131.  
  132.                 If you press the Del key when the cursor is on such an
  133.                 area, it will have the same effect as deleting the Tab
  134.                 character itself, i.e., the entire gap will close
  135.                 immediately.
  136.  
  137.                 If you insert characters to the left of a Tab
  138.                 character, the "fill area" will shrink, keeping the
  139.                 Tab character itself in the same relative position.
  140.                 When you insert enough characters so that the "fill
  141.                 area" is gone, the next character insertion will cause
  142.                 the Tab character to "jump" to the next Tab stop.
  143.  
  144.  
  145.  
  146.  
  147.     (Z)ap tabs: There is a "(Z)ap tabs" option in the Main Menu.  This
  148.                 option will go through the entire file, line by line,
  149.                 and convert all "Tab fill characters" and all "Tab
  150.                 characters" to spaces.
  151.  
  152.                 This is not the same as deleting the Tabs.  The ZAP
  153.                 option will not result in any "visible" alteration to
  154.                 the display of your file except that the Tab
  155.                 characters will disappear.  Deleting all the Tab
  156.                 characters, however, would markedly alter the display.
  157.  
  158.                 If a text area is marked with paragraph (Ctrl L) or
  159.                 blocked (Ctrl B) highlighting, the "(Z)ap tabs"
  160.                 option will ask if you only want to ZAP the Tabs in
  161.                 the highlighted area or in the entire file.  You can
  162.                 thus selectively ZAP the Tabs if you so choose.
  163.  
  164.  
  165.  
  166.  
  167.  
  168.                                  231
  169.   profile tabs: The "default profile tabs" definition is the margin
  170.                 and tab settings stored in your .PRO file.  This
  171.                 definition can only be changed through the
  172.                 Configuration Menu option "(M)odify default tabs" or
  173.                 by editing your .PRO file.
  174.  
  175.                 This tab definition is responsible for providing the
  176.                 margins and tabs for non-.PCT files or for any new
  177.                 files which are created.  Once a file is loaded, the
  178.                 profile tabs are copied and become the "file tabs".
  179.  
  180.                 Modifying the default tabs will have no effect on
  181.                 files already in memory, but will have an effect on
  182.                 any non-.PCT files or new files loaded later.
  183.  
  184.      file tabs: "Default file tabs" define the tab and margin settings
  185.                 for a specific file.  They are visible on the Tab Line
  186.                 at the bottom of the screen when the cursor is on the
  187.                 top line of the file.  When editing a new file, the
  188.                 "default profile tabs" are copied and become the
  189.                 "default file tabs" for the new file.
  190.  
  191.                 These tabs can be modified at any time when you are
  192.                 editing the file.  If the file is saved to disk with a
  193.                 .PCT extension, the "default file tabs" are saved with
  194.                 it.  The next time you edit the file, they will be
  195.                 precisely where you left them.
  196.  
  197.    active tabs: You can insert temporary tab and margin settings
  198.                 within the file you are editing.  As you move from one
  199.                 location in the file to another, the different tab
  200.                 settings come into play.  The tab setting which
  201.                 controls the cursor in its current location is called
  202.                 the "active" tab setting.  This can be the "default
  203.                 file tabs", or a temporary tab setting.
  204.  
  205.                 The active tab setting is always displayed at the
  206.                 bottom of the window being edited.  As the cursor
  207.                 moves from the domain of one tab setting to that of
  208.                 another, you will be able to see the change.
  209.  
  210.      quicktabs: QUICKTABS is not a tab setting but a configuration
  211.                 toggle switch.  (See the discussion of "QUICKTABS" in
  212.                 the "Switches" portion of the Configuration section.)
  213.                 If you know that the only tab setting you will want to
  214.                 use is the "default file tab" setting, then by turning
  215.                 the "QUICKTABS" toggle ON, you bypass most of the
  216.                 questions normally asked when you modify a tabs
  217.                 setting.  If the toggle is ON, however, you cannot
  218.                 insert temporary tab settings within your document.
  219.  
  220.                 NOTE: In the discussion which follows, it is assumed
  221.                       that "QUICKTABS" are OFF.
  222.  
  223.  
  224.                                  232
  225.        subject: FILE TAB MODIFICATION
  226.  
  227.     discussion: When you select the "(F)ile Tab modification" option
  228.                 from the Tab Setting Options menu, the Command Line
  229.                 changes into a tab and margin definition line which
  230.                 you can edit.  It might look like:
  231.                 ┌──────────────────────────────────────────┐
  232.                 │ L    I    T         T         T        R │
  233.                 │Adjust tabs - Enter when done (Esc=exit)  │
  234.                 └──────────────────────────────────────────┘
  235.  
  236.                 The tab and margin definition displayed is the
  237.                 "default file tabs" setting.  If you press the Esc
  238.                 key, you will exit with no modifications registered.
  239.  
  240.                 If you modify the settings of Tabs or margins and then
  241.                 press the Enter key,  the "default file tabs" setting
  242.                 will have been modified.  (For a complete discussion
  243.                 on editing the tab setting, refer to "Default Profile
  244.                 Tabs" in the Configuration section of the manual.)
  245.  
  246.                 NOTE: If "QUICKTABS" is ON, this would complete the
  247.                       Tab modification process.
  248.  
  249.                 After pressing the Enter key, you will see:
  250.                 ┌─────────────────────────────┐
  251.                 │Question:                    │
  252.                 ╞═════════════════════════════╡
  253.                 │Reformat now to new settings?│
  254.                 │Press Y or N                 │
  255.                 └─────────────────────────────┘
  256.  
  257.                 If you answer N, no reformatting will be performed.
  258.                 If you press Y, then every paragraph in the file will
  259.                 be reformatted (unless there are "No Reformat" Special
  260.                 Lines present).
  261.  
  262.                 Next, the menu below will appear.
  263.                 ┌────────────────────────┐
  264.                 │Tab toggle options:     │
  265.                 ╞════════════════════════╡
  266.                 │ (S)pacing         (SNG)│
  267.                 │ (T)ab char insert (OFF)│
  268.                 │ (W)rap paragraph  ( ON)│
  269.                 │ e(X)it                 │
  270.                 └────────────────────────┘
  271.                 (This menu will be discussed in detail below as the
  272.                 topic "Tab Toggle Options".)  This menu remains active
  273.                 until you press the X or Esc key.  You can see the
  274.                 status of the Tab toggles change within the menu as
  275.                 you select the S, T or W options.
  276.  
  277.                 When you are finished with this menu, the modification
  278.                 of the "default file tabs" setting is complete and you
  279.                 will be returned to the Edit mode.
  280.                                  233
  281.        subject: NEW TAB LINE and RESTORE DEFAULT TABS
  282.  
  283.       new Tabs: When you select the "(N)ew Tab line" option from the
  284.                 Tab Setting Options menu, a "Tab line" as shown below
  285.                 is immediately inserted into your text on the line
  286.                 below the cursor, and you will be placed in the
  287.                 Command Line to edit the new margin and Tab settings.
  288.  
  289.                 ├──────────────── Tab line ────────────────┤
  290.  
  291.                 Initially, this Tab line contains the identical Tab
  292.                 settings as the active Tab setting.  If you press the
  293.                 Esc key while in the Tab edit mode, the new Tab line
  294.                 will remain.  Otherwise, continue the Tab definition
  295.                 as with the "(F)ile Tab modification" above.
  296.  
  297.   restore Tabs: When you select the "(R)estore default Tabs" option
  298.                 from the Tab Setting Options menu, a "Default Tab
  299.                 line" as shown below is immediately inserted into your
  300.                 text on the line below the cursor.
  301.  
  302.                 ├──────────── Default Tab line ────────────┤
  303.  
  304.                 This Tab line references the "default file tabs".
  305.                 While you cannot change the margin and Tab settings,
  306.                 you are given the opportunity to modify the default
  307.                 file tab toggles at this time.
  308.  
  309. Tab line domain: The two types of Tab lines shown above can exist in
  310.                 your text file in numerous locations.  The domain of
  311.                 influence of a given Tab line is from the line itself
  312.                 down toward the bottom of the file until another Tab
  313.                 line is reached.  The "default file tabs" influence
  314.                 begins at the very top of the file. Let's look at a
  315.                 sample file.
  316.  
  317.                  TOP of FILE
  318.                 ┌────────────────────────┐ default file tabs
  319.                 │          (1)           │                .
  320.                 │                        │                .
  321.                 │├────── Tab line ──────┤│ Tab definition A
  322.                 │          (2)           │                .
  323.                 │                        │                .
  324.                 │├── Default Tab line ──┤│ default file tabs
  325.                 │          (3)           │                .
  326.                 │                        │                .
  327.                 │├────── Tab line ──────┤│ Tab definition B
  328.                 │          (4)           │                .
  329.                 └────────────────────────┘                .
  330.  
  331.                 In the example, areas (1) and (3) are controlled by
  332.                 the "default file tabs" setting.  Area (2) is
  333.                 controlled by whatever settings were made when the
  334.                 new Tab line (A) was inserted and Area (4) is
  335.                 controlled by the new Tab line (B) settings.
  336.                                  234
  337.        subject: ACTIVE TAB MODIFICATION
  338.  
  339.     discussion: When you select the "(A)ctive Tab modification" option
  340.                 from the Tab Setting Options menu, modify the tabs as
  341.                 described above for "Default File Tabs Modification".
  342.  
  343.                 The Tabs you are modifying with this option depend
  344.                 upon the current location of the cursor.  In the
  345.                 example on the previous page, if you were in area (2)
  346.                 of the file, you would be modifying the Tab definition
  347.                 A.  If you were in area (3), you would be modifying
  348.                 the "default file tabs" definition.
  349.  
  350.                 NOTE: Any of the "Tab lines" inserted in your text can
  351.                       be moved, copied, or deleted.
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.                                  235
  393.        subject: MODIFY ACTIVE TAB TOGGLES
  394.  
  395.        purpose: Three toggles exist for every tab line which define:
  396.                 (1) the text spacing (single, double or triple).
  397.                 (2) the action to take when the Tab key is pressed.
  398.                 (3) the state of automatic sentence wrapping.
  399.  
  400.     discussion: If you select the "(M)odify active Tab toggles" option
  401.                 from the Tab Setting Options menu, the menu below is
  402.                 shown.  This is the same menu which appears during the
  403.                 normal process of creating or modifying Tab lines.
  404.                 Selecting this option from the menu implies that the
  405.                 "active tab line" toggles are the ones which are to be
  406.                 modified.  (This menu will never appear if the
  407.                 QUICKTABS toggle is turned ON.)
  408.                 ┌────────────────────────┐
  409.                 │Tab toggle options:     │
  410.                 ╞════════════════════════╡
  411.                 │ (S)pacing         (SNG)│
  412.                 │ (T)ab char insert ( ON)│
  413.                 │ (W)rap paragraph  ( ON)│
  414.                 │ e(X)it                 │
  415.                 └────────────────────────┘
  416.                 Pressing S will toggle the (S)pacing line from (SNG)
  417.                 (single spacing) to (DBL) (double spacing) to (TRP)
  418.                 (triple spacing).
  419.  
  420.                 Pressing T will toggle the (T)ab char insert line from
  421.                 ( ON) to (OFF).  When this toggle is ON, a tab
  422.                 character will be inserted in the text when the Tab
  423.                 key is pressed (unless you are using a hanging indent
  424.                 and the cursor is to the left of the left margin).
  425.  
  426.                 Pressing W will toggle the (W)rap paragraph line from
  427.                 (ON) to (OFF).  When this toggle is ON, text within a
  428.                 paragraph will be automatically adjusted as characters
  429.                 are inserted or deleted from a line.
  430.  
  431.                 The status of these toggles for the active Tabs is
  432.                 visible in the status area at the upper left hand
  433.                 corner of your screen.
  434.  
  435.                 The spacing will be shown as a '1', '2', or '3'.
  436.  
  437.                 If "(W)rap paragraph" is ON, it will be shown as a
  438.                 'W'.  If it is OFF, the double line border will take
  439.                 its place.
  440.  
  441.                 If "(T)ab char insert" is ON, it will be shown as a
  442.                 'T'.  If it is OFF, the double line border will take
  443.                 its place.
  444.  
  445.                 In the example "╔════T2W═", the active Tab toggle
  446.                 settings are "insert Tab characters", double spacing,
  447.                 and automatic wrapping.
  448.                                  236
  449.