I am new to latex and need som assistance. I am trying to compile a .tex
file with pdflatex and can not do it, but it is possible to compile the
same file with latex.It is this preabamble that is the problem:
\documentclass[a4paper,titlepage]{article}
\usepackage[swedish]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{verbatim}
But I don't know why, if a remove [T1]{fontenc} it works. But the book I
am reading strongly recommends the use of [T1]{fontenc}. This is what my
.log looks like after an unsuccessful compile:
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (format=pdflatex
2003.12.4) 27 APR 2004 11:17
**mall.tex
(./mall.tex{/usr/local/teTeX/share/texmf/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, s
wedish, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/local/teTeX/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/teTeX/share/texmf/tex/latex/base/fontenc.sty
Package: fontenc 2001/06/05 v1.94 Standard LaTeX package
(/usr/local/teTeX/share/texmf/tex/latex/base/t1enc.def
File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 38.
))
(/usr/local/teTeX/share/texmf/tex/generic/babel/babel.sty
Package: babel 2001/03/01 v3.7h The Babel package
(/usr/local/teTeX/share/texmf/tex/generic/babel/swedish.ldf
Language: swedish 2001/03/12 v2.3c Swedish support from the babel system
(/usr/local/teTeX/share/texmf/tex/generic/babel/babel.def
File: babel.def 2001/03/01 v3.7h Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
Package babel Info: Making " an active character on input line 71.
))
(/usr/local/teTeX/share/texmf/tex/latex/tools/verbatim.sty
Package: verbatim 2001/03/12 v1.5p LaTeX2e package for verbatim enhancements
\every@verbatim=\toks14
\verbatim@line=\toks15
\verbatim@in@stream=\read1
) (./mall.aux)
\openout1 = `mall.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 16.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 16.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 16.
[1
{/usr/local/teTeX/share/texmf/dvips/config/pdftex.map}] (./mall.toc
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 7.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 7.
)
\tf@toc=\write3
\openout3 = `mall.toc'.
[1]
LaTeX Font Info: Try loading font information for T1+cmtt on input
line 37.
(/usr/local/teTeX/share/texmf/tex/latex/base/t1cmtt.fd
File: t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions
) [2] [3]
File: ../queue.h (verbatim)
[4]
Overfull \hbox (101.14105pt too wide) in paragraph at lines 91--91
[] /ectt1000/Node *add = new Node( d ); // skapar konstruktorn i Node
en egen
ver. av d... fraga[]
[]
[5]
File: ../queue.cpp (verbatim)
[6] [7] (./mall.aux) )
Here is how much of TeX's memory you used:
838 strings out of 95433
9228 string characters out of 1189358
58134 words of memory out of 1000001
3875 multiletter control sequences out of 10000+50000
12844 words of font info for 32 fonts, out of 500000 for 1000
14 hyphenation exceptions out of 1000
24i,6n,24p,470b,311s stack positions out of 1500i,500n,5000p,200000b,5000s
34 PDF objects out of 300000
0 named destinations out of 131072
0 words of extra memory for PDF output out of 65536
Warning: pdflatex (file ecbx1200): Font ecbx1200 at 600 not found
Warning: pdflatex (file ectt1000): Font ectt1000 at 600 not found
Warning: pdflatex (file ecrm1000): Font ecrm1000 at 600 not found
Warning: pdflatex (file ecbx1000): Font ecbx1000 at 600 not found
Warning: pdflatex (file ecbx1440): Font ecbx1440 at 600 not found
Warning: pdflatex (file ecrm1200): Font ecrm1200 at 600 not found
Warning: pdflatex (file ecrm0900): Font ecrm0900 at 600 not found
Warning: pdflatex (file ecrm1728): Font ecrm1728 at 600 not found
Output written on mall.pdf (8 pages, 7470 bytes).
> Hello
>
> I am new to latex and need som assistance. I am trying to compile a .tex
> file with pdflatex and can not do it, but it is possible to compile the
> same file with latex.It is this preabamble that is the problem:
>
> \documentclass[a4paper,titlepage]{article}
> \usepackage[swedish]{babel}
> \usepackage[T1]{fontenc}
> \usepackage[latin1]{inputenc}
> \usepackage{verbatim}
>
> But I don't know why, if a remove [T1]{fontenc} it works. But the book I
> am reading strongly recommends the use of [T1]{fontenc}. This is what my
> .log looks like after an unsuccessful compile:
>
>
>
> This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (format=pdflatex
> 2003.12.4) 27 APR 2004 11:17
> **mall.tex
> (./mall.tex{/usr/local/teTeX/share/texmf/pdftex/config/pdftex.cfg}
> [SNIP]
> Warning: pdflatex (file ecbx1200): Font ecbx1200 at 600 not found
>
> Warning: pdflatex (file ectt1000): Font ectt1000 at 600 not found
>
> Warning: pdflatex (file ecrm1000): Font ecrm1000 at 600 not found
>
> Warning: pdflatex (file ecbx1000): Font ecbx1000 at 600 not found
>
> Warning: pdflatex (file ecbx1440): Font ecbx1440 at 600 not found
>
> Warning: pdflatex (file ecrm1200): Font ecrm1200 at 600 not found
>
> Warning: pdflatex (file ecrm0900): Font ecrm0900 at 600 not found
>
> Warning: pdflatex (file ecrm1728): Font ecrm1728 at 600 not found
> Output written on mall.pdf (8 pages, 7470 bytes).
Your TeX installation is probably broken, since pdflatex should
be able to produce at least the fonts it needs (and you are saying
that LaTeX can produce them). It might be a problem of paths: there
should be a "missfont.log" file along with the pdflatex log file.
Moreover you should get also some messages during the pdflatex run.
Try to install the "cm-super" fonts, they are necessary anyway to
give you good type 1 rendering of the EC fonts used with the
T1 font encoding.
Ciao
Enrico
Does dvips work? Does pdflatex work if you first compile with latex and
generate a .ps file using dvips and then run pdflatex. In some TeX
distributions, dvips is configured to generate missing fonts but pdflatex
isn't. Try adding "MKTEXPK = 1" to your texmf.cnf file (or whatever
equivalent your TeX distribution uses).
-- Scott