Widowed index headers


Question

If you ask for an index and there is enough room for the letter D heading in the index, but no room for any index entries under the D heading why doesn't it put the heading on the next page??

Answer

  In the starter set, each index entry character header is done with a IEH
  macro.                     The IEH macro does not set up a keep. Adding a
  keep to the this macro would ensure the first few entries under that letter
  would be kept with the index header (the letter D in your example) if that
  header falls at the bottom of the column.

  Bookie has it's own IEH macro which includes a conditional keep--if the
  vertical depth specified as the condition on the keep is not met, the keep
  is ended. Usually the vertical depth condition is not met in the situation
  where the user has overridden the default font size of 10 point to
  something larger.

  The Bookie IEH macro assumes the font for the index entries is 10 point and
  coded the vertical depth on the .KP control word in the .IEH macro
  expecting 10pt.  If you are using 12 point, for example, it's very possible
  the vertical depth of that 1 line of 12point text exceeded the vertical
  depth on the keep.

  If you ever see this failure when using the default body pointsize of 10pt,
  send me a small testcase--the Bookie developers have never seen it fail
  with 10pt.

Last updated: 93/08/24 16:42:52

Previous Contents Next