Error : Could not find executable
I have installed the extension, but I get the error saying
Error running filter /opt/quarto/share/filters/main.lua: Error running filter /home/../Documents/latex-environment: Could not find executable /home/../Documents/latex-environment stack traceback: /opt/quarto/share/filters/main.lua:4026: in function </opt/quarto/share/filters/main.lua:4005> [C]: in ? [C]: in method 'walk' /opt/quarto/share/filters/main.lua:171: in function 'run_emulated_filter' /opt/quarto/share/filters/main.lua:449: in local 'callback' /opt/quarto/share/filters/main.lua:454: in upvalue 'run_emulated_filter_chain' /opt/quarto/share/filters/main.lua:495: in function </opt/quarto/share/filters/main.lua:476> stack traceback: /opt/quarto/share/filters/main.lua:171: in function 'run_emulated_filter' /opt/quarto/share/filters/main.lua:449: in local 'callback' /opt/quarto/share/filters/main.lua:454: in upvalue 'run_emulated_filter_chain' /opt/quarto/share/filters/main.lua:495: in function </opt/quarto/share/filters/main.lua:476>
I have installed the extension and it says successfully installed. Please help what can be done here. Even the example code does not work.
Can you share more details ? how did you setup the extension ? Where is your _extension folder compare to your project ?
This extension works fine when setup correctly
$ quarto add quarto-ext/latex-environment
$ bat test.qmd
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: test.qmd
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ ---
2 │ title: LaTeX Environment
3 │ format:
4 │ pdf: default
5 │ html: default
6 │ filters:
7 │ - latex-environment
8 │ environments: [center]
9 │ ---
10 │
11 │ ::: {.center}
12 │ The contents of this div will be output in a `center`
13 │ LaTeX environment, but will appear in HTML (and any other output
14 │ format as a simple div with the class `center`)
15 │ :::
$ quarto render test.qmd --to pdf
This is the tree in my test folder
│ test.pdf
│ test.qmd
│
└───_extensions
└───quarto-ext
└───latex-environment
latex-environment.lua
_extension.yml
Using latest Quarto 1.4 pre-release.
Eveything is working fine so please do share more information, anything relevant that could help us help you remotely.
thanks