Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out the DRef library #29

Closed
wants to merge 70 commits into from
Closed

Factor out the DRef library #29

wants to merge 70 commits into from

Conversation

melisgl
Copy link
Owner

@melisgl melisgl commented Jul 6, 2023

No description provided.

@melisgl melisgl force-pushed the dref branch 4 times, most recently from aa801a5 to 21a0b5d Compare July 6, 2023 21:18
@melisgl melisgl force-pushed the dref branch 11 times, most recently from 29c806f to b13462a Compare July 13, 2023 13:19
@melisgl melisgl force-pushed the dref branch 11 times, most recently from 6832d19 to 6abc515 Compare July 16, 2023 18:41
melisgl added 13 commits July 20, 2023 11:19
... which may not be an HTML paragraph (i.e. not in <p>).
For example, when a SECTION was subclassed as CATEGORY, one had to
defin a CATEGORY locative, a CATEGORY-DREF, and all the LOCATE/RESOLVE
machinery to be able to specialize DOCUMENT-DREF or other generic
functions used to extend some operation.

With this change, this is no longer necessary because these generic
functions are now tried on the RESOLVEd definition (if possible), then
on the LOCATEd definition. The net effect is that when there is a
perfectly good first-class object for a definition, operations can be
extended by specializing on their type without needing to jump through
the locative/dref hoop.
Characters such as # were not escaped.
The DREF function does what the three argument LOCATE used to.
... so that we know which DREF subclass corresponds to which locative
type. This will be needed, for example, for DREF-APROPOS to support
matching on subtypes.
@melisgl melisgl force-pushed the dref branch 4 times, most recently from 45869f4 to bc7690a Compare July 20, 2023 15:23
@melisgl
Copy link
Owner Author

melisgl commented Jul 20, 2023

This is finished, I think. I'll probably wait for 3b/3bmd#60 to land because it's a soft dependency then merge this.

melisgl added 3 commits July 21, 2023 16:52
- There are now two HTML styles: :DEFAULT and :CHARTER.
  PAX:UPDATE-ASDF-SYSTEM-HTML-DOCS defaults to :DEFAULT by default,
  while the live browser defaults to :CHARTER.

- More mobile friendly: remove the table of contents sidebar if the
  page is too narrow.

- Fall back on Georgia for the main fontn if XCharter and Charter are
  not present.

- Fall back on Times New Roman for H1 headings if XEB Garamond is not
  present.

- Make it easier to use a sans-serif font (by editing :root in the CSS).

- Remove unused font files.
@melisgl melisgl force-pushed the dref branch 2 times, most recently from 2a183ba to f7da049 Compare July 21, 2023 16:27
melisgl added 3 commits July 21, 2023 18:44
This is a hopefully temporary workaround for the Github issue
https://support.github.com/ticket/personal/0/2259703. Only affects
version 1 URLs (see PAX:*DOCUMENT-URL-VERSIONS*).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant