Skip to content

citations/references broken in a document based on the paper template #82

Description

@stevejpurves

When starting a new project with the "paper" template, a project containing a single article with example content is generated.

If an arbitrary reference is added and cited in that document, it appears to work correctly in the web editor. On exporting to PDF however, the citation is broken, appearing as a single ? and with no reference list included in the document.

e.g.
image

After investigating, we found that removing the $\LaTeX$ word/math-macro from the document fixed this issue -- and citations/references then correctly appeared.

This can also be reproduced in any article containing the $\LaTeX$ math snippert and at least one reference. e.g.

image

produces:

image

The curvenote API translates this minimal content to latex as:

$\LaTeX$

\cite{oxa:mY7h53eRR2R5c1qeX7Vv/m3hH59NcZYUAxL2FbEiX.1}

\cite{oxa:mY7h53eRR2R5c1qeX7Vv/whOtMMA51TDsCJk1X3Pv.1}

Which appears valid.
Build container logs show no latex errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions