Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could utils.citeproc() support a 'quiet' flag? #9077

Open
wlupton opened this issue Sep 13, 2023 · 3 comments
Open

Could utils.citeproc() support a 'quiet' flag? #9077

wlupton opened this issue Sep 13, 2023 · 3 comments

Comments

@wlupton
Copy link
Contributor

wlupton commented Sep 13, 2023

utils.citeproc() doesn't (as far as I know) allow the quiet flag to be set just for its invocation.

This would be very useful for the multibib filter, which runs citeproc in such a way that missing citations are expected (running make currently generates warnings).

Would it make sense to add a quiet flag or provide some other mechanism to achieve the same effect?

pandoc 3.1.8. Thanks.

@jgm
Copy link
Owner

jgm commented Sep 13, 2023

A more general (and I think quite simple) solution would be a function that sets the verbosity level (wrapping setVerbosity). This could be used not just with citeproc but elsewhere.
@tarleb what do you think?

@tarleb
Copy link
Collaborator

tarleb commented Sep 23, 2023

Should be doable, I think. I'm assigning myself so I won't lose track of this.

@tarleb tarleb self-assigned this Sep 23, 2023
@tarleb
Copy link
Collaborator

tarleb commented Sep 23, 2023

I'm slowly working my way back into things, so this might not work, but calling warn('@off') before could help to prevent warnings from being printed to stderr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants