There appears to be a bug in the way that equations are labeled in the example paper in the following section:
|
## Equations |
|
|
|
Cross-references to equations work similar to those for floating |
|
elements. The difference is that, since captions are not supported |
|
for equations, the label must be included in the equation: |
|
|
|
$$a^n + b^n = c^n \label{fermat}$$ |
|
|
|
Referencing, however, is identical, with `\autoref{eq:fermat}` |
|
resulting in "\autoref{eq:fermat}". |
|
|
|
$$a^n + b^n = c^n \label{eq:fermat}$$ |
|
|
|
Authors who do not wish to include the label directly in the formula can use a Markdown span to add the label: |
|
|
|
[$$a^n + b^n = c^n$$]{label="eq:fermat"} |
The latest 1.1.5 build of Inara produces the following latex in https://github.com/openjournals/inara/actions/runs/12199377342/job/34033120544:
\subsection{Equations}\label{equations}
Cross-references to equations work similar to those for floating
elements. The difference is that, since captions are not supported for
equations, the label must be included in the equation:
\begin{verbatim}
$$a^n + b^n = c^n \label{fermat}$$
\end{verbatim}
Referencing, however, is identical, with
\texttt{\textbackslash{}autoref\{eq:fermat\}} resulting in
``\autoref{eq:fermat}''.
\[a^n + b^n = c^n \label{eq:fermat}\]
Authors who do not wish to include the label directly in the formula can
use a Markdown span to add the label:
\begin{verbatim}
[$$a^n + b^n = c^n$$]{label="eq:fermat"}
\end{verbatim}
Despite this, it still builds the draft and production PDFs. The draft PDF is downloadable from https://github.com/openjournals/inara/actions/runs/12199377342 as it renders like the following (red underline is from me)
How to get a solution
I think the problem is in the \label{eq:fermat} in the actual equation. Should it be a different command, like \ref{}?
There appears to be a bug in the way that equations are labeled in the example paper in the following section:
inara/example/paper.md
Lines 432 to 447 in 92554be
The latest 1.1.5 build of Inara produces the following latex in https://github.com/openjournals/inara/actions/runs/12199377342/job/34033120544:
Despite this, it still builds the draft and production PDFs. The draft PDF is downloadable from https://github.com/openjournals/inara/actions/runs/12199377342 as it renders like the following (red underline is from me)
How to get a solution
I think the problem is in the
\label{eq:fermat}in the actual equation. Should it be a different command, like\ref{}?