Discussion:
[MiKTeX] Font problem
Dmitri Ulyinov
2006-06-07 13:18:19 UTC
Permalink
Hello everyone,

I am currently using MikTeX 2.5 Beta 8, and can't seem to get some very simple fonts to work. My document goes like this:
\documentclass[a4paper, 12pt]{assignment}\usepackage{amsmath}\usepackage{graphicx}
\coursetitle{}\courselabel{}\exercisesheet{\textsc{Assignment}}{}\student{}\semester{Semester 1, 2006}\date{\today}
\begin{document}%Insert text
\end{document}
Unfortunately when I compile I get the following error message:

This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5 Beta 8) (preloaded format=pdflatex 2006.6.7) 7 JUN 2006 22:39entering extended mode
...
LaTeX Font Warning: Font shape `OT1/cmss/m/it' in size <12> not available(Font) Font shape `OT1/cmss/m/sl' tried instead on input line 18.
LaTeX Font Warning: Font shape `OT1/cmr/bx/sc' undefined(Font) using `OT1/cmr/bx/n' instead on input line 18.

This makes no sense - they must be there? I checked the .fd file, and they're there! I tried refreshing the format files, but no luck unfortunately.

Any ideas/advice would be greatly appreciated,

Dmitri ulyinov,
Sydney, Australia

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Cornelius C. Noack
2006-06-07 14:55:46 UTC
Permalink
Post by Dmitri Ulyinov
Hello everyone,
\documentclass[a4paper, 12pt]{assignment}\usepackage{amsmath}\usepackage{graphicx}
\coursetitle{}\courselabel{}\exercisesheet{\textsc{Assignment}}{}\student{}\semester{Semester 1, 2006}\date{\today}
\begin{document}%Insert text
\end{document}
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5 Beta 8) (preloaded format=pdflatex 2006.6.7) 7 JUN 2006 22:39entering extended mode
...
LaTeX Font Warning: Font shape `OT1/cmss/m/it' in size <12> not available(Font) Font shape `OT1/cmss/m/sl' tried instead on input line 18.
LaTeX Font Warning: Font shape `OT1/cmr/bx/sc' undefined(Font) using `OT1/cmr/bx/n' instead on input line 18.
This makes no sense - they must be there? I checked the .fd file, and they're there! I tried refreshing the format files, but no luck unfortunately.
Any ideas/advice would be greatly appreciated,
I have never seen documentclass{assignment} -- it looks like this is a
local class (possibly used generally in your institution?) The fact that
you get theses errors even with no real contents strongly suggests to me
that the fault is with that class file.

My suggestion is to ask someone who is familiar with the class file.

On the other hand, if you have a nontrivial sample using that class that
worked previously with your former MiKTeX version, but not with your
present one, the simplest solution might be to return to that former
version
:-( --> :-) !!

(this is obviously no real help, but for what its worth here it is ... )

ccn.
.................................................................

Prof.Dr. Cornelius C. Noack Phones:
Inst. f. Theor. Physik FB 1 office : +49 (421) 218-2427
Universit"at Bremen secretary: -2422
Otto-Hahn-Allee Fax : -4869
D - 28334 Bremen home : +49 (421) 34 22 36
Fax: 346 7872
E-mail: noack at itp.uni-bremen.de or ccnoack at mailaps.org
WWW-page: www.itp.uni-bremen.de/~noack
.................................................................
Dmitri Ulyinov
2006-06-07 15:07:21 UTC
Permalink
The assignment class is in the "assignment" package from CTAN. Thanks very much, the fault does lie in the package's class file. What it is I have no idea, but I was getting nervous there!

Thanks again,

Dmitri
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Martin Schröder
2006-06-07 13:45:44 UTC
Permalink
Post by Dmitri Ulyinov
LaTeX Font Warning: Font shape `OT1/cmss/m/it' in size <12> not available
(Font) Font shape `OT1/cmss/m/sl' tried instead on input line
18.
These are not errors, but warnings.

[...]
Post by Dmitri Ulyinov
This makes no sense - they must be there? I checked the .fd file, and
No. Please show us a Computer Modern sans serif italic 12pt and a
Computer Modern bold extended small caps font.
Post by Dmitri Ulyinov
Any ideas/advice would be greatly appreciated,
Calm down and accept the fact that not all combinations of fonts exist.

Best
Martin
Alain Delmotte
2006-06-11 07:50:29 UTC
Permalink
Hello,

If you specify nothing for font encoding, (La)TeX automatically uses the
Computer Modern fonts and,
as said by Martin, not all combinations exists.

But you could use the T1 coding (not OT1) through
\usepackage[T1]{fontenc}

and if you plan to create PS or PDF document, use
\usepackage{lmodern}

Regards,

Alain Delmotte
Post by Dmitri Ulyinov
Hello everyone,
I am currently using MikTeX 2.5 Beta 8, and can't seem to get some
\documentclass[a4paper, 12pt]{assignment}
\usepackage{amsmath}
\usepackage{graphicx}
\coursetitle{}
\courselabel{}
\exercisesheet{\textsc{Assignment}}{}
\student{}
\semester{Semester 1, 2006}
\date{\today}
\begin{document}
%Insert text
\end{document}
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5 Beta 8)
(preloaded format=pdflatex 2006.6.7) 7 JUN 2006 22:39
entering extended mode
...
LaTeX Font Warning: Font shape `OT1/cmss/m/it' in size <12> not available
(Font) Font shape `OT1/cmss/m/sl' tried instead on input
line 18.
LaTeX Font Warning: Font shape `OT1/cmr/bx/sc' undefined
(Font) using `OT1/cmr/bx/n' instead on input line 18.
This makes no sense - they must be there? I checked the .fd file, and
they're there! I tried refreshing the format files, but no luck
unfortunately.
Any ideas/advice would be greatly appreciated,
Dmitri ulyinov,
Sydney, Australia
Express yourself instantly with MSN Messenger! MSN Messenger
<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
------------------------------------------------------------------------
_______________________________________________
MiKTeX-Users mailing list
https://lists.sourceforge.net/lists/listinfo/miktex-users
Alan G Isaac
2006-06-22 22:31:00 UTC
Permalink
Post by Alain Delmotte
you could use the T1 coding (not OT1) through
\usepackage[T1]{fontenc}
and if you plan to create PS or PDF document, use
\usepackage{lmodern}
Could you please elaborate on this?
I use a standard MiKTeX setup.
The only package I use that seems likely to affect font
availability is
\usepackage{amsmath,amsfonts,amssymb}
I produce my PDFs with dvipdfm.
The resulting PDFs clearly use vector fonts
(mostly type 1, a couple type 3).

Is the idea that if I go *outside* of the CM font
set that I'll need the lmodern package? Does the
package offer anything to me if I generally stick to
American English (plus math) in my writing?

Thank you,
Alan Isaac
Alain Delmotte
2006-06-26 07:24:11 UTC
Permalink
Hi,
Post by Alan G Isaac
Post by Alain Delmotte
you could use the T1 coding (not OT1) through
\usepackage[T1]{fontenc}
and if you plan to create PS or PDF document, use
\usepackage{lmodern}
Could you please elaborate on this?
I use a standard MiKTeX setup.
The only package I use that seems likely to affect font
availability is
\usepackage{amsmath,amsfonts,amssymb}
I produce my PDFs with dvipdfm.
The resulting PDFs clearly use vector fonts
(mostly type 1, a couple type 3).
Which fonts are used, could you check?
CM fonts, from METAFONT, are raster fonts, the fonts for .ps and .pdf
are vectorial.

There has been many solutions to go from one to the other, and
taking into account laguages, and further use of the output (for
example to be able to search for a word in a pdf document).
Post by Alan G Isaac
Is the idea that if I go *outside* of the CM font
set that I'll need the lmodern package? Does the
package offer anything to me if I generally stick to
American English (plus math) in my writing?
Probably no, because the lmodern package has been created to avoid
"built" characters when you have accented characters like for the european
languages.

I was responding to the problem of font not existing under OT1.
For the moment, I think, the combinaison of T1 and lmodern is the easiest
to use.

The font system in LaTeX is quite complex and, I think, very few people
take
the time to understand it to elaborate a personal strategy of work.

If the system you use gives the reuslt you want, keep it; but do not
forget that
very often one doesn't see the small differences in fonts quality and
then the
overall quality of the text, which nevertheless are important.
(For example, outside fonts, have a look at the microtex system to see
how very
small details can change an otherwise satisfactory document)

Regards

Alain Delmotte
Alain Delmotte
2006-06-26 07:40:06 UTC
Permalink
Hi!

Sorry, in my previous answer I said "microtex", it should be
"microtype"

Alain Delmotte
Post by Alain Delmotte
you could use the T1 coding (not OT1) through
\usepackage[T1]{fontenc}
and if you plan to create PS or PDF document, use
\usepackage{lmodern}
Loading...