Skip to content

Supporting file are cleanup to soon when using multiformat #8373

Open
@Sciemon

Description

@Sciemon

Bug description

An mwe can be found in the github repo
https://github.com/Sciemon/issue_figures_folder

Somehow latex assumes the figures are in a 'mediabag' folder that does not exist.

Steps to reproduce

It is only possible to render (with quarto render ...) the file 'model_requirements.qmd' if 'docx: default' is deleted from the yaml.

Expected behavior

if 'docx: default' is deleted, the pdf is rendered

Actual behavior

Otherwise latex throws the following error:

ERROR:
compilation failed- error
Unable to load picture or PDF file 'model_requirements_files/mediabag/figs/SVS_droop.pdf'.

}
l.373 ...ements_files/mediabag/figs/SVS_droop.pdf}###

Your environment

  • IDE: VSCode 1.85.2
  • OS: Windows 10

Quarto check output

Quarto 1.4.545
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.4.545
Path: C:\Program Files\Quarto\bin
CodePage: 1252

[>] Checking tools....................OK
TinyTeX: v2024.01
Chromium: (not installed)

[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\seberlein\AppData\Roaming\TinyTeX\bin\windows
Version: 2023

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
Version: 3.11.7
Path: C:/Users/seberlein/AppData/Local/Programs/Python/Python311/python.exe
Jupyter: 5.7.1
Kernels: python3

(-) Checking Jupyter engine render....Traceback (most recent call last):
File "C:\Program Files\Quarto\share\jupyter\jupyter.py", line 21, in
from notebook import notebook_execute, RestartKernel
File "C:\Program Files\Quarto\share\jupyter\notebook.py", line 14, in
from yaml import safe_load
ModuleNotFoundError: No module named 'yaml'
[>] Checking Jupyter engine render....OK

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfilesIssues related to temporary file locations, nonstandard output locations, etc

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions