quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
280 stars 19 forks source link

VS Code Extension: Preview ignores `output-dir` in `_quarto.yml` #375

Open roland-KA opened 4 months ago

roland-KA commented 4 months ago

Until recently the VS Code Extension put the files it generated for a preview (for revealjs) in the directory which I specified in _quarto.yml in output-dir.

Now this behaviour changed:

Is there any way to get the former behaviour back? Is it possible to specify the output directory for the preview explicitly?

I'm using Quarto 1.4.549 and the VS Code Extension v1.110.1

BTW, there is another strange behaviour within this context:

roland-KA commented 2 months ago

I think, I've identified the problem more closely. The preview has problems with filenames containing German umlauts.

When previewing a e.g. a file named Einführung.qmd the preview ignores the output-dir and creates a separate directory with the preview files (as described above).

As soon as the file is renamed to Einfuehrug.qmd, everything works fine and the preview puts it's files in the folder specified by output-dir (and it uses in this case also the CSS-file specified for the project; which is the desired behaviour).