repro:

```
# format-variants.qmd
---
format:
  pdf+simple:
    output-file: simple.pdf
  pdf+fancy:
    output-file: fancy.pdf
    pdf-engine: lualatex
---

This is a test.
```

This will fail with:

```
ERROR: NotFound: No such file or directory (os error 2), open 'format-variants.tex'

NotFound: No such file or directory (os error 2), open 'format-variants.tex'
    at async Object.open (deno:runtime/js/40_files.js:55:17)
    at async processLines (file:///Users/cscheid/repos/github/quarto-dev/quarto-cli/src/format/pdf/format-pdf.ts:366:16)
    at async file:///Users/cscheid/repos/github/quarto-dev/quarto-cli/src/format/pdf/format-pdf.ts:335:5
    at async Object.complete (file:///Users/cscheid/repos/github/quarto-dev/quarto-cli/src/command/render/render.ts:222:11)
```
cscheid
2022-12-26T14:01:24Z
cscheid
bug
v1.3
closed
multiple pdf targets clean up wrongly
https://github.com/quarto-dev/quarto-cli/issues/3762