Seite 1 von 2

uspackage {graphix} funktioniert nicht

Verfasst: Mi 1. Dez 2010, 13:54
von Werwolf
Hallo Leute,

ich nutze derzeitig TeXnicCenter auf Win 7 und wollte nun zum ersten mal in meinem Leben Bilder einfügen. Jedoch wird kein neues pdf erstellt, wenn ich graphix einfüge. Was kann da falsch sein?

hier mal ein Ausschnitt:
\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage{enumitem} 
\usepackage{graphicx}

%Kopf- und Fußzeile
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}

%Kopfzeile links bzw. innen
\fancyhead[L]{Eric Hahn}
%Kopfzeile mittig
\fancyhead[C]{\nouppercase{\leftmark}}
%Kopfzeile rechts bzw. außen
\fancyhead[R]{\today}
%Linie oben
\renewcommand{\headrulewidth}{0.5pt}

%Fußzeile rechts bzw. außen
\fancyfoot[R]{Seite \thepage}
%Linie unten
\renewcommand{\footrulewidth}{0.5pt}

\begin{document}
...
Latex Ergebnis nach Erstellen: 0 Fehler 0 Warnungen 0 volle/leere Boxen und 0 Seiten.

Wäre cool wenn mir da jemand helfen könnte.

Verfasst: Mi 1. Dez 2010, 14:01
von bloodworks
Hallo du musst ein \end{document} und einen Inhalt dazwischen schrieben. Ohne gehts nicht. Du solltest ein Minimalbeispiel machen. Und zudem noch sagen, welches System du verwendest (pdflatex, latex etc... )

Verfasst: Mi 1. Dez 2010, 14:06
von Sepp99
Versuche einmal dieses Minibeispiel:
\listfiles

\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[demo]{graphicx}

\begin{document}
\begin{figure}[ht]
\centering
	\includegraphics[width=0.5\textwidth]{demo} 
\end{figure}
\end{document}
Sepp.-

Verfasst: Mi 1. Dez 2010, 14:25
von Werwolf
Hab dein Beispiel gerade probiert und es gibt das gleiche Problem. Es wird kein neues PDF erzeugt. Keine Fehler Warnungen Boxen und kein PDF. Ohne das Packet graphix gehts aber.

System ist protext,miktex 2.8,TeXnicCenter.
\listfiles

\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
%\usepackage[demo]{graphicx}

\begin{document}
\begin{figure}[ht]
\centering
   %\includegraphics[width=0.5\textwidth]{demo}
   
\end{figure}
bla
\end{document} 
Edit: Paket ist vorhanden

Verfasst: Mi 1. Dez 2010, 14:28
von Sepp99
Dann solltest Du das Log-file von meinem Beispiel posten.
Sepp.-

Verfasst: Mi 1. Dez 2010, 14:34
von Werwolf
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded format=pdflatex 2010.12.1) 1 DEC 2010 14:34
entering extended mode
**C:/Users/admin/Desktop/neu/test/test.tex
(C:/Users/admin/Desktop/neu/test/test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, german, ngerman, german-x-2009-06-19, ngerm
an-x-2009-06-19, french, loaded.
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\size10.clo"
File: size10.clo 2007/10/19 v1.4h 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
)
("C:\Program Files (x86)\MiKTeX 2.8\tex\generic\babel\babel.sty"
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files (x86)\MiKTeX 2.8\tex\generic\babel\ngermanb.ldf"
Language: ngermanb 2008/07/06 v2.6n new German support from the babel system

("C:\Program Files (x86)\MiKTeX 2.8\tex\generic\babel\babel.def"
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
\l@naustrian = a dialect from \language\l@ngerman
Package babel Info: Making " an active character on input line 92.
))
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\inputenc.sty"
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\latin1.def"
File: latin1.def 2008/03/30 v1.1d Input encoding file
))
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
)
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 91.

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\pdftex-def\pdftex.def"
File: pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
\Gread@gobject=\count88
))
\Gin@req@height=\dimen104
\Gin@req@width=\dimen105
) (C:\Users\admin\Desktop\neu\test\test.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.

Verfasst: Mi 1. Dez 2010, 16:19
von Sepp99
Bricht das log-file wirklich hier ab? Hier fehlt ja die ganze Datei-Liste.
Sepp.-

Verfasst: Mi 1. Dez 2010, 16:43
von Werwolf
Ja, das ist das ganze Log-File. Habs nochmal gelöscht und neu erstellen lassen. Es kommt das Gleiche raus.

Verfasst: Mi 1. Dez 2010, 18:43
von Sepp99
Versuche einmal, alle Hilfsdateien zu löschen (alles außer *.tex, *.tcp, *.bib und Deine Grafikdateien). Kompiliere dann mit LaTeX->PDF.
Wenn das auch nichts hilft, versuche von der Konsole zu kompilieren.
Welchen Viewer verwendest Du? Es gibt so viele Möglichkeiten, wo der Wurm drin stecken könnte.

Sepp.-

Verfasst: Mi 1. Dez 2010, 19:39
von Werwolf
Dateien löschen hat nichts geändert. Wie kompiliert man denn von der Konsole? Also wenn ein PDF erstellt wird, dann wird Adobe PDF Reader gestartet.