From 4ea9bc497bd7f4198bc19e25f63e055d0a2d5565 Mon Sep 17 00:00:00 2001 From: Thomas Walker Lynch Date: Fri, 9 Oct 2026 08:51:23 +0000 Subject: [PATCH] now using setup.html for RT-Style setup --- .../document/RT-Manuscript_locator.js | 37 ------ administrator/document/how-to_release.html | 10 +- .../Document/RT-Manuscript_locator.js | 23 ---- .../Manuscript.copy/Document/design.html | 10 +- .../Manuscript.copy/Document/user.html | 10 +- .../Manuscript.copy/Locator/URL-only.js | 24 ---- .../Manuscript.copy/Locator/direct.js | 37 ------ .../Manuscript.copy/Locator/immediate.js | 23 ---- .../Manuscript.copy/Locator/indirect.js | 51 -------- .../{initialize.html => setup.html} | 12 +- developer/document/RT-Manuscript_locator.js | 37 ------ developer/document/RT-code-format-Lisp.html | 10 +- developer/document/RT-code-format.html | 10 +- .../document/naming_file-and-directory.html | 10 +- .../single-file_C-module-and-namespace.html | 10 +- document/RT-Manuscript_locator.js | 37 ------ document/introduction_Harmony.html | 10 +- ...role-and-workflow_product-development.html | 10 +- ...role-and-workflow_product-maintenance.html | 10 +- shared/tool/version | 2 +- .../authored/Counter/RT-Manuscript_locator.js | 37 ------ tester/authored/Counter/test_0.html | 10 +- tester/authored/Counter/test_1.html | 10 +- tester/authored/Counter/test_2.html | 10 +- tester/authored/Counter/test_3.html | 10 +- tester/authored/Counter/test_4.html | 10 +- tester/authored/Counter/test_5.html | 10 +- .../authored/Endnote/RT-Manuscript_locator.js | 37 ------ tester/authored/Endnote/test_0.html | 10 +- tester/authored/Grid/RT-Manuscript_locator.js | 37 ------ tester/authored/Grid/test_dictionary.html | 10 +- tester/authored/Grid/test_grid.html | 10 +- tester/authored/Grid/test_matrix.html | 10 +- tester/authored/Grid/test_relation.html | 10 +- tester/authored/Note/RT-Manuscript_locator.js | 37 ------ tester/authored/Note/test_0.html | 10 +- tester/authored/TOC/RT-Manuscript_locator.js | 37 ------ tester/authored/TOC/test_0.html | 10 +- tester/authored/setup_file/test_0.html | 118 ++++++++++++++++++ 39 files changed, 332 insertions(+), 484 deletions(-) delete mode 100644 administrator/document/RT-Manuscript_locator.js delete mode 100644 developer/authored/Manuscript.copy/Document/RT-Manuscript_locator.js delete mode 100644 developer/authored/Manuscript.copy/Locator/URL-only.js delete mode 100644 developer/authored/Manuscript.copy/Locator/direct.js delete mode 100644 developer/authored/Manuscript.copy/Locator/immediate.js delete mode 100644 developer/authored/Manuscript.copy/Locator/indirect.js rename developer/authored/Manuscript.copy/{initialize.html => setup.html} (89%) delete mode 100644 developer/document/RT-Manuscript_locator.js delete mode 100644 document/RT-Manuscript_locator.js delete mode 100644 tester/authored/Counter/RT-Manuscript_locator.js delete mode 100644 tester/authored/Endnote/RT-Manuscript_locator.js delete mode 100644 tester/authored/Grid/RT-Manuscript_locator.js delete mode 100644 tester/authored/Note/RT-Manuscript_locator.js delete mode 100644 tester/authored/TOC/RT-Manuscript_locator.js create mode 100644 tester/authored/setup_file/test_0.html diff --git a/administrator/document/RT-Manuscript_locator.js b/administrator/document/RT-Manuscript_locator.js deleted file mode 100644 index 4a1b936..0000000 --- a/administrator/document/RT-Manuscript_locator.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - direct.js - - - We have four scenarios - - immediate - used in the RT-style distribution itself (authored, consummer, staged) - direct - used in the RT-style project itself, but not in the distribution - indirect - the version all Harmony projects use - URL_only - always pulls style through a URL, a webserver must be present - -*/ - -window.RT = window.RT || {}; - -(function() { - const project_name = "RT-Style"; - const path = window.location.pathname; - const project_root_index = path.indexOf('/' + project_name + '/'); - - if (project_root_index !== -1) { - // substring(0, x) excludes the trailing slash. We must prepend it to the payload. - const absolute_project_root = path.substring(0, project_root_index + project_name.length + 1); - window.RT.dirpr_library = absolute_project_root + "/consumer/Manuscript"; - } else { - // Fallback for when served via local Python HTTP daemon from the project root - window.RT.dirpr_library = "../consumer/made/Manuscript"; - } - - document.write( - ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.20.1