-
Notifications
You must be signed in to change notification settings - Fork 389
Closed
Labels
bugSomething isn't workingSomething isn't workingfilesIssues related to temporary file locations, nonstandard output locations, etcIssues related to temporary file locations, nonstandard output locations, etcprojectswebsitesIssues creating websitesIssues creating websites
Milestone
Description
Bug description
the project config option lib-dir: "./.." is pretty fatal for quarto render.
project:
type: book
title: "Stan Reference Manual"
lib-dir: "./.."
when building a book from the command line using quarto render, the book is first rendered, then the directory is completely deleted.
~/github/stan-dev/docs/src/baz (issue/689-quarto-pdfs)> ls -lta
total 88
drwxr-xr-x 14 mitzi staff 448 Dec 20 16:01 .
-rw-r--r-- 1 mitzi staff 1080 Dec 20 16:01 _quarto.yml
-rw-r--r-- 1 mitzi staff 2079 Dec 20 16:00 header.tex
drwxr-xr-x 5 mitzi staff 160 Dec 20 16:00 .quarto
-rw-r--r-- 1 mitzi staff 2370 Dec 20 16:00 includes.Rmd
-rw-r--r-- 1 mitzi staff 543 Dec 20 16:00 js.html
-rw-r--r-- 1 mitzi staff 10 Dec 20 16:00 .gitignore
-rw-r--r-- 1 mitzi staff 74 Dec 20 16:00 references.Rmd
drwxr-xr-x 4 mitzi staff 128 Dec 20 16:00 img
-rw-r--r-- 1 mitzi staff 2193 Dec 20 16:00 index.qmd
-rw-r--r-- 1 mitzi staff 1904 Dec 20 16:00 encoding.Rmd
-rw-r--r-- 1 mitzi staff 591 Dec 20 16:00 comments.Rmd
-rw-r--r-- 1 mitzi staff 6520 Dec 20 16:00 quarto_styles.css
drwxr-xr-x 24 mitzi staff 768 Dec 20 16:00 ..
~/github/stan-dev/docs/src/baz (issue/689-quarto-pdfs)> quarto render
[1/5] index.qmd
[2/5] encoding.Rmd
processing file: encoding.Rmd
1/1
output file: encoding.knit.md
processing file: encoding.Rmd
1/1
output file: encoding.knit.md
[3/5] includes.Rmd
processing file: includes.Rmd
1/1
output file: includes.knit.md
processing file: includes.Rmd
1/1
output file: includes.knit.md
[4/5] comments.Rmd
processing file: comments.Rmd
1/1
output file: comments.knit.md
processing file: comments.Rmd
1/1
output file: comments.knit.md
[5/5] references.Rmd
processing file: references.Rmd
1/1
output file: references.knit.md
processing file: references.Rmd
1/1
output file: references.knit.md
pandoc
to: latex
output-file: index.tex
standalone: true
toc: true
number-sections: true
top-level-division: chapter
pdf-engine: pdflatex
variables:
graphics: true
tables: true
default-image-extension: pdf
syntax-definition: ../stan.xml
toc-depth: 2
metadata
crossref:
chapters: true
documentclass: book
papersize: letter
block-headings: false
bibliography:
- ../bibtex/all.bib
biblio-style: apalike
latex-tinytex: false
latex-engine: pdflatex
toc-title: Table of Contents
title: Stan Reference Manual
author: Stan Development Team
running pdflatex - 1
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
running pdflatex - 2
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
ERROR: TypeError: Invalid argument (os error 22), rename '/Users/mitzi/github/stan-dev/docs/src' -> '/Users/mitzi/github/stan-dev/docs/src/baz'
~/github/stan-dev/docs/src/baz> pwd
/Users/mitzi/github/stan-dev/docs/src/baz
~/github/stan-dev/docs/src/baz> ls -lta
total 0
drwxr-xr-x 23 mitzi staff 736 Dec 20 16:02 ..
drwxr-xr-x 2 mitzi staff 64 Dec 20 16:02 .
~/github/stan-dev/docs/src/baz> cd ..
at this point, source directory baz no longer exists.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfilesIssues related to temporary file locations, nonstandard output locations, etcIssues related to temporary file locations, nonstandard output locations, etcprojectswebsitesIssues creating websitesIssues creating websites