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

How to solve this error? #37

Open
diegourreamendez opened this issue Jun 26, 2024 · 3 comments
Open

How to solve this error? #37

diegourreamendez opened this issue Jun 26, 2024 · 3 comments

Comments

@diegourreamendez
Copy link

ERROR: Unable to read the extension 'acm'.
Please ensure that you provided the correct id and that the extension is installed.

@andrewpbray
Copy link

andrewpbray commented Jul 21, 2024

I'm getting this same error when running the code provided in README.md

quarto use template quarto-journals/acm
quarto render article.qmd --to acm-pdf

This is on quarto v1.5.55.

Makes me think it could be helpful to add these officially-supported templates into the test suite.

@andrewpbray
Copy link

Ah, this is strange: quarto use template quarto-journals/acm copies into the directory the contents of this repo ...except the _extensions subdirectory is empty. This can be fixed by also running quarto add quarto-journals/acm but something must be going awry in the detection of the extension within the template.

(base) andrewbray@MacBookPro Desktop % quarto use template quarto-journals/acm

Quarto templates may execute code when documents are rendered. If you do not 
trust the authors of the template, we recommend that you do not install or 
use the template.
? Do you trust the authors of this template (Y/n) › Yes
? Create a subdirectory for template? (Y/n) › Yes
? Directory name: › temp
[✓] Downloading
[✓] Unzipping

The template requires the following changes to extensions:
acmart (ACM) format template   [Install]   0.0.3 (formats)
? Would you like to continue (Y/n) › Yes

Preparing template files...
    Found 0 extensions.

[✓] Copying
[✓] Installing extensions...
[✓] Copying files...

Extensions installed:
 - acmart (ACM) format template

Files created:
 - bibliography.bib
 - sample-franklin.png
 - temp.qmd
(base) andrewbray@MacBookPro Desktop % cd temp
(base) andrewbray@MacBookPro temp % ls
_extensions		temp.qmd
bibliography.bib	sample-franklin.png
(base) andrewbray@MacBookPro temp % cd _extensions
(base) andrewbray@MacBookPro _extensions % ls
(base) andrewbray@MacBookPro _extensions % 

@cscheid
Copy link
Collaborator

cscheid commented Jul 22, 2024

This extension needs a fair amount of updating; I hope to get this done by the end of August. Thanks for the patience, everyone.

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

No branches or pull requests

3 participants