quarto-journals / acm

Quarto template for the Association of Computing Machinery
https://quarto-journals.github.io/acm/
MIT License
16 stars 9 forks source link

Error running filter _extensions/quarto-journals/acm/add-bibliography.lua #8

Closed soumyaray closed 1 year ago

soumyaray commented 1 year ago

I'm trying to Render a .qmd file that has as part of its front matter:

format: acm-pdf
keep-tex: true

acm-metadata:
  final: true

  # lines omitted

  ccs:  # omitted
  keywords: # omitted 

When I hit render, I get the error:

Error running filter _extensions/quarto-journals/acm/add-bibliography.lua:
_extensions/quarto-journals/acm/add-bibliography.lua:57: attempt to call a nil value (field 'is_format')
stack traceback:

(no traceback is offered)

I just installed quarto and the quarto-journals/acm extension today, and have my RStudio is v2022.07.01

Sumidu commented 1 year ago

I installed Quarto and the ACM template today on a new machine and have the same issue. No problem on an older installation.

Sumidu commented 1 year ago

Oh, I think I found the problem. The default download for Quarto is v.1.1.xxx and it needs 1.2.xx.

@soumyaray You can find the download for the pre-release of 1.2 here: https://quarto.org/docs/download/prerelease.html

soumyaray commented 1 year ago

This fixed it!! Thanks @Sumidu. I'll close the issue now as it seems to be just a back-compatibility issue, and @cscheid is welcome to reopen it if there is anything to be done on their side.

cscheid commented 1 year ago

We should add a warning to quarto-journals about running v1.2 pre-release versions.