I used acronymsdown
without issues up until last week. Then something happened and now I cannot render my report. The yml
is the following:
---
title: "Paper"
metadata-files:
- ../../../all_phd/authors.yml
format:
pdf:
pdf-engine: pdflatex
number-sections: true
toc: false
margin-left: 15mm
margin-right: 15mm
margin-bottom: 20mm
margin-top: 15mm
include-in-header:
text: |
\usepackage{rotating}
\usepackage{float}
\usepackage{typearea}
bibliography: ../../../PhD.bib
link-citations: true
linkcolor: blue
execute:
echo: false
warning: false
error: false
message: false
editor_options:
chunk_output_type: console
filters:
- acronyms
- ../../../all_phd/scholarly-metadata.lua
- ../../../all_phd/author-info-blocks.lua
acronyms:
fromfile: ../../../all_phd/acronyms.yml
insert_links: false
insert_loa: false
sorting: alphabetical
---
This is what I obtain when trying to render it:
Error running filter /home/lorenzo/applications/quarto-cli/src/resources/filters/main.lua:
...lixSC-neuro/docs/_extensions/acronyms/parse-acronyms.lua:109: attempt to index a nil value (global 'Acronyms')
stack traceback:
[C]: in ?
[C]: in method 'walk'
...s/quarto-cli/src/resources/filters/./ast/customnodes.lua:72: in function 'run_emulated_filter'
.../quarto-cli/src/resources/filters/./ast/runemulation.lua:34: in local 'callback'
[string "..."]:1875: in field 'withScriptFile'
.../quarto-cli/src/resources/filters/./ast/runemulation.lua:43: in upvalue 'run_emulated_filter_chain'
.../quarto-cli/src/resources/filters/./ast/runemulation.lua:78: in function <.../quarto-cli/src/resources/filters/./ast/runemulation.lua:75>
stack traceback:
...s/quarto-cli/src/resources/filters/./ast/customnodes.lua:72: in function 'run_emulated_filter'
.../quarto-cli/src/resources/filters/./ast/runemulation.lua:34: in local 'callback'
[string "..."]:1875: in field 'withScriptFile'
.../quarto-cli/src/resources/filters/./ast/runemulation.lua:43: in upvalue 'run_emulated_filter_chain'
.../quarto-cli/src/resources/filters/./ast/runemulation.lua:78: in function <.../quarto-cli/src/resources/filters/./ast/runemulation.lua:75>
ERROR: Error
at renderFiles (file:///home/lorenzo/applications/quarto-cli/src/command/render/render-files.ts:540:23)
at eventLoopTick (ext:core/01_core.js:181:11)
at async render (file:///home/lorenzo/applications/quarto-cli/src/command/render/render-shared.ts:98:18)
at async renderForPreview (file:///home/lorenzo/applications/quarto-cli/src/command/preview/preview.ts:400:24)
at async render (file:///home/lorenzo/applications/quarto-cli/src/command/preview/preview.ts:159:22)
at async preview (file:///home/lorenzo/applications/quarto-cli/src/command/preview/preview.ts:176:18)
at async Command.fn (file:///home/lorenzo/applications/quarto-cli/src/command/preview/cmd.ts:356:7)
at async Command.execute (file:///home/lorenzo/applications/quarto-cli/src/vendor/deno.land/x/[email protected]/command/command.ts:1790:7)
at async quarto (file:///home/lorenzo/applications/quarto-cli/src/quarto.ts:126:3)
at async file:///home/lorenzo/applications/quarto-cli/src/quarto.ts:158:5
As of now, I tried to create a _extensions
directory in the same folder of the Quarto document (not the root of the project, though), whitin which I created a directory named acronyms
which contain the .lua
filters and the file _extension.yml
:
title: acronyms
author: rchaput
version: 1.0.0
quarto-required: ">=1.2.0"
contributes:
filters:
- parse-acronyms.lua
Other informations:
> R.version
_
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 1.2
year 2021
month 11
day 01
svn rev 81115
language R
version.string R version 4.1.2 (2021-11-01)
nickname Bird Hippie
I am using Quarto version 99.9.9. The output of quarto check
is the following:
[โ] Checking versions of quarto binary dependencies...
Pandoc version 3.1.2: OK
Dart Sass version 1.55.0: OK
Deno version 1.33.2: OK
[โ] Checking versions of quarto dependencies......OK
[โ] Checking Quarto installation......OK
Version: 99.9.9
Path: /home/lorenzo/applications/quarto-cli/package/dist/bin
[โ] Checking basic markdown render....OK
[โ] Checking Python 3 installation....OK
Version: 3.10.6
Path: /usr/bin/python3
Jupyter: 5.2.0
Kernels: python3
[โ] Checking Jupyter engine render....OK
[โ] Checking R installation...........OK
Version: 4.1.2
Path: /usr/lib/R
LibPaths:
- /home/lorenzo/Documents/edu/phd/papers/paper3_helixSC_neuro/paper-helixSC-neuro/renv/library/R-4.1/x86_64-pc-linux-gnu
- /home/lorenzo/.cache/R/renv/sandbox/R-4.1/x86_64-pc-linux-gnu/9a444a72
knitr: 1.42
rmarkdown: 2.21
[โ] Checking Knitr engine render......OK
The version of acronymsdown
is 0.11.1, and I downloaded the lua
filters last Friday.
The content of acronyms.yml
is of the form:
---
acronyms:
keys:
- key: edc
shortname: EDC
longname: endocrine disruptor
---