Skip to content

Comments

fix for "! LaTeX Error: Environment cslreferences undefined."#4

Open
scottwalters wants to merge 1 commit intoshushcat:masterfrom
scottwalters:master
Open

fix for "! LaTeX Error: Environment cslreferences undefined."#4
scottwalters wants to merge 1 commit intoshushcat:masterfrom
scottwalters:master

Conversation

@scottwalters
Copy link

pandoc started requiring a new "environment" to exist, apparently breaking every template everywhere. Here's a change based on https://stackoverflow.com/posts/59196065/revisions . I don't know anything about the LaTeX language so I hope that's useful but please treat with scrutiny. It got me going. Thanks for sharing your MLA template. Much nicer not doing this manually in a word processor.

@shushcat
Copy link
Owner

shushcat commented Jun 19, 2022

Thanks for the pull request. Was this issue preventing you from generating a paper? Would you please tell me a bit more about the conditions under which you saw the error? I don't have any issue with Pandoc 2.11.4, and the CSL reference environment is defined here:

% Setup CSLReferences environment

It may be that the check for csl-refs is failing under your setup, in which case it might make sense to just remove the conditional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants