Skip to content

Link to tables and figures by name #308

Open

Description

@ProgramMax

ReSpec added support for linking to tables and figures by name rather than id. This matches the way ReSpec links to sections.

Go through the spec and see if there are links to figures/tables which make more sense to link by name rather than id.

Activity

  1. added this to the 3rd edition milestone on May 1, 2023
  2. self-assigned this
    on May 1, 2023
  3. svgeesus commented on Feb 20, 2024

    @svgeesus
    Contributor

    So I honestly don't see anything terrible with

          <p>The relationships between the four kinds of image are illustrated in <a href="#image-relationship"></a>.</p>
    
          <figure id="image-relationship">
            <!-- Maintain a fragment named "figure41" to preserve incoming links to it -->
             <object id="figure41" data="figures/image-relationships.svg" type="image/svg+xml">
            </object>
            <figcaption>
              Relationships between source, reference, PNG, and display images
            </figcaption>
          </figure>

    instead of, I guess,

          <p>The relationships between the four kinds of image are illustrated in <a>Relationships between source, reference, PNG, and display images</a>.</p>
    
          <figure id="image-relationship">
            <!-- Maintain a fragment named "figure41" to preserve incoming links to it -->
             <object id="figure41" data="figures/image-relationships.svg" type="image/svg+xml">
            </object>
            <figcaption>
              Relationships between source, reference, PNG, and display images
            </figcaption>
          </figure>

    Either way, this was clearly not a blocker to going to Candidate Recommendation.

    Close?

  4. ProgramMax commented on Feb 21, 2024

    @ProgramMax
    MemberAuthor

    Agreed @ definitely not a blocker.
    IIRC, ReSpec produces different results using the different linking methods. If there aren't differences, the argument seems to just be "do it in a more ReSpec kind of way" vs. "progressive enhancement". I favor progressive enhancement.

    I'll look into this.

  5. ProgramMax commented on Mar 14, 2024

    @ProgramMax
    MemberAuthor

    I just tried to add. Earlier, I mentioned that ReSpec added support. But now I'm not so sure. I think a similar feature was added but not the one I thought. I'll update once I know more.

  6. svgeesus commented on Jul 16, 2024

    @svgeesus
    Contributor

    Removing the tag until we know what exactly we want to do here

  7. svgeesus commented on Jan 17, 2025

    @svgeesus
    Contributor

    In the interests of spec stability for PNG 3rd edition, in my opinion the milestone should be changed to Future edition considerations

  8. ProgramMax commented on Jan 17, 2025

    @ProgramMax
    MemberAuthor

    Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions