Skip to content

Odd "1" appearing in figure caption in LaTeX #446

Description

@APEXCalculus

Figure 11.3.16 has an errant "1" that appears in the caption.

In the PreTeXt, line 1022 of sec_dot_product.ptx contains the line

<caption>Sketching the three vectors in <xref ref="ex_dotp4_part1" text="local">Part</xref> of <xref ref="ex_dotp4"/></caption>.

In LaTeX, this produces the caption-creation of

\begin{figureptx}{Figure}{Sketching the three vectors in \hyperlink{ex_dotp4_part1}{Part~1} of \hyperref[ex_dotp4]{Example~{\xreffont\ref{ex_dotp4}}}}{fig_dotp4a}{}%.

The image below shows the extra 1. to the left of the word "Figure"; I changed the caption to a simple "Hello" to see if that would fix the problem; it obviously didn't.

Image

What is causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions