the Olive Leaf - Newsletter of the Arizona Interleaf Users Group

February 1993

Answer To Tables Wish List Item

Thanks to Christine Hale, an Interleaf trainer from the L.A. Office, we have an answer to one of the "wish list" items published in our December 1992 issue.

To meet mil spec requirements, item 5 requested a method to have the bottom rulings open on all but the last page and the top rulings open on all but the first page. This is a standard feature in Interleaf 5.

To access this feature, select one of the rows of the table and execute
Props -> Table:



On the last line of the special Table property sheet, change from the standard selection of "Both" to "None":



This will yield the desired result, as shown in the first figure above.

Changing The Date Format

The keyboard sequence CTRL-x d places the current date at the cursor location. However that date includes the day of the week:
Monday, February 15, 1993
The following Lisp makes the format:
February 15, 1993

;; Change default date format
(lisp-set-implementation
  "Interleaf Lisp" "2.0")
;; (Not a product of Interleaf, Inc.)
(defun doc-insert-date ()
 "(doc-insert-date)
Insert current date into the open document
 at the caret.
This function is usually bound to Ctrl-x d."
 (tell (doc-point-marker) mid:insert
  (strftime "%d %B %Y")))
(putprop 'doc-insert-date 'kbd-keydoc
  #.(msgk "insert\ndate"))

Select this code on your desktop and execute:
Custom -> Load
or place it in your No Selection cabinet to access it via your Custom menu.

To make the date format become: 2/15/93 replace "%d %B %Y" above with "%m/%d/%y". The default Interleaf definition uses just the argument "%x". You may create other formats by using a combination of characters and these special codes:

We owe our thanks to Christine Hale for this tip as well.

Dave Eaton
AIUG Newsletter Editor


[Newsletter TOC] (Updated 30 MAY 96)
This Web site is provided by Artronic Development.
Contact webmaster@www.arde.com with questions or problems. Copyright 1996 Arizona Interleaf Users Group