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


S U M M A R Y


DIARY: August 11, 2000 02:47 PM Friday; Rod Welch

Change link format to alpha nums, add links to all para.

1...Summary/Objective
2...Problem - Need Alpha Num Link Format; Add Anchors to All Para
3...Solution Concept - Make SDS Ref line numbers use letters
4...000006 Entry 985 Use letters and nums to create SDS Links
5...000008 Entry 136 Enter Identify Anchors with Letters and Nums
6...Anchor Verify Macro 1361
.....Addressibility Anchors on Every Para
.....Anchors embedded in Editor Para, Avoid Justify
.....Anchor String in Alpha Nums Created by Macro 987
7...Single Space Avoid Justify When Link Starts on a Character
8...Avoid Justify When Cursor Starts on a Character, Counter 93 > 32
9...Justify When Cursor Starts on Blank, Counter 93 = 32
10...01211 Use letters and nums to create SDS Links
11...Justify Set Counter 93 Flag On or Off for Macro 985
12...0121 Use Alpha Nums to Open Links (D0R2
13...0704081 Recognize Alpha Nums Linking from SDS to Docs
14...000006 Entry 982 Modify to use letters and nums instead of just nums
15...0121 Modify to use letters and nums instead of just nums
16...0122 Avoid HTML Conversion on SDS Development Files
17...000008 Avoid Linking On Col 1 of SDS Development Files


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

CONTACTS 

SUBJECTS
Line Counters, macro 0
Linking in SDS Alpha Nums for References
Design Concept
Citations Create Link SDS to SDS, macro 985
Alpha Num Anchor Format, Open

0807 -    ..
0808 - Summary/Objective
0809 -
080901 - Follow up ref SDS 16 0000, ref SDS 11 0000.
080902 -
080903 - Changed the linking method so we can use alpha nums in the anchors.
080904 -
080905 - Was able to consolidate code between macro 136 for Enter and double
080906 - clicking, and macro 985 that does linking.  Macro 136 was already
080907 - testing for an anchor, so added a little code to set a flag for macro
080908 - 985, ref SDS 0 2120, this permitted eliminating a lot of code in 985
080909 - that was doing the same thing. ref SDS 0 SNKM
080910 -
080911 -       [On 00824 listed all changes past few weeks. ref SDS 25 0001
080912 -
080913 -
080914 -
080915 -  ..
0810 -
0811 -
0812 - Planning
0813 -
081301 -  ..
081302 - Problem - Need Alpha Num Link Format; Add Anchors to All Para
081303 -
081304 - Follow up ref SDS 16 3960.
081305 -
081306 - Want to create anchors in alpha nums in order to reduce occassions
081307 - when duplicates are created.  Will add anchors to all para in docs and
081308 - SDS records, so this increases the need for each anchor to be unique,
081309 - under similar reasoning for making references list alpha nums on
081310 - 980503. ref SDS 16 3960
081311 -
081312 -
081313 -
081314 -  ..
081315 - Solution Concept - Make SDS Ref line numbers use letters
081316 -
081317 - Follow up ref SDS 16 2890.
081318 -
081319 - Use code for User ID in 0407211 to develop random alpha num anchors.
081320 -
081321 - There are two steps for converting to alpha nums...
081322 -
081323 -  1.  Create code to generate anchors.
081324 -
081325 -  2.  Create code to read and apply anchors.
081326 -
081327 -      This will include:
081328 -          ..
081329 -      a.  Macro 985 to create links. ref SDS 0 2120
081330 -          ..
081331 -      b.  Macro 982 to read links and open linked record.
081332 -          ref SDS 16 4852
081333 -
081334 -
081335 -
081336 -
0814 -
0815 -

SUBJECTS
Citations Create Link SDS to SDS, macro 985
Anchors Between 1 - 9999
Anchors Alpha Nums, 000811
Macro 136 for Editor
Anchor Identify, Call Macro 985
Anchors Alpha Nums, 000811, Macro 987, Create
Anchors Embedded in Editor Para, 000811, Macro 987
Anchors Embedded in Editor Para, 000811, Macro 987
Editor Justify Avoid Anchors, 000811, Macro 985
Anchors Changed Alpha Nums, Macro 985, 987

2213 -
221301 -  ..
221302 - 000006  Entry 985 Use letters and nums to create SDS Links
221303 - 000008  Entry 136 Enter Identify Anchors with Letters and Nums
221304 -
221305 - Follow up ref SDS 16 2120.
221306 -
221307 - This is to do step 2a. ref SDS 0 1466
221308 -
221309 - Line 990, ref OF 10 F9HE, -label botSc in 000008 added code to set 117
221310 - 666 that identifies SDS development files in directories...
221311 -
221312 -                      c: 01 04
221313 -                      c: sd 03
221314 -
221315 -
221316 -  ..
221317 - Anchor Verify Macro 1361
221318 -
221319 - Line 1330, ref OF 10 OJJG, -entry 1361 in 000008 new code to identify
221320 - an anchor using char read macro 1182 so that anchors can be alpha
221321 - nums.
221322 -
221323 -     This was added to 070405 for converting anchors to HTML and avoid
221324 -     converting < symbols that are not part of an anchor, reported on
221325 -     000724. ref SDS 22 I55H
221326 -
221327 -
221328 -  ..
221329 - Line 1150, ref OF 10 EACB, -label intLS in 000008 changed the code
221330 - today, unplugged the stuff that enters links in the editor only on
221331 - blank lines, per reason below. ref SDS 0 7Z65
221332 -
221333 -  ..
221334 - Line 1160, ref OF 10 DFFE, -label intLS in 000008 about 20 lines below,
221335 - modified code in macro 136 for Enter and double clicking, to recognize
221336 - an anchor on the current line using new macro 1361 created today, per
221337 - prior para above.
221338 -
221339 -     Created flag establishing an anchor is or is not present.
221340 -
221341 -                     setgbl 116 9889  =  regular anchor  (84E3
221342 -
221343 -                     setgbl 116 9888  =  HTML anchor  (A NAME="
221344 -
221345 -      ..
221346 -     Anchor flag 6 = 1
221347 -
221348 -      ..
221349 -     Anchor string... globals 166 - 169
221350 -
221351 -  ..
221352 - Line 1200, ref OF 10 HBCH, -label ma985a in 000008 if an anchor is
221353 - encountered, the string is loaded to globals 166 - 169 for use in
221354 - macro 987 called under macro 985 for creating a link.
221355 -
221356 -  ..
221357 - Globals 166 - 169 are also used in 0704081 per below. ref SDS 0 Y45L
221358 -
221359 -  ..
221360 - Line 1770, ref OF 9 0851, -entry 985 in 000006 eliminated a lot of
221361 - code that was duplicated in macro 136 for identifying anchors, by
221362 - using a new flag created today in macro 136, setgbl 116 9888 and 9889,
221363 - per above.
221364 -
221365 -
221366 -      ..
221367 -     Addressibility Anchors on Every Para
221368 -     Anchors embedded in Editor Para, Avoid Justify
221369 -
221370 -     Line 1780, ref OF 9 1836, -entry 985 in 000006 changed code today
221371 -     so we can enter anchors on non-blank lines in the editor.  This is
221372 -     accomplished with macro 0122 per work yesterday, on 000810.
221373 -     ref SDS 23 RD05
221374 -
221375 -     Call macro 541 to position cursor on left margin to enter an
221376 -     anchor.
221377 -
221378 -     Formerly this was avoided to simplify things, but we need anchors
221379 -     to be embedded at least in outline text because browsers seem to
221380 -     get confused handling outline if a lot of anchors disrupt the
221381 -     outline code, also discussed yesterday. ref SDS 23 9WH8
221382 -
221383 -      ..
221384 -     Decided to eliminate bold for anchors.  Putting a lot more anchors
221385 -     in documents would reduce the effectiveness of bold as an
221386 -     indicator of an anchor.
221387 -
221388 -
221389 -      ..
221390 -     Anchor String in Alpha Nums Created by Macro 987
221391 -
221392 -     Line 1860, ref OF 9 4130, -entry 985 in 000006 about 50 lines
221393 -     below, call new anchor creation macro 987.  It needs to reset 111
221394 -     0 in order to run datecnt on the first pass.  For ordinary custom
221395 -     links, it probably does not need the date count factor.
221396 -
221397 -     Line 1970, ref OF 9 3101, -entry 987 in 000006 created new macro
221398 -     to generate random char anchor with alpha nums.
221399 -
221400 -      ..
221401 -     Put anchors on blank lines in SDS development files for 01 04 and
221402 -     sd 03, in column 2, when the cursor is on a blank line.  Use flag
221403 -     117 666 set in 000008 that identifies an SDS development file.
221404 -     ref SDS 0 2120
221405 -
221406 -           ..
221407 -          Initially tried over about 3 days to generate a random string
221408 -          using datecnt.  Created a testing macro that showed the first
221409 -          effort was inadequate.  There were 10s of duplicate strings
221410 -          in just 200 anchors.  The testing code was incorporated into
221411 -          0122 that converts files into web pages, reported 000810.
221412 -          ref SDS 23 K4E1
221413 -
221414 -           ..
221415 -          Changed method to use linecnt for a unique numeric string.
221416 -          Then modify the number into a random, 4 position alphanumeric
221417 -          representation by incrementing each position to shift from
221418 -          the numeric range of characters 48 - 57, into the alpha
221419 -          range, 65 - 90; and further, by incrementing this shift one
221420 -          position on each subsequent pass, so there is a smooth
221421 -          progression through the entire range on all 4 positions. The
221422 -          1st position in the thousands column is modified by seconds
221423 -          para from initial datecnt idea.
221424 -
221425 -           ..
221426 -          This complexity is only needed for macro 0122 that converts a
221427 -          non-SDS file into html, so that anchors can be added to all
221428 -          para, per work on 000810. ref SDS 23 RD05
221429 -
221430 -           ..
221431 -          Linecnt provides a smooth progression to reduce duplicate
221432 -          strings.
221433 -
221434 -           ..
221435 -          It seems to work well when the number of anchors is below a
221436 -          1000.  Testing indicates that a run of 1500 will produce 4
221437 -          duplicates, and a run of 2000 will produce 10 or so
221438 -          duplicates.  Although further testing shows duplicates can
221439 -          show up more regularly depending on the cycle.
221440 -
221441 -      ..
221442 -     Line 1990, ref OF 9 LH4G, -entry 987 about 30 lines below, linecnt
221443 -     is the primary method of identifing the anchor string. Seconds
221444 -     from datecnt is a secondary factor .
221445 -
221446 -      ..
221447 -     Line 2000, ref OF 9 GC5J, -label dcrfs considered adding seconds
221448 -     and minutes to the line number, but decided against this as
221449 -     unnecessary.
221450 -
221451 -     Line 2000, ref OF 9 A86F, -label 4poss characters are shifted so
221452 -     that only numbers or capital letters are used.
221453 -
221454 -     Line 1930, ref OF 9 2265, -label 1po0e used global counters 166 -
221455 -     169 for anchor values.
221456 -
221457 -     Line 1480, ref OF 9 1452, -label lu1 this is macro 685, to read
221458 -     and open an anchor.  It seems to require no edits..
221459 -
221460 -  ..
221461 - Single Space Avoid Justify When Link Starts on a Character
221462 - Avoid Justify When Cursor Starts on a Character, Counter 93 > 32
221463 - Justify When Cursor Starts on Blank, Counter 93 = 32
221464 -
221465 - Line 1950, ref OF 9 5292, -label curec6 in 000006 apply counter 93 set
221466 - in 01211, per next section, so macro 49 to justify is only executed if
221467 - 93 = 32, which means the user did the link on a space, and not on a
221468 - character.
221469 -
221470 - This makes it easy to move the cursor onto a character at the end of a
221471 - line to enter a link without justifying a bunch of single spaced lines
221472 - that are a list and not a para.
221473 -
221474 -     [On 000821 updated Help for linking. ref SDS 24 0800
221475 -
221476 -     [On 010126 example. ref SDS 26 P39G
221477 -
221478 -
221479 -  ..
221480 - 01211   Use letters and nums to create SDS Links
221481 - Justify Set Counter 93 Flag On or Off for Macro 985
221482 -
221483 - Follow up ref SDS 16 2788, ref SDS 15 1945.
221484 -
221485 - This routine enters the anchor at the target location.
221486 -
221487 -  ..
221488 - Line 165, ref OF 3 CU8N, -label curRd6 about 40 lines below, use
221489 - counter 93 to determine if cursor starts on a space or character so
221490 - user has an easy way to tell the system to justify the para, or not.
221491 - Starting on a character, i.e., non-blank, position, means the user
221492 - does not want to justify the para, as occurs when linking to a single
221493 - spaced list of stuff.
221494 -
221495 - Line 220, ref OF 3 QQ3O, -label nLinL check this location to determine
221496 - if link is initiated in the middle of a sentence, and if so, set 93 0
221497 - to set justify on in macro 985 in 000006, per above. ref SDS 0 H14O
221498 -
221499 -
221500 - This code moves the cursor to find the end of the line for entering an
221501 - anchor.
221502 -
221503 -  ..
221504 - Line 270,  ref OF 3 1012, -label cuR3 here is where the anchor is
221505 - entered.
221506 -
221507 - Linking to the tst. ref SDS 0 FIHH
221508 -
221509 -
221510 -  ..
221511 - 0121    Use Alpha Nums to Open Links (D0R2
221512 -
221513 - Line 250, ref OF 2 8848, -label Espec,
221514 -
221515 - Line 270, ref OF 2 7832, -label Espec, about 40 lines below, changed
221516 - code to use counters 166 - 167 that have the 4 positions of anchor
221517 - instead of counter 176 that previoulsy had a value.
221518 -
221519 -
221520 -
221521 -  ..
221522 - 0704081   Recognize Alpha Nums Linking from SDS to Docs
221523 -
221524 - Follow up ref SDS 21 9222.
221525 -
221526 - Line 1090, ref OF 10 2838, -label ed471a in 000008 if 47 = 1 and 257 =
221527 - 1691 then this is an editor file and HTML link flag is on from using
221528 - F5, explained on 990530, ref SDS 21 0381, so call 0704081 to create an
221529 - internal HTML link, also explained on 990530. ref SDS 21 4088
221530 -
221531 - Line 210, ref OF 6 7548, -label bcs in 0704081 looks for an anchor.
221532 -
221533 - Line 430, ref OF 6 2573, -label eto does internal link.
221534 -
221535 -  ..
221536 - Line 560, ref OF 6 2253, -label ilink eliminated a lot of code here
221537 - and use the new code in macro 136 that determines if an anchor is on
221538 - the line, and if so puts it in globals 166 - 167, per above.
221539 - ref SDS 0 2120
221540 -
221541 -
221542 -
221543 -
221544 -
221545 -
2216 -

SUBJECTS
Citations, Open SDS records references in
Alpha Num Anchors Open, 000811

2305 -
230501 -  ..
230502 - 000006  Entry 982 Modify to use letters and nums instead of just nums
230503 -
230504 - Follow up ref SDS 16 4852.
230505 -
230506 - This is to do step 2b. ref SDS 16 3308
230507 -
230508 - Line 1340, ref OF 9 1718, -entry 982 this begins the operation to
230509 - open a linked record.
230510 -
230511 - Line 1450, ref OF 9 7666, -label gNumA, this gets the number, I
230512 - changed it to use counters 115 and 116.
230513 -
230514 - Line 1500, ref OF 9 4129, -label gNumC, change the code that
230515 - identifies an internal link from using counter 5 to using counters
230516 - 115 and 116.
230517 -
230518 -  ..
230519 - Line 1525, ref OF 9 4730, -label gNumC, convert char values to a
230520 - numerical value for positioning the file on the Reference field target
230521 - line to be opened.
230522 -
230523 - Line 1670, ref OF 9 2246, -label gNumC in 000006 about 30 lines below,
230524 - locates the 0301 line in the Reference field, and then does an up to
230525 - position the targe line for the citation number to postiion the file
230526 - for opening the link.
230527 -
230528 -
230529 -  ..
230530 - 0121  Modify to use letters and nums instead of just nums
230531 -
230532 - Follow up ref SDS 16 2898.
230533 -
230534 - Appears there are no changes required in this file.
230535 -
230536 -
230537 -
230538 -
230539 -
2306 -

SUBJECTS
Flag Compress only SDS Macro files
Link Avoid Col 1 01 04, sd 03

2505 -
250501 -  ..
250502 - 0122   Avoid HTML Conversion on SDS Development Files
250503 - 000008  Avoid Linking On Col 1 of SDS Development Files
250504 -
250505 - Line 990, ref OF 10 F9HE, -label botSc use gfname to identify the class
250506 - of files so we do not link an editor file on column for SDS
250507 - development files in 01 04 and sd 03.
250508 -
250509 - Sets flag 117 666
250510 -
250511 - Line 50, ref OF 4 8EE7, -label saHTML in 0122 do same thing to avoid
250512 - running HTML conversion on 01 04 and sd 03 files.
250513 -
250514 -
250515 -
250516 -
250517 -
250518 -
250519 -
2506 -