Skip to content

Figure reference/label doesn't work when I label my figure methods #26

@nleroy917

Description

@nleroy917

Something odd I ran into the other day was that if I label my figure with \label{methods}, the figure references fail to populate in the output. Switching to \label{methods1}, then the figure appears. Not sure if its a reserved word that gets parsed, but it was odd.

Concrete example:

  1. Label figure as such:
![**\label{methods}Figure \ref{methods}. Overview of methods.](path/to/fig.pdf){fullwidth=t}
  1. Observe output:
image image
  1. Switch to:
![**\label{methods1}Figure \ref{methods1}. Overview of methods.](path/to/fig.pdf){fullwidth=t}
  1. Observe output:
image image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions