THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700


S U M M A R Y


DIARY: November 1, 1993 04:25 PM Monday; Rod Welch

Consider routine to update citations in SDS record.

1...Summary/Objective
2...Avoiding Duplication Processing
3...Line Number Update function
4...Sort Links & Update Citations


..............
Click here to comment!

CONTACTS 

SUBJECTS
New Task or Link records, ID field, 00000000
Citations, open SDS records
Line Counters, macro 1
Sort References
Sort Routine, entry 1451

0907 -    ..
0908 - Summary/Objective
0909 -
090901 - Would like a function that updates citation numbers when we add or
090902 - otherwise change the order of links.
090903 -
090904 -
090905 -
0910 -
0911 -
0912 - Analysis
0913 -
091301 - Following is my initial consideration, which was revised considerably
091302 - the next day, on 931102. ref SDS 2 0642
091303 -
091304 -    The key seems to be the move command.  If we move a cited record in
091305 -    the Reference field, then it should adjust all of the citations to
091306 -    that record in the body text.
091307 -
091308 -    Might be able to create a function that can change all of the cites
091309 -    in an SDS record.  We could do a table similar to what is done with
091310 -    011 file to compress macros, then make adjustments according to a
091311 -    revised position.  Actually what we need is a routine that places
091312 -    all cites in order under References, so we are always looking at a
091313 -    chrolology.
091314 -
091315 -    Decided to just sort the list with Supersort.
091316 -
091317 -        I don't like this a lot, because it causes a blink of the
091318 -        screen during processing, but there does not seem to be a
091319 -        simple way to otherwise sort the list.
091320 -
091321 -
091322 -
091323 -
091324 - Avoiding Duplication Processing
091325 -
091326 - One of the more subtle aspects to this routine is that when cites are
091327 - changed, there is a possibility to process a corrected cite, making it
091328 - incorrect, because we cycle through every linked record, so something
091329 - that was 3 is changed to 5, so when we get to 5, there is a tendancy
091330 - to change it to the new value for 5.  So we need a method to process a
091331 - citation only once.  Do this by appending a " " symbol after a cite is
091332 - processed.
091333 -
091334 -     [Later turned out this entire concern was obviated by a different
091335 -     code design -- it is a non-issue.]
091336 -
091337 -
091338 -
0914 -
0915 -
0916 - 000008
0917 -
091701 - Line Number Update function
091702 -
091703 - Line 1770 - pf5, under SDS profile 022F05, changed from updating line
091704 - numbers to sorting references and updating citations.
091705 -
091706 -
091707 -
091708 -  ..
091709 - Sort Links & Update Citations
091710 -
091711 - Line 2630, ref OF 3 2300, -entry 145, added this new macro to sort SDS
091712 - references and update citations.
091713 -
091714 -       This is actually the easy one.  Documents require 4 passes, and
091715 -       Other Files (OF) require 1.
091716 -
091717 -
091718 - Need to create an algorithm that can evaluate citations on consecutive
091719 - lines.
091720 -
091721 -      [On 931102 did this using zonereps. ref SDS 2 6462]
091722 -
091723 -
091724 -
0918 -

SUBJECTS
SDS reports, Keywords, 910205

1004 - Summary/Objective
1005 -
100501 - Had to modify this to accomodate the title line feature.  We were
100502 - calling the profile for SDS records in the output report, and this
100503 - was creating a title line field for entire screen.
100504 -
100505 -
100506 -
1006 -
1007 -
1008 - 06114
1009 -
100901 - Line 530 - label go, used flag for this screen, 273 = 2014, in 000008,
100902 - to avoid calling the header macro 144, in 000008 under entry 157,
100903 - created at ref SDS 1 line 061501, so the tl command routine is not
100904 - called for this thing.
100905 -
100906 -
100907 -
1010 -