How can I get LaTeX not to mention them anymore? They take up valuable
screen real-estate in the "Log & Messages"-window of my editor (Kile).
TIA,
Erik
The warnings I spoke of:
/usr/share/texmf/tex/latex/fourier/fourier.sty:50: Encoding `OT1' has
changed to `T1' for symbol font(Font) `operators' in the math version
`normal' on input line 50. Encoding `OT1' has changed to `T1' for symbol
font(Font) `operators' in the math version `normal'
/usr/share/texmf/tex/latex/fourier/fourier.sty:50: Encoding `OT1' has
changed to `T1' for symbol font(Font) `operators' in the math version
`bold' on input line 50. Encoding `OT1' has changed to `T1' for symbol
font(Font) `operators' in the math version `bold'
/usr/share/texmf/tex/latex/fourier/fourier.sty:59: Encoding `OML' has
changed to `FML' for symbol font(Font) `letters' in the math version
`normal' on input line 59. Encoding `OML' has changed to `FML' for symbol
font(Font) `letters' in the math version `normal'
/usr/share/texmf/tex/latex/fourier/fourier.sty:59: Encoding `OML' has
changed to `FML' for symbol font(Font) `letters' in the math version
`bold' on input line 59. Encoding `OML' has changed to `FML' for symbol
font(Font) `letters' in the math version `bold'
/usr/share/texmf/tex/latex/fourier/fourier.sty:113: Encoding `OMS' has
changed to `FMS' for symbol font(Font) `symbols' in the math version
`normal' on input line 113. Encoding `OMS' has changed to `FMS' for symbol
font(Font) `symbols' in the math version `normal'
/usr/share/texmf/tex/latex/fourier/fourier.sty:113: Encoding `OMS' has
changed to `FMS' for symbol font(Font) `symbols' in the math version
`bold' on input line 113. Encoding `OMS' has changed to `FMS' for symbol
font(Font) `symbols' in the math version `bold'
/usr/share/texmf/tex/latex/fourier/fourier.sty:114: Encoding `OMX' has
changed to `FMX' for symbol font(Font) `largesymbols' in the math version
`normal' on input line 114. Encoding `OMX' has changed to `FMX' for symbol
font(Font) `largesymbols' in the math version `normal'
/usr/share/texmf/tex/latex/fourier/fourier.sty:114: Encoding `OMX' has
changed to `FMX' for symbol font(Font) `largesymbols' in the math version
`bold' on input line 114. Encoding `OMX' has changed to `FMX' for symbol
font(Font) `largesymbols' in the math version `bold'
./test.tex:0: Marginpar on page 9 moved by 19.41867pt.
> When using the `fourier' package, one gets the warnings (harmless,
> they tell me) about font-encoding changes following at the end of my
> post.
>
> How can I get LaTeX not to mention them anymore? They take up
> valuable screen real-estate in the "Log & Messages"-window of my
> editor (Kile).
Je pense la plupart viennent de LaTeX. Tu pourrai essayer ceci avant le
paquet:
\makeatletter
\def\@font@info#1{}
\makeatother
Ces messages ne sont pas des warnings, mais des informations.
--
Ulrike Fischer
e-mail: zusätzlich meinen Vornamen vor dem @ einfügen.
e-mail: add my first name between the news and the @.
> Je pense la plupart viennent de LaTeX. Tu pourrai essayer ceci avant le
> paquet:
Sorry about the french. I got confused ;-).
Pas de problème.
> Je pense la plupart viennent de LaTeX. Tu pourrai essayer ceci avant le
> paquet:
>
> \makeatletter
> \def\@font@info#1{}
> \makeatother
>
This does not seem to work (no change whatsoever).
> Ces messages ne sont pas des warnings, mais des informations.
>
It's a question of semantics of course, but in my log file I find
(excerpt):
(/usr/share/texmf/tex/latex/fourier/fourier.sty
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/base/textcomp.sty
(/usr/share/texmf/tex/latex/base/ts1enc.def))
(/usr/share/texmf/tex/latex/fourier/fourier-orns.sty)
LaTeX Font Warning: Encoding `OT1' has changed to `T1' for symbol font
(Font) `operators' in the math version `normal' on input line
50.
LaTeX Font Warning: Encoding `OT1' has changed to `T1' for symbol font
(Font) `operators' in the math version `bold' on input line
50.
LaTeX Font Warning: Encoding `OML' has changed to `FML' for symbol font
(Font) `letters' in the math version `normal' on input line
59.
LaTeX Font Warning: Encoding `OML' has changed to `FML' for symbol font
(Font) `letters' in the math version `bold' on input line 59.
LaTeX Font Warning: Encoding `OMS' has changed to `FMS' for symbol font
(Font) `symbols' in the math version `normal' on input line
113.
LaTeX Font Warning: Encoding `OMS' has changed to `FMS' for symbol font
(Font) `symbols' in the math version `bold' on input line
113.
LaTeX Font Warning: Encoding `OMX' has changed to `FMX' for symbol font
(Font) `largesymbols' in the math version `normal' on input
line 1
14.
LaTeX Font Warning: Encoding `OMX' has changed to `FMX' for symbol font
(Font) `largesymbols' in the math version `bold' on input
line 114
.
)
Erik
It's more than just a question of semantic!
> [...]
> LaTeX Font Warning: Encoding `OT1' has changed to `T1' for symbol font
> (Font) `operators' in the math version `normal' on input
> [...]
These messages are warning ones in (La)TeX point of view... and just
infos in fourier point of view. Fourier writes always these messages.
Jean-Côme Charpentier
Ok, but how do I get rid of them? Can I prevent fourier outputting them?
Erik
This request is somewhere strange. Well, I don't know for fourier but
you can ask latex itself to shut up :-)
\documentclass{article}
\makeatletter
\def\SetSymbolFont@#1#2#3{%
\expandafter\in@\expandafter#1\expandafter{\version@list}%
\ifin@
\expandafter\in@\expandafter#3\expandafter{\group@list}%
\ifin@
\begingroup
\expandafter\get@cdp\string#2\@nil\reserved@a
\toks@{}%
\def\install@mathalphabet##1##2{%
\addto@hook\toks@{\install@mathalphabet##1{##2}}%
}%
\def\getanddefine@fonts##1##2{%
\ifnum##1=#3%
\addto@hook\toks@{\getanddefine@fonts#3#2}%
\expandafter\get@cdp\string##2\@nil\reserved@b
% \ifx\reserved@a\reserved@b\else
% \@font@warning{Encoding `\reserved@b' has changed
% to `\reserved@a' for symbol font\MessageBreak
% `\expandafter\@gobblefour\string#3' in the
% math version `\expandafter
% \@gobblefour\string#1'}%
% \fi
\@font@info{%
Overwriting symbol font
`\expandafter\@gobblefour\string#3' in
version `\expandafter
\@gobblefour\string#1'\MessageBreak
\@spaces \expandafter\@gobble\string##2 -->
\expandafter\@gobble\string#2}%
\else
\addto@hook\toks@{\getanddefine@fonts##1##2}%
\fi}%
#1%
\xdef#1{\the\toks@}%
\endgroup
\else
\@latex@error{Symbol font `\expandafter\@gobblefour\string#3'
not defined}\@eha
\fi
\else
\@latex@error{Math version `\expandafter\@gobblefour\string#1'
is not
defined}{You probably mispelled the name of the math
version.^^JOr you have to specify an additional package.}%
\fi
}
\makeatother
\usepackage{fourier}
\begin{document}
Some text
\end{document}
It looks not very serious I think.
Jean-Côme Charpentier
> [a complicated macro definition]
> It looks not very serious I think.
Instead, try
\makeatletter
\let\@font@info\@gobble
\let\@font@warning\@gobble
\makeatother
in the document preamble.
HTH
Walter
actually, i would be inclined to have:
\makeatletter
\let\my@@font@warning\@font@warning
\let\@font@warning\@font@info
\makeatother
%
\usepackage{fourier}
%
\makeatletter
\let\@font@warning\my@@font@warning
\makeatother
it's just possible that something _significant_ might be missed,
later, by leaving the warning in its mostly-silent state.
otoh, i think this example makes one wonder whether the operation in
question _ought_ to be info rather than warning. of course, it's not
going to change in current latex, but worth thinking about for the
future.
--
Robin Fairbairns, Cambridge
> Walter Schmidt <w.a.s...@fantasymail.de> writes:
>>
>> \makeatletter
>> \let\@font@info\@gobble
>> \let\@font@warning\@gobble
>> \makeatother
>>
>> in the document preamble.
>
> actually, i would be inclined to have:
>
> \makeatletter
> \let\my@@font@warning\@font@warning
> \let\@font@warning\@font@info
> \makeatother
> %
> \usepackage{fourier}
> %
> \makeatletter
> \let\@font@warning\my@@font@warning
> \makeatother
>
> it's just possible that something _significant_ might be missed,
> later, by leaving the warning in its mostly-silent state.
>
Thanks, Walter & Robin, that worked perfectly.
Erik