Re: [MiKTeX] Add cm-super as default package
MiKTeX source code moved to GitHub
Brought to you by:
csc
|
From: Ulrike F. <li...@ni...> - 2016-11-22 11:46:27
|
Am Tue, 22 Nov 2016 11:15:38 +0000 schrieb David Allsopp:
>> The example doesn't use T1-encoding and so doesn't need cm-super.
>> Add \usepackage[T1]{fontenc}. T1-encoding is needed for languages with
>> accents and umlaut, like french and german, so we also always need cm-
>> super.
> Ah, yes, I can see that now. But, in this instance, isn't the
> better course of action that the automatic installer could detect
> this combination and suggest it (i.e. rather than the error
> message from microtype, a hook just like the one which suggests
> installing microtype at \usepackage{microtype}?)
The automatic installer can not detect the need for cm-super. It can
detect missing files, but there is no tfm missing. Microtype can
imho do no much either. The error message is from the engine.
> Is it not the case that T1 is only *needed* if you also require
> hyphenation?
No. It e.g. affects also copy and paste. Try it out
\documentclass{article}
%\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\begin{document}
öäü
\end{document}
And OT1-encoding has some other curious side-effect:
\documentclass{article}
%\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\begin{document}
<a \texttt{£}
\end{document}
See
https://tex.stackexchange.com/questions/71517/do-i-need-fontenc-and-inputenc/
> My own mix of TeX (not LaTeX) documents using a
> non-Computer Modern T1-encoded font have plenty of Cyrillic,
> Greek and other accented Latin languages - including English with
> diaresis accents, etc. - and typeset just fine. Is there a case
> for saying that such a huge package should definitely part of the
> out-of-the-box (default) experience?
Imho T1 should be the default encoding, type1 fonts the default font
format. So either latex uses lmodern by default of cm-super should
be installed. Also I don't think that it matters much today -- some
years ago this was different - I always imported cm-super from older
miktex versions to save download time.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
|