superflused
02-01-2008, 18:38
Hallo zusammen,
ich bin neu im Thema Latex und habe ein Problem mit UTF8. Ich möchte UTF8 sonderzeichen (z.b. Arabisch, usw.) darstellen, bekomme allerdings immer einen Compiler Fehler.
Mein Test-Tex sieht wie folgt aus:
\documentclass[a4paper,10pt]{scrartcl}[2008/01/02]
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\title{Test}
\author{Max Mustermännchen}
\date{\copyright\today}
%
% set font
\renewcommand\familydefault{phv}
\begin{document}
\maketitle
% Hier kommen die Sonderzeichen vor:
Text mit UTF-8 Sonderzeichen...
\end{document}
Aber der Compiler steigt immer mit der folgenden Log-Datei aus:
This is pdfeTeXk, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) (format=pdfetex 2007.11.19) 2 JAN 2008 16:56
entering extended mode
file:line:error style messages enabled.
**\nonstopmode \input /test/test.tex
(/test/test.tex
/test/test.tex:1
: Undefined control sequence.
l.1 \documentclass
[a4paper,10pt]{scrartcl}[2008/01/02]
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.
/test/test.tex:2
: Undefined control sequence.
l.2 \usepackage
[T1]{fontenc}
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.
/test/test.tex:3
: Undefined control sequence.
l.3 \usepackage
[utf8]{inputenc}
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.
/test/test.tex:4
: Undefined control sequence.
l.4 \title
{Beispiel für ein einfaches \LaTeX-Dokument}
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.
Missing character: There is no ü in font cmr10!
/test/test.tex:4
: Undefined control sequence.
l.4 \title{Beispiel für ein einfaches \LaTeX
-Dokument}
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.
/test/test.tex:5
: Undefined control sequence.
l.5 \author
{Max Mustermännchen}
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.
Missing character: There is no ä in font cmr10!
/test/test.tex:6
: Undefined control sequence.
l.6 \date
{\copyright\today}
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.
/test/test.tex:6
: Undefined control sequence.
l.6 \date{\copyright\today
}
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.
/test/test.tex:9
: Undefined control sequence.
l.9 \renewcommand
\familydefault{phv}
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.
/test/test.tex:9
: Undefined control sequence.
l.9 \renewcommand\familydefault
{phv}
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.
/test/test.tex:1
0: Undefined control sequence.
l.10 \begin
{document}
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.
/test/test.tex:1
1: Undefined control sequence.
l.11 \maketitle
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.
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] )</usr/share/texmf-texli
ve/fonts/type1/bluesky/cm/cmsy10.pfb></usr/share/texmf-texlive/fonts/type1/blue
sky/cm/cmr10.pfb>
Output written on test.pdf (1 page, 12385 bytes).
Die Datei ist in UTF8 codiert.
Hat jemand eine Idee warum das schiefläuft?
Bin für jeden Rat dankbar.
Viele Grüße,
André
ich bin neu im Thema Latex und habe ein Problem mit UTF8. Ich möchte UTF8 sonderzeichen (z.b. Arabisch, usw.) darstellen, bekomme allerdings immer einen Compiler Fehler.
Mein Test-Tex sieht wie folgt aus:
\documentclass[a4paper,10pt]{scrartcl}[2008/01/02]
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\title{Test}
\author{Max Mustermännchen}
\date{\copyright\today}
%
% set font
\renewcommand\familydefault{phv}
\begin{document}
\maketitle
% Hier kommen die Sonderzeichen vor:
Text mit UTF-8 Sonderzeichen...
\end{document}
Aber der Compiler steigt immer mit der folgenden Log-Datei aus:
This is pdfeTeXk, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) (format=pdfetex 2007.11.19) 2 JAN 2008 16:56
entering extended mode
file:line:error style messages enabled.
**\nonstopmode \input /test/test.tex
(/test/test.tex
/test/test.tex:1
: Undefined control sequence.
l.1 \documentclass
[a4paper,10pt]{scrartcl}[2008/01/02]
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.
/test/test.tex:2
: Undefined control sequence.
l.2 \usepackage
[T1]{fontenc}
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.
/test/test.tex:3
: Undefined control sequence.
l.3 \usepackage
[utf8]{inputenc}
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.
/test/test.tex:4
: Undefined control sequence.
l.4 \title
{Beispiel für ein einfaches \LaTeX-Dokument}
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.
Missing character: There is no ü in font cmr10!
/test/test.tex:4
: Undefined control sequence.
l.4 \title{Beispiel für ein einfaches \LaTeX
-Dokument}
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.
/test/test.tex:5
: Undefined control sequence.
l.5 \author
{Max Mustermännchen}
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.
Missing character: There is no ä in font cmr10!
/test/test.tex:6
: Undefined control sequence.
l.6 \date
{\copyright\today}
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.
/test/test.tex:6
: Undefined control sequence.
l.6 \date{\copyright\today
}
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.
/test/test.tex:9
: Undefined control sequence.
l.9 \renewcommand
\familydefault{phv}
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.
/test/test.tex:9
: Undefined control sequence.
l.9 \renewcommand\familydefault
{phv}
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.
/test/test.tex:1
0: Undefined control sequence.
l.10 \begin
{document}
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.
/test/test.tex:1
1: Undefined control sequence.
l.11 \maketitle
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.
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] )</usr/share/texmf-texli
ve/fonts/type1/bluesky/cm/cmsy10.pfb></usr/share/texmf-texlive/fonts/type1/blue
sky/cm/cmr10.pfb>
Output written on test.pdf (1 page, 12385 bytes).
Die Datei ist in UTF8 codiert.
Hat jemand eine Idee warum das schiefläuft?
Bin für jeden Rat dankbar.
Viele Grüße,
André