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


S U M M A R Y


DIARY: December 19, 1997 08:46 AM Friday; Rod Welch

Add Editor menu and functions for HTML editing.

1...Summary/Objective
2...Communication Metrics Web Site Development
3...HTML Editing Functions Support Web Site Development
4...000003 - Add HTML Menu to Editor Profile Level 1
5...000003 - Add Call to Menu for HTML Profile Level 6
6...047060 - Added Call to HTML Profile from Printer Profile
7...047070 - New Editor Profile Level 6 for HTML
.....HTML Editing Functions
8...0504170 - New HTML Menu for Editor Profile Level 6
...........HTML Menu Functions
9...0704082 - Enter HTML for Proportional Spaced Fonts
10...0704083 - Convert SDS Links to HTML Links
11...0704081 - Create new links within current document
12...0704084 - Remove code or Move Code
13...0704085 - Move code to Mark 2
14...Help for HTML Functions, 04701
15...04701 - Add General Help for HTML
16...01 01 - Help Editor Menu Bar
17...0115 - Created General Help for HTML from Main Editor Menu Bar
18...035031 - Add Help for HTML Menu


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

CONTACTS 

SUBJECTS
Samples of SDS Reports, 910720
Menu, Editor
Proportional Font, Add
Software Tools
Planning, Scope
Concept Design Objectives
SDS HTML Tools Web Page Development

1209 -    ..
1210 - Summary/Objective
1211 -
121101 - Follow up ref SDS 4 1170, ref SDS 2 1515.
121102 -
121103 - Developed some tools to convert ASCII docs into HTML.
121104 -
121105 -
121106 -
121107 -
1212 -
1213 -
1214 - Progress
1215 -
121501 -  ..
121502 - Communication Metrics Web Site Development
121503 -
121504 - Follow up ref SDS 5 1365.
121505 -
121506 - To create the Communication Metrics Web site, and to support HTML in
121507 - general, for example to prepare sample HTML SDS documents like the
121508 - USACE Communication Metrics report, we need a set of SDS tools similar
121509 - to those for printer support.
121510 -
121511 - This requires some HTML editing functions to facilitate converting
121512 - SDS ASCII records and documents into HTML files.
121513 -
121514 - There are three (3) basic issues:
121515 -
121516 -       1.  Conversion of SDS records, which has been developed
121517 -           previously and explained on 971206, ref SDS 3 6000
121518 -
121519 -       2.  Convert/create HTML documents for submission via Internet
121520 -           that can be viewed with a Web browser. ref SDS 5 3926 and
121521 -           ref SDS 5 1365.
121522 -
121523 -       3.  Communication Metrics Web site that has the SDS data base
121524 -           and selected documents that demonstrate the concepts of
121525 -           knowledge space and application.
121526 -
121527 -
121528 -
121529 -  ..
121530 - HTML Editing Functions Support Web Site Development
121531 -
121532 - Editing functions are created today in a new HTML profile level, 04707
121533 - level 6, ref SDS 0 5316, with a new menu, ref SDS 0 3868, and help
121534 - file. ref SDS 0 3776
121535 -
121536 - The work done on Wednesday, ref SDS 5 3002, is incorporated below.
121537 -
121538 -
121539 -
1216 -

SUBJECTS
Samples of SDS Reports, 910720
Menu, Editor
Proportional Font, Add
Software Tools
SDS HTML Tools Web Page Development

180701 -
180702 -
180703 -  ..
180704 - 000003 - Add HTML Menu to Editor Profile Level 1
180705 -
180706 - Line 360 -entry 80, ref OF 17 2262, added following choice for the
180707 - editor menu bar:
180708 -
180709 -                          HTML
180710 -
180711 -     ...this calls the options at ref SDS 0 1197.
180712 -
180713 - Line 770 -label regmnu, ref OF 17 3857, this is where the menu
180714 - recognizes the HTML choice was clicked on the main menu bar and then
180715 - calls menu...
180716 -
180717 -                   h:\sd\04\050417
180718 -
180719 -
180720 -     ...to display the HTML editing functions, per work below creating
180721 -     the 050417 menu. ref SDS 0 3868
180722 -
180723 - Line 740 -label regmnu, ref OF 17 2804, some of this code to set up
180724 - the mouse and Enter functions is used directly in the 050417 menu
180725 - file, since we do not have a separte -entry for it in 000003, ref SDS
180726 - 0 2953
180727 -
180728 - ..
180729 - Line 1520 -label xyw2, ref OF 17 6668, calls the 04707 profile
180730 - for HTML editing functions when the menu is closed based on
180731 -
180732 -                        48 = 8
180733 -
180734 -     ...set in the menu 050417. ref OF 4 2807, per ref SDS 0 3868.
180735 -
180736 -
180737 -  ..
180738 - 000003 - Add Call to Menu for HTML Profile Level 6
180739 -
180740 - Line 880 -label HTml, ref OF 17 4388, this is the call from the menu
180741 - after the HTML profile has been established either by clicking on the
180742 - HTML choice from main menu bar in Editor profile level 1, or by
180743 - pressing F1 F1 F2 F2 F2, per, ref SDS 0 5316,
180744 -
180745 - In this case, after HTML editing mode has been set, then we can use 48
180746 - = 7, set in 04707. ref OF 10 2389 to directly open the HTML editing
180747 - menu.
180748 -
180749 -                   h:\sd\04\050417
180750 -
180751 - Think I will put all HTML stuff in this, and just let the menu bar at
180752 - profile level 1 be a direct call to this.
180753 -
180754 - This means are two avenues to the HTML menu.
180755 -
180756 -      1.  From the menu bar for Editor profile level 1.
180757 -
180758 -      2.  From menu launch from HTML profile level 6
180759 -
180760 -
180761 -  ..
180762 - 047060 - Added Call to HTML Profile from Printer Profile
180763 -
180764 - Line 70, ref OF 9 2785, made PF2 call the HTML profile, 04707, created
180765 - today. ref SDS 0 5316
180766 -
180767 -      As noted above, the HTML profile will also be set up by clicking
180768 -      on the menu bar from the Editor profile level 1. ref SDS 0 3088
180769 -
180770 -
180771 -  ..
180772 - 047070 - New Editor Profile Level 6 for HTML
180773 -
180774 - Line 20, ref OF 10 1707, created this new profile macro to provide a
180775 - dedicated environment for entering and deleting common HTML functions.
180776 - It is called from the Printer profile. ref SDS 0 4040
180777 -
180778 -                       F1 F1 F2 F2 F2
180779 -
180780 -     ...this can be called from the Printer profile, ref SDS 0 4040, or
180781 -     by clicking on the menu bar choice for HTML in the Editor profile
180782 -     level 1. ref SDS 0 3088
180783 -
180784 -        [See fix for F5 to enter "align" code. ref SDS 8 4569]
180785 -
180786 -
180787 -      ..
180788 -     HTML Editing Functions
180789 -
180790 -     These functions directly enter specific HTML code at the cursor
180791 -     position.
180792 -
180793 -            F3  Bold, Underline, Itallic... On
180794 -        Alt F3  </B>..etc.,................ Off
180795 -
180796 -            F4  Font Spec Options, ref OF 10 4238
180797 -
180798 -            F5  Alignment Options, ref OF 10 2573
180799 -
180800 -        Alt F5  Address Options, ref OF 10 5002
180801 -
180802 -               [On 980514 changed to Alt F8. ref SDS 10 2900]
180803 -
180804 -            F6  <BR> New Line      ref OF 10 2155
180805 -        Alt F6  <p> Paragraph
180806 -
180807 -        Alt F9  <PRE> Fixed Char Positions   on/off
180808 -
180809 -                see code at ref OF 10 5326.
180810 -
180811 -      ...they supplement the other functions that perform actual
180812 -      operations on the file. ref SDS 0 1867
180813 -
180814 -
180815 -  ..
180816 - 0504170 - New HTML Menu for Editor Profile Level 6
180817 -
180818 - Line, ref OF 4 2807, sets 48 8 and displays new HTML editing
180819 - functions.
180820 -
180821 -      ....counter 48 = 8 is used in 000003, ref OF 17 6668, per ref SDS
180822 -      0 2898,
180823 - ..
180824 - Line 75 ref OF 4 2926, added code for mouse and Enter functions
180825 - work in this level, similar to the menu for the Schedule. ref OF 3
180826 - 4121, which is the code in 000003 at ref OF 17 2804,
180827 -
180828 - This is a new profile level in the editor created today, called from
180829 - the main Editor menu or by pressing
180830 -
180831 -                       F1 F1 F2 F2 F2
180832 -
180833 -     ....this is the same as pressing F2 from the Printer profile,
180834 -     level 5.
180835 -
180836 -
180837 - In this level, 47 = 1 and 48 = 8. ref OF 10 2389
180838 -
180839 - When this menu is closed, then the 04707 profile will be called and
180840 - kept in memory for faster response, until F1 or Esc are used to return
180841 - to level 1.
180842 -
180843 -            ..
180844 -           HTML Menu Functions
180845 -
180846 -           Functions in the HTML menu created the past few days, and
180847 -           explained herein...
180848 -
180849 -               [On 990417 modified assignments. ref SDS 12 6523]
180850 -
180851 -           Convert SDS Links to HTML, ref OF 1 2818,
180852 -
180853 -               This is explained at ref SDS 0 2540.
180854 -
180855 -               [On 980427 eliminated this menu call because the work
180856 -               done in macro 0122 that converts an entire file to HTML
180857 -               code. ref SDS 9 3160]
180858 -
180859 -           Proportional Font (in debug), ref OF 1 4679,
180860 -
180861 -               This is explained at ref SDS 0 1333
180862 -
180863 -               [On 990417 eliminated assignments. ref SDS 12 6523]
180864 -           ..
180865 -           Link (Needs Mark 2) ref OF 1 4054
180866 -
180867 -               This is explained at ref SDS 0 2688,
180868 -
180869 -           Delete HTML Code String <.....> ref OF 1 4785
180870 -
180871 -               This is explained at ref SDS 0 1104.
180872 -
180873 -           Move HTML <.....> from Mark 2 ref OF 1 5870,
180874 -               ..
180875 -               This is explained at ref SDS 0 1633.
180876 -
180877 -               [On 990417 eliminated assignments. ref SDS 12 6523]
180878 -
180879 -
180880 -      These functions supplement the profile function key stuff for
180881 -      entering specific HTML commands. ref SDS 0 3526
180882 -
180883 -
180884 -
180885 -
1809 -

SUBJECTS
Samples of SDS Reports, 910720
Links, Convert to HTML Standard Format
HTML Linking in Editor
Proportional Font, Add

2007 -
200701 -  ..
200702 - 0704082 - Enter HTML for Proportional Spaced Fonts
200703 -
200704 - Follow up ref SDS 5 3002.
200705 -
200706 - Created this new function today for the new HTML menu choice in the
200707 - Editor profile level 1.
200708 -
200709 - Much of the report can be accomplished with porportional spaced
200710 - fonts, even though for the time being the references and other
200711 - indented stuff needs to use the "pre" command.
200712 - ..
200713 - Line 10, ref OF 13 1341, created 0704082 so the User can in a
200714 - controlled way add code to accomplish proporational font where it will
200715 - work.
200716 -
200717 - This new macro will be executed with debug 100, so the user can stop
200718 - it at any time where "pre" is needed, and then jump to another
200719 - location where proportional font can resume.
200720 -
200721 -     [On 990410 improved editor converstion macro 0122 so it fully
200722 -     automates entering para. ref SDS 11 8952]
200723 -
200724 -     [On 990418 eliminated this debug menu function. ref SDS 13 6523]
200725 -
200726 -
200727 -
200728 -
2008 -

SUBJECTS
Samples of SDS Reports, 910720
Menu, Editor
Links, Convert to HTML Standard Format
HTML Linking in Editor

2307 -
230701 -  ..
230702 - 0704083 - Convert SDS Links to HTML Links
230703 -
230704 - Follow up ref SDS 5 3002.
230705 -
230706 - The initial concept is that links are created from within SDS, so
230707 - there is a correlation between thinking, planning and implementation,
230708 - and "documents" which are primarily aimed at communicating with the
230709 - external world.
230710 -
230711 - This is called from HTML menu, per above. ref SDS 0 1867
230712 -
230713 -      [On 980427 put this code in macro 0122 that converts an entire
230714 -      file to HTML code. ref SDS 9 3160]
230715 -
230716 - Links are created in SDS with only a 4 place anchor, ref SDS 1 8888,
230717 - as evaluated at ref SDS 2 2567,
230718 -
230719 - We therefore need a system to convert the 5 place string in editor
230720 - files into a standard HTML link anchor, which can then be used by
230721 - calls from SDS or from other documents.
230722 -
230723 - Line 20, ref OF 1 4025, in 0704083 accomplishes this objective.
230724 -
230725 -
230726 -
230727 -
230728 -
2308 -

SUBJECTS
Menu, Editor
Links, Create from Mark 2
HTML Menu

2706 -
270601 -  ..
270602 - 0704081 - Create new links within current document
270603 -
270604 - Follow up ref SDS 5 3120.
270605 -
270606 - Decided to eliminate assignment of PC9 made on Wednesday. ref SDS 5
270607 - 3120, and assign this solely to the HTML menu. ref SDS 0 0754
270608 -
270609 -  ..
270610 -
270611 - Line 15, ref OF 12 2253, this code was created Wednesday, on 971217,
270612 - ref SDS 5 3120, and added to the new menu today. ref SDS 0 3088.
270613 -
270614 -     [On 990516 eliminated html anchor code for making internal links.
270615 -     ref SDS 14 9764]
270616 -
270617 -
270618 -
2707 -

SUBJECTS
Menu, Editor
Remove Code

2905 -
290501 -  ..
290502 - 0704084 - Remove code or Move Code
290503 -
290504 - Line 15, ref OF 14 8824, created this to remove a string of HTML in
290505 - case it is a mistake or for any other reason.
290506 -
290507 - Assigned it to HTML menu and to Ctrl F9, since it needs to be able to
290508 - be executed consecutively.
290509 -
290510 - I may create an HTML profile and in that case I will assign it to
290511 - Ctrl F2 for consistency with standard word removal function.
290512 -
290513 -     Did this at ref SDS 0 5316 and ref OF 10 0957.
290514 -
290515 -     [Added code using this code to remove all HTML from, ref SDS 8
290516 -     4390.]
290517 -
290518 -
290519 -
290520 -
2906 -

SUBJECTS
Menu, Editor
Move Code to Mark 2

3105 -
310501 -  ..
310502 - 0704085 - Move code to Mark 2
310503 -
310504 - Line 15, ref OF 15 8824, created this to move a string of HTML to
310505 - another position, which is a normal editing thing, where we change our
310506 - mind.  It could be accomplished also by deleting what we don't want
310507 - and entering it eleswere, but this adds the utility of not having to
310508 - re-enter variables.
310509 -
310510 - This has to get the string and put it at the new location, then come
310511 - back and remove it, because otherwise the marks won't work.
310512 -
310513 - This is now part of the new HTML menu created today. ref SDS 0 1337
310514 -
310515 -     [On 990418 eliminated this move menu function. ref SDS 13 6523]
310516 -
310517 -
310518 -
310519 -
310520 -
3106 -

SUBJECTS
HTML Functions, 971218
Menu Functions, 035031

3305 -
330501 -  ..
330502 - Help for HTML Functions, 04701
330503 -
330504 - Line 90 -label 7MES, ref OF 8 1755, these are calls for Help on cut
330505 - and paste, printer and line draw.
330506 -
330507 - Not sure I need to add anything for HTML, because the regular Help
330508 - stuff should work.
330509 -
330510 - I need to create Help files for each function.
330511 -
330512 - I need a generic Help file for the HTML choice on the menu bar added
330513 - today. ref SDS 0 3088
330514 -
330515 - We can make what is now "Other Programs" the help for the new
330516 - function of HTML in the Editor "Overview" Help screen.
330517 -
330518 -
330519 -  ..
330520 - 04701 - Add General Help for HTML
330521 -
330522 - We can remove some help for Other programs, or put it under another
330523 - catabogy so that Help for HTML is initially avialable in the Main
330524 - Editor Help Index.
330525 -
330526 - Decided not to do this.  Made change of adding a new catagory. ref SDS
330527 - 0 5842
330528 -
330529 - Line 110 -label HTML, ref OF 8 1140, tried to create access to the
330530 - new main Help explanation at this location.
330531 -
330532 -
330533 -  ..
330534 - 01 01 - Help Editor Menu Bar
330535 -
330536 - I changed this today.
330537 - ..
330538 - Line 20, ref OF 21 line 21, added a listing for HTML, which
330539 - calls the new help file:
330540 -
330541 -                     sd 05 01 0115
330542 -
330543 -    ...created today at ref SDS 0 3776.
330544 -
330545 -
330546 -  ..
330547 - 0115 - Created General Help for HTML from Main Editor Menu Bar
330548 -
330549 - Line 15, ref OF 23 line 15, created this file today that is called
330550 - from the Editor main menu. ref SDS 0 5842
330551 -
330552 -
330553 -  ..
330554 - 035031 - Add Help for HTML Menu
330555 -
330556 - Line 55, ref OF 6 2260, created direct call to new Help file,
330557 - ref SDS 0 3776, from HTML menu file. ref SDS 0 3868   This skips code
330558 - that reads the macro spec and opens a help file based on that string.
330559 -
330560 - Line 200 -label Start1, ref OF 6 0948, is an intermediate step that
330561 - just gets the setcnt 12 1 command.
330562 -
330563 - Line 390 -label HTML, ref OF 6 3496, this is the code that opens the
330564 - Help file from the menu.
330565 -
330566 -     This will be a single Help file for all functions, rather than a
330567 -     separate Help file for each function.
330568 -
330569 -
330570 -
330571 -
330572 -
3306 -