Skip to content

Option -q (quiet) gets not passed to latexmk #12717

@jo-so

Description

@jo-so

Describe the bug

Running sphinx-build with -q reduces the output for html, but not for latexpdf. I would be useful if the option -q results in the option -quiet for latexmk.

How to Reproduce

Run make O=-q latexpdf

Environment Information

Platform:              linux; (Linux-6.5.0-45-generic-x86_64-with-glibc2.35)
Python version:        3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0])
Python implementation: CPython
Sphinx version:        7.2.6
Docutils version:      0.18.1
Jinja2 version:        3.1.4
Pygments version:      2.18.0

Sphinx extensions

No response

Additional context

A workaround is the environment variable LATEXMKOPTS, e.g. running make O=-q LATEXMKOPTS=-quiet latexpdf reduces the output.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions