-
Notifications
You must be signed in to change notification settings - Fork 309
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
Getting file not found errror when setting revealjs
setting
#6809
Comments
I can repro that here as well. Wild. |
(I think @dragonstyle did our line numbering support) |
😄 Thank you. I thought I was losing my mind! Hahaha the error didn't make any sense in relation to what I was changing, that is why it took so long for me to isolate this! |
FWIW nothing to do with same error message
I think what happens is a conflict betwen Here the detailed explanation of why this happens (not sure you are expecting this behavior) Format metadata mergingRegarding this usage in
This means to me that if no format is defined at a document level, then both from Setting ---
title: "Setup"
order: 1
format: html
--- in the file remove the error. Also to verify what I am saying you could try not setting a format:
html:
code-copy: true
theme: cosmo
css: styles.css
pdf: default After
This happens at quarto-cli/src/command/render/render-contexts.ts Lines 448 to 454 in ea89420
This way of merging project formats with other format metadata is the default one - only book project only consider project format only. About the missing
|
// move the renderedFile to the output dir | |
if (!renderedFile.isTransient) { | |
const outputFile = join(formatOutputDir, renderedFile.file); | |
ensureDirSync(dirname(outputFile)); | |
Deno.renameSync(join(projDir, renderedFile.file), outputFile); | |
} |
and this happens for each output file.
format: html
and format: revealjs
have the same output file, so it errors because there is only one to move
Anyhow, sorry for long post. It is not the first time this happens so now we have a written explanation until #6518 helps us solve all this.
Bug description
In my
_quarto.yml
file, if I add these options:I get the following error
Steps to reproduce
I have made a minimal repro here
I am using Quarto
1.3.450
To repro, do the following:
Expected behavior
No response
Actual behavior
No response
Your environment
1.3.450
Quarto check output
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.450
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12 (Conda)
Path: /Users/hamel/mambaforge/bin/python
Jupyter: 5.3.0
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.0.4
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.0/Resources/library
knitr: 1.31
rmarkdown: 2.7
[✓] Checking Knitr engine render......OK
cc: @jjallaire @cscheid
The text was updated successfully, but these errors were encountered: