Takes this qmd `test.qmd`
````markdown
---
title: "Test"
format:
  pdf:
    output-file: pdf.pdf
keep-tex: true
---

# Test
````

This will produce a `test.tex` and a `pdf.pdf` output. 

I think it could be better to have the intermediate be renamed to the `output-file` option when provided. 🤔 

Opening this issue to track the idea and look into what we can do. 
cscheid
2023-06-28T08:58:24Z
cderv
enhancement
v1.5
open
Rename  `tex` output to `output-file` when `keep-tex: true`
https://github.com/quarto-dev/quarto-cli/issues/6045