-
Notifications
You must be signed in to change notification settings - Fork 2
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
Why is there a lot of warnings? #6
Comments
It is very hard to answer your question without knowing anything about your source code. Can you please
|
Here's a MWE: \documentclass[12pt, a4paper, numbers=noenddot]{scrreprt} % Koma-Script 'report' class
\usepackage[sfdefault]{inter} % Inter font
\begin{document}
This is a test
\end{document} I'm using VSCode with LaTeX workshop, TexLab extensions and tectonic to compile. Warning generated: note: "version 2" Tectonic command-line interface activated
note: Running TeX ...
warning: inter.sty:118:
Requested font "[Inter-Regular.otf]/OT" at 11.99997pt
warning: inter.sty:118: Requested font "[Inter-Regular.otf]/OT" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-Regular.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-Bold.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-Italic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-BoldItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:146: Requested font "[Inter-Thin.otf]/OT" at 11.99997pt
warning: inter.sty:146: Requested font "[Inter-Thin.otf]/OT" at 12.00003pt
warning: inter.sty:146: Requested font "[Inter-Thin.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:146: Requested font "[Inter-ThinItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:154: Requested font "[Inter-Light.otf]/OT" at 11.99997pt
warning: inter.sty:154: Requested font "[Inter-Light.otf]/OT" at 12.00003pt
warning: inter.sty:154: Requested font "[Inter-Light.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:154: Requested font "[Inter-LightItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:162: Requested font "[Inter-ExtraLight.otf]/OT" at 11.99997pt
warning: inter.sty:162: Requested font "[Inter-ExtraLight.otf]/OT" at 12.00003pt
warning: inter.sty:162: Requested font "[Inter-ExtraLight.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:162: Requested font "[Inter-ExtraLightItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:170: Requested font "[Inter-Medium.otf]/OT" at 11.99997pt
warning: inter.sty:170: Requested font "[Inter-Medium.otf]/OT" at 12.00003pt
warning: inter.sty:170: Requested font "[Inter-Medium.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:170: Requested font "[Inter-MediumItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:176: Requested font "[Inter-SemiBold.otf]/OT" at 11.99997pt
warning: inter.sty:176: Requested font "[Inter-SemiBold.otf]/OT" at 12.00003pt
warning: inter.sty:176: Requested font "[Inter-SemiBold.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:176: Requested font "[Inter-SemiBoldItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:182: Requested font "[Inter-ExtraBold.otf]/OT" at 11.99997pt
warning: inter.sty:182: Requested font "[Inter-ExtraBold.otf]/OT" at 12.00003pt
warning: inter.sty:182: Requested font "[Inter-ExtraBold.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:182: Requested font "[Inter-ExtraBoldItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:188: Requested font "[Inter-Black.otf]/OT" at 11.99997pt
warning: inter.sty:188: Requested font "[Inter-Black.otf]/OT" at 12.00003pt
warning: inter.sty:188: Requested font "[Inter-Black.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:188: Requested font "[Inter-BlackItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: 00-preamble.tex:85: Requested font "[Inter-Regular.otf]/OT:script=latn;language=dflt;+pnum;mapping=tex-text;" at 12.0pt
note: Rerunning TeX because "Proposal.aux" changed ...
warning: inter.sty:118:
Requested font "[Inter-Regular.otf]/OT" at 11.99997pt
warning: inter.sty:118: Requested font "[Inter-Regular.otf]/OT" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-Regular.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-Bold.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-Italic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:118: Requested font "[Inter-BoldItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:146: Requested font "[Inter-Thin.otf]/OT" at 11.99997pt
warning: inter.sty:146: Requested font "[Inter-Thin.otf]/OT" at 12.00003pt
warning: inter.sty:146: Requested font "[Inter-Thin.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:146: Requested font "[Inter-ThinItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:154: Requested font "[Inter-Light.otf]/OT" at 11.99997pt
warning: inter.sty:154: Requested font "[Inter-Light.otf]/OT" at 12.00003pt
warning: inter.sty:154: Requested font "[Inter-Light.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:154: Requested font "[Inter-LightItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:162: Requested font "[Inter-ExtraLight.otf]/OT" at 11.99997pt
warning: inter.sty:162: Requested font "[Inter-ExtraLight.otf]/OT" at 12.00003pt
warning: inter.sty:162: Requested font "[Inter-ExtraLight.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:162: Requested font "[Inter-ExtraLightItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:170: Requested font "[Inter-Medium.otf]/OT" at 11.99997pt
warning: inter.sty:170: Requested font "[Inter-Medium.otf]/OT" at 12.00003pt
warning: inter.sty:170: Requested font "[Inter-Medium.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:170: Requested font "[Inter-MediumItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:176: Requested font "[Inter-SemiBold.otf]/OT" at 11.99997pt
warning: inter.sty:176: Requested font "[Inter-SemiBold.otf]/OT" at 12.00003pt
warning: inter.sty:176: Requested font "[Inter-SemiBold.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:176: Requested font "[Inter-SemiBoldItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:182: Requested font "[Inter-ExtraBold.otf]/OT" at 11.99997pt
warning: inter.sty:182: Requested font "[Inter-ExtraBold.otf]/OT" at 12.00003pt
warning: inter.sty:182: Requested font "[Inter-ExtraBold.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:182: Requested font "[Inter-ExtraBoldItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:188: Requested font "[Inter-Black.otf]/OT" at 11.99997pt
warning: inter.sty:188: Requested font "[Inter-Black.otf]/OT" at 12.00003pt
warning: inter.sty:188: Requested font "[Inter-Black.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: inter.sty:188: Requested font "[Inter-BlackItalic.otf]/OT:script=latn;language=dflt;" at 12.00003pt
warning: 00-preamble.tex:85: Requested font "[Inter-Regular.otf]/OT:script=latn;language=dflt;+pnum;mapping=tex-text;" at 12.0pt
warning: warnings were issued by the TeX engine; use --print and/or --keep-logs for details.
note: Running xdvipdfmx ...
note: Writing `~/Project/Project.log` (28.54 KiB)
note: Writing `~/Project/Project.pdf` (2.53 KiB)
note: Writing `~/Project/Project.aux` (68 B) |
Okay, I downloaded Tectonic and did some digging. I can confirm that compiling with Tectonic results in this large number of “warnings.” It seems that Tectonic is not using the most recent version of TeX Live. More specifically, the inter.sty file that it uses is from 2021/04/16. That file contains a line \ifxetex\XeTeXtracingfonts=1\fi which is responsible for the warning messages. (This line is deactivated in more recent versions of inter.sty.) The warning messages seem harmless to me. All they indicate is that there were some floating-point errors: The requested font size should have been exactly 12pt, but it was either 11.99997pt or 12.00003pt. I have deactivated the respective line in the attached inter.txt file. (GitHub won’t allow me to upload .sty files.) If you save that file as inter.sty in the folder that contains the TeX document that you wish to compile, the warning messages will disappear. |
Oh okay.
Can you show me a diff or link or screenshot to prove so? It may help in opening a ticket over at tectonic. |
See https://ctan.org/ctan-ann/id/mailman.1201.1690045176.3764.ctan-ann@ctan.org:
A diff is not so easy. Tectonic stores all packages that it downloads under totally obscure names in its cache folder (see https://docs.rs/tectonic_io_base/latest/tectonic_io_base/app_dirs/fn.ensure_user_cache_dir.html). I had to search for the respective file via a terminal command (macOS) ...
The content of inter.txt is the content of the file that I found (except, of course, that I disabled line 104), and it states the date. |
Thanks for looking into this, appreciate it! |
Logs:
The text was updated successfully, but these errors were encountered: