Skip to content

output-file naming is not used for docx-book #12063

@dmenne

Description

@dmenne

Bug description

File name in Word/Book output is always derived from title.

Steps to reproduce

format:
  docx:
    output-file: "IWantThisName"
    output-ext: "docx"

Expected behavior

Output file name should be IWantThisName.docx

Actual behavior

Output file name is mybook.docx

Your environment

No response

Quarto check output

Also tested with 1.7.13

C:\tmp\mybook>quarto check
Quarto 1.6.40
[>] Checking environment information...
      Quarto cache location: C:\Users\Dieter\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.4.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.46.3: OK
      Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.6.40
      Path: C:\Users\Dieter\AppData\Local\Programs\Quarto\bin
      CodePage: 1252

[>] Checking tools....................OK
      TinyTeX: v2025.02
      Chromium: (not installed)

[>] Checking LaTeX....................OK
      Using: TinyTex
      Path: C:\Users\Dieter\AppData\Roaming\TinyTeX\bin\windows\
      Version: 2024

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
      Version: 3.13.1
      Path: C:/Users/Dieter/AppData/Local/Programs/Python/Python313/python.exe
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with py -m pip install jupyter

[>] Checking R installation...........OK
      Version: 4.4.2
      Path: C:/PROGRA~1/R/R-44~1.2
      LibPaths:
        - C:/Program Files/R/R-4.4.2/library
      knitr: 1.49
      rmarkdown: 2.29

[>] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions