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

Confusing log file entry #107

Closed
ilyaza opened this issue Jan 4, 2019 · 5 comments
Closed

Confusing log file entry #107

ilyaza opened this issue Jan 4, 2019 · 5 comments

Comments

@ilyaza
Copy link

ilyaza commented Jan 4, 2019

Brief outline of the bug

One of the NFSS messages uses imperative where gerund is expected:

LaTeX Font Info:    Try loading font information for T1+cmss on input line 8.

(In fact, I saw another confusing message, but cannot reproduce it yet…)

Minimal example showing the bug

\RequirePackage{latexbug}
\documentclass{article}

\usepackage[T1]{fontenc}

\begin{document}

\sf Foobar.

\end{document}

Log file (required) and possibly PDF file

mytest-none.pdf
mytest-none.log

@FrankMittelbach
Copy link
Member

you mean it should say something like "Trying to load information ..." ? Perhaps, yes.

As for other confusing messages, you will find nearly all error and warning messages by LaTeX and major packages listed in appendix B of the LaTeX Companion. And if you don't own that book, there is a french translation of that appendix available on the Web: https://www.latex-project.org/help/books/bookpart_tlc2fr-apb.pdf

@ilyaza
Copy link
Author

ilyaza commented Jan 4, 2019

Yes, all the other messages I saw use gerunds.

@ilyaza
Copy link
Author

ilyaza commented Jan 13, 2019

OK, here is the other place where the intent of the message is not clear:

\RequirePackage{latexbug}
\documentclass{article}

\usepackage{textcomp}

\begin{document}

Foobar.

\end{document}

This results in

Package textcomp Info: Sub-encoding information:
(textcomp)               5 = only ISO-Adobe without \textcurrency
…
Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 79.

I think the intent is better described by In reports of my actions, the number after slash is the sub-encoding information: instead of just Sub-encoding information:.

mytest-textcomp.log

@FrankMittelbach FrankMittelbach self-assigned this Feb 6, 2019
@FrankMittelbach FrankMittelbach added this to Pool (unscheduled issues) in upcoming LaTeX2e releases via automation Feb 6, 2019
@FrankMittelbach FrankMittelbach added this to the release 2019 spring milestone Feb 6, 2019
@FrankMittelbach FrankMittelbach moved this from Pool (unscheduled issues) to To do in upcoming LaTeX2e releases Feb 6, 2019
@FrankMittelbach
Copy link
Member

Applied the first suggestion. Not convinced about the second so keep that as is.

upcoming LaTeX2e releases automation moved this from To do to Done Feb 7, 2019
@ilyaza
Copy link
Author

ilyaza commented Feb 9, 2019

This results in

Package textcomp Info: Sub-encoding information:
(textcomp)               5 = only ISO-Adobe without \textcurrency
…
Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 79.

I think the intent is better described by In reports of my actions, the number after slash is the sub-encoding information: instead of just Sub-encoding information:.

I agree that my proposal is very clumsy. However, from Frank’s reply it is not clear whether he agrees that the current message is very confusing. If so, here is my other try to rewrite it:

Package textcomp Info: in reports below, sub-encoding (the number after slash) means:

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

No branches or pull requests

2 participants