[Tex/LaTex] Compilation problem fontenc-Latex

compilingfont-encodings

When i compile with LaTex the file

\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
Test
\end{document}

i'v got this message error in the log file :

LOG FILE :
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex 2019.5.6) 16 FEB 2020 12:58
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**Test.tex
(./Test.tex
LaTeX2e <2018-12-01>
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2020/02/11 v2.0o Standard LaTeX package
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2020/02/11 v2.0o Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 48.
)
! Undefined control sequence.
l.115 \xdef\@fontenc@load@list{\@fontenc@load@list
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2018/08/11 v1.3c Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
) (./Test.aux
Package babel Warning: Unknown language `french'. Very likely you
(babel) requested it in a previous run. Expect some
(babel) wrong results in this run, which should vanish
(babel) in the next one. Reported on input line 7.
)
\openout1 = `Test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
[1
] (./Test.aux) )
Here is how much of TeX's memory you used:
446 strings out of 492617
4272 string characters out of 6129493
60801 words of memory out of 5000000
4442 multiletter control sequences out of 15000+600000
4702 words of font info for 16 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
22i,4n,19p,145b,113s stack positions out of 5000i,500n,10000p,200000b,80000s
Output written on Test.dvi (1 page, 228 bytes).

The compilation with pdfLaTeX works fine.

Thanks for your help.

Best Answer

It seems that while you have the latest sources (from tlmgr update) the format files were not rebuilt using those sources.

fmtutil-sys --all

will rebuild the format files in texlive.

Related Question