From: Thomas Walker Lynch Date: Fri, 9 Oct 2026 08:51:23 +0000 (+0000) Subject: now using setup.html for RT-Style setup X-Git-Url: https://git.reasoningtechnology.com/%27%20%20%20window.RT.dirpr_library%20%20%20%27/%27%20%20%20key%20%20%20%27?a=commitdiff_plain;h=4ea9bc497bd7f4198bc19e25f63e055d0a2d5565;p=RT-Style now using setup.html for RT-Style setup --- 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( - ' + + + - - diff --git a/developer/authored/Manuscript.copy/setup.html b/developer/authored/Manuscript.copy/setup.html new file mode 100644 index 0000000..6cf59ac --- /dev/null +++ b/developer/authored/Manuscript.copy/setup.html @@ -0,0 +1,90 @@ + + + + +RT-Manuscript setup + + + + + +

RT-Manuscript initialize

+
+

Local RT documents load RT-Manuscript from:

+

+

Reload an open document to apply a change. Reload this page to make + this directory the library again. With nothing recorded, documents load from + .

+ + + + diff --git a/developer/document/RT-Manuscript_locator.js b/developer/document/RT-Manuscript_locator.js deleted file mode 100644 index 4a1b936..0000000 --- a/developer/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( - ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +