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

Global option to disable all LuaTeX warnings #72

Open
TomSteu opened this issue Jan 21, 2021 · 1 comment
Open

Global option to disable all LuaTeX warnings #72

TomSteu opened this issue Jan 21, 2021 · 1 comment

Comments

@TomSteu
Copy link

TomSteu commented Jan 21, 2021

In my opinion it would make sense to have a global way to disable all warnings about LuaTeX not being used. This includes the solution #49, but also for features that will otherwise just be ignored.

The reasoning is simple: TikZ-Feynman is widely used in physics, where the arXiv has become a widely adopted standard for preprints. These are often (if not mostly?) uploaded as LaTeX manuscripts, with pdf files being created on the server side using pdflatex. This alone sets a compelling standard for many people, not just me. Of course, TikZ-Feynman is still very capable to use with pdflatex, the only downside is that the build is flooded with hundreds of warnings, which drown out others that might be of more pressing importance. A global switch to silence them all would be useful -- it is not like we are unaware of the situation.

@tomeichlersmith
Copy link

While I would also prefer a package option for tikz-feynman specifically, there is yet another package that is yet another "solution".

The upside to this solution is that it doesn't require the user to muck around with the tikz-feynman source code and instead just updates the tex document.

\usepackage{silence} % silence warnings
\WarningFilter{tikz-feynman}{The key you tried} % silence LuaTeX-only warnings

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

No branches or pull requests

2 participants