Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stevejpurves opened this issue Mar 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@stevejpurves
Copy link
Member

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.

@stevejpurves stevejpurves added the bug Something isn't working label Mar 27, 2023
@stevejpurves
Copy link
Member Author

Testing this locally shows that this works using v0.8.6 of the curvenote cli -- this is ahead of the current version used on the build container and updating this may resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant