EmilHvitfeldt / quarto-roughnotation

An extension that uses the roughnotation javascript library to add animated annotations to revealjs documents.

Home Page:https://emilhvitfeldt.github.io/quarto-roughnotation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with Installation

pstata opened this issue · comments

At the Terminal I did

C:\Users\tatav\Documents\r4ds2html>quarto install extension EmilHvitfeldt/quarto-roughnotation

Quarto extensions may execute code when documents are rendered. If you do not
trust the authors of the extension, we recommend that you do not install or
use the extension.
? Do you trust the authors of this extension (Y/n) » Yes

[>] Downloading
[>] Unzipping
Found 1 extensions.

The following changes will be made:
RoughNotations [No Change] (filter)

? Would you like to continue (Y/n) » Yes

[>] Extension installation complete

C:\Users\tatav\Documents\r4ds2html>quarto install extension EmilHvitfeldt/quarto-roughnotation

Quarto extensions may execute code when documents are rendered. If you do not
trust the authors of the extension, we recommend that you do not install or
use the extension.
? Do you trust the authors of this extension (Y/n) » Yes

[>] Downloading
[>] Unzipping
Found 1 extensions.

The following changes will be made:
RoughNotations [No Change] (filter)

? Would you like to continue (Y/n) » Yes

[>] Extension installation complete

when ran a New Quarto Document like this

---
title: "Untitled"
format: html
editor: visual
filters:
   - roughnotation
---

## Quarto

Error running filter _extensions/EmilHvitfeldt/roughnotation/rough.lua:
[string "---------------------------------------------..."]:1302: attempt to index a nil value (local 'ref')
stack traceback:
[string "---------------------------------------------..."]:1312: in upvalue 'resolvePath'
[string "---------------------------------------------..."]:1447: in upvalue 'resolveDependencyFilePaths'
[string "---------------------------------------------..."]:1528: in field 'addHtmlDependency'
_extensions/EmilHvitfeldt/roughnotation/rough.lua:2: in function 'Meta'

Hmm that is strange, can you try again using this document? What version of quarto do you have? You can check by running quarto help

---
title: "Untitled"
format: revealjs
filters:
   - roughnotation
---

## Quarto