From: hiscrp@nuscc.nus.sg (C R Pennell)
Subject: Re: Editing footnotes
Organization: National University of Singapore
X-Newsreader: Tin 1.1 PL4
Date: Tue, 15 Dec 1992 14:45:35 GMT

STAGE 1. Clear document on screen .2
	 Call your document including your footnotes/endnoted to be edited
onto screen 1.
	 Position cursor at beginning of document on screen one

STAGE 2. CREATE MACRO FOR REMOVING CONTENTS OF FOOTNOTES
	a. Control f-10 for create macro
	b. call your macro "footout"
	c. ignore the silly "macro description" option by pressing <enter>
	d. Control f-7, 1, 2 [i.e. for edit fn]
	e. f-12 [block on], <home><home> <down arrow> [blocks to end of fn]
	NB ensure you do NOT include the fn number in the block
	f. control <insert> or control <delete>
	g. f-7 [finish] (you are now back to your main text imm after fn no)
	h. <backspace> answer <y> to whether you want to delete fn
	i. type ***
	j. Shift f-3 (takes you to the screen 2)
	k. Shift f-5, 5, 1 (gives para number so you know fn number)
	l. <space>
	m <enter> (recalls fn text)
	n. <home> <home> <down arrow>
	o <enter> <enter>
	p. Shift f-3
	q. Control f-10
	r. wipe the sweat from your brow.

You have now made a macro for removing one fn from your text and dumping
it on the other screen. Pour yourself a whisky, and do the remaining 106
(or whatever) either one-by-one (yuck) or by using the <esc>=10 and alt-f10
for repeated macros. I do NOT recommend you doing a looped macro.
Something	may go wrong. When you have performed this save both
screen under new names - say text and foot or whatever. Go to doc 2 and
edit it. If you are like me you will find that the distance between the
footnotes - now listed by para numbers - varies: sometimes you will have 2
hard returns sometimes 3 etc. When you edit ENSURE THAT ALL fns ARE
SEPARATED BY 2 hard returns. Do the rest of your editing. Resave (V.impt).

STAGE 3. PUTTING THE FNs BACK IN AGAIN
	a. call text onto screen 1 AND POSITION CURSOR AT THE TOP
	b. call foot  onto screen 2. and POSITION CURSOR AT TOP WITH TWO
HARD RETURNS BETWEEN IT AND THE TEXT OF THE FIRST FOOTNOTE.
	c. return to top of screen 1.
	d. control f-10. call the macro "footin" ignore description
	e. f-2 for search
	f. *** <esc> This will take you to the position of the first footnote
	g. SHift f-3 (takes you to screen 2)
	h. f-2 for search
	i. Shift f-5, 5, 1 (to find para number - you are now on rt-hand
side of para number)
	j. f-12 (block on)
	k. <enter> <backspace>
	l. Control <insert> (NB NOT CONTROL <delete>)
	m. shift f-3 (back to screen 1)
	n. control f-7, 1, 1 (creates new fn)
	o. <enter> (imports text of fn)
	p. f-7 (closes fn)
	q. control f-10 (ends macro definition)

Pour yourself another whisky (small). Repeat operation.
WARNING - soft pages mess things up (who knows why). I STRONGLY RECOMMEND
YOU NOT TO TRY TO REPLACE FNS THAT CROSS SOFT PAGE BREAKS ON THE FOOT
DOC ON SCREEN 2. USE THE REPEAT ALT-10 FUNCTION TO GET AS FAR AS THE FN
BEFORE THE PAGE BREAK AND THEN USE THE MACRO AS AN INDIVIDUAL SHOT TO GET
PAST THE PAGE BREAK. i ALSO RECOMMEND THAT YOU RESAVE THE TEXT DOCUMENT
FREQUENTLY. IF YOU HAVE USED CONTROL <insert> TO COLLECT THE FN YOU CAN
CHECK AS YOU GO ALONG THAT THE NUMBERING IS O.K. 

REMEMBER SOD'S LAW: IF SOMETHING CAN GO WRONG IT WILL.

I HAVE USED THIS TECHNIQUE MANY TIMES AND IT WORKS, ALTHOUGH I KNOW IT IS
NOT VERY ELEGANT. ANYTHING YOU USE MUST HAVE THE CAPACITY FOR FREQUENT
CHECKING TO MAKE SURE IT'S ALL OK.

WHEN YOU HAVE FINISHED YOU CAN GO TO BED. 

	Yawn

G/night all


Richard Pennell, History NUS
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU