Skip to content

Shifted Figure Reference Numbers #248

Open
@vysecurity

Description

@vysecurity

Since I updated from the traditional sysreptor version to the latest version, I found that the figCounter is now off.

I do:


![Caption here](){#superman}

And it says See Fig 1

Fig 2: Caption here.

It's off compared to the previous versions.

Example:

Thorium-2024-05-03 at 13 32 31@2x

Example CSS:

/* Figure */
figcaption::before {
  content: var(--prefix-figure) counter(figCounter) " - ";
}
.ref-figure::before {
  content: var(--prefix-figure) target-counter(attr(href), figCounter);
  font-weight: normal !important;
  font-family: "Source Code Pro", sans-serif !important;
  font-size: 9pt !important;
  font-color: #296a70 !important;
  color: #296a70 !important;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions