Nach OS-Update können jpgs nicht mehr eingebunden werden

Tabellen und Grafiken erstellen und anordnen


Aaron Pierce
Forum-Anfänger
Forum-Anfänger
Beiträge: 32
Registriert: Mo 2. Apr 2012, 01:44

Nach OS-Update können jpgs nicht mehr eingebunden werden

Beitrag von Aaron Pierce »

Hallo,

nachdem ich heute einige Updates unter Ubuntu eingespielt habe, kann ich in Latex (Kile) plötzlich keine jpg-Dateien mehr einbinden. Vor dem Update hat noch alles funktioniert. Hier ein Beispiel:
\documentclass[a4paper,10pt, DIV11]{scrartcl}
\usepackage[utf8x]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx}

%opening
\title{Titel}
\author{xxx}

\begin{document}
\thispagestyle{empty}
\maketitle
\tableofcontents
\thispagestyle{empty}
\clearpage

\begin{figure}[h!] % Bild genau an dieser Stelle im Text
\centering
  \includegraphics[height=0.3\textheight]{Bild.jpg}
\end{figure}
\section*{x}
\addcontentsline{toc}{subsection}{\large x}
\begin{description}{}{}
 \item x
\end{description}
x
\clearpage

\end{document}
Wenn ich diese Code kompilieren will, bekomme ich unter anderem folgende Ausgabe:
Package typearea Warning: Bad type area settings!
(typearea)                The detected line width is about 21%
(typearea)                larger than the heuristically detected line width.
(typearea)                You should e.g. decrease DIV, increase fontsize
(typearea)                or change papersize.

Benutzeravatar
Johannes_B
Moderator
Moderator
Beiträge: 5079
Registriert: Do 1. Nov 2012, 14:55
Kontaktdaten:

Beitrag von Johannes_B »

Bilduploads sind momentan leider nicht möglich, poste lieber den Anfang der log-Datei inklusive dem wichtigen Teil mit den Fehlermeldungen.

Du kompilierst aber mit pdflatex, statt nur latex?

typearea hat nichts mit Bildern zu tun. Lass bei der gelegenheit auch gleich die Dateiendung beim Dateinamen deiner Dateien weg.
TeXwelt - Fragen und Antworten Schaut vorbei und stellt Fragen.
LaTeX-Vorlagen?

Der Weg zum Ziel: Ruhe bewahren und durchatmen, Beiträge und unterstützende Links aufmerksam lesen, Lösungsansätze verstehen und ggf. nachfragen.

Aaron Pierce
Forum-Anfänger
Forum-Anfänger
Beiträge: 32
Registriert: Mo 2. Apr 2012, 01:44

Beitrag von Aaron Pierce »

Ok, ich wollte auch gar kein Bild hochladen. Ich kopiere unten jetzt einfach mal die ganze log-Datei rein.

Ich kompiliere mit "pdflatex".

Wenn ich die Dateiendung weglasse, hatte ich irgendwann schon mal Probleme. Aber ich werde es nochmal testen.

Hier also die log-Datei:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=latex 2013.8.11)  25 NOV 2013 19:53
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**test
(./test
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, et
hiopic, farsi, arabic, pinyin, croatian, bulgarian, ukrainian, russian, slovak,
 czech, danish, dutch, usenglishmax, ukenglish, finnish, french, basque, ngerma
n, german, swissgerman, ngerman-x-2012-05-30, german-x-2012-05-30, monogreek, g
reek, ibycus, ancientgreek, hungarian, bengali, tamil, hindi, telugu, gujarati,
 sanskrit, malayalam, kannada, assamese, marathi, oriya, panjabi, italian, lati
n, latvian, lithuanian, mongolian, mongolianlmc, nynorsk, bokmal, indonesian, e
speranto, coptic, welsh, irish, interlingua, serbian, serbianc, slovenian, friu
lan, romansh, estonian, romanian, armenian, uppersorbian, turkish, afrikaans, i
celandic, kurmanji, polish, portuguese, galician, catalan, spanish, swedish, th
ai, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2012/05/15 v3.11 KOMA-Script document class (article)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2012/05/15 v3.11 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)

(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2012/05/15 v3.11 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2011/03/09 v3.09 KOMA-Script package (loading files)

Package scrlfile, 2011/03/09 v3.09 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

))) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2012/04/04 v3.10b KOMA-Script package (handling toc-files)
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic)             because of feature `nobabel' available
(tocbasic)             for `toc' on input line 115.
Package tocbasic Info: omitting babel extension for `lof'
(tocbasic)             because of feature `nobabel' available
(tocbasic)             for `lof' on input line 116.
Package tocbasic Info: omitting babel extension for `lot'
(tocbasic)             because of feature `nobabel' available
(tocbasic)             for `lot' on input line 117.
Package scrartcl Info: You've used obsolete option `10pt'.
(scrartcl)             \KOMAExecuteOptions{fontsize=10pt} will be
(scrartcl)             used instead.
(scrartcl)             You may simply replace `10pt'
(scrartcl)             by `fontsize=10pt'.
Class scrartcl Info: File `scrsize10pt.clo' used to setup font sizes on input l
ine 1265.

(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize10pt.clo
File: scrsize10pt.clo 2012/05/15 v3.11 KOMA-Script font size class option (10pt
)
)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2012/05/15 v3.11 KOMA-Script package (type area)

Package typearea, 2012/05/15 v3.11 KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-

\ta@bcor=\skip41
\ta@div=\count79
Package typearea Info: You've used standard option `a4paper'.
(typearea)             This is correct!
(typearea)             Internally I'm using `paper=a4'.
(typearea)             If you'd like to set the option with \KOMAoptions,
(typearea)             you'd have to use `paper=a4' there
(typearea)             instead of `a4paper', too.
\ta@hblk=\skip42
\ta@vblk=\skip43
\ta@temp=\skip44

Package typearea Warning: Bad type area settings!
(typearea)                The detected line width is about 21%
(typearea)                larger than the heuristically detected line width.
(typearea)                You should e.g. decrease DIV, increase fontsize
(typearea)                or change papersize.

Package typearea Info: These are the values describing the layout:
(typearea)             DIV  = 11
(typearea)             BCOR = 0.0pt
(typearea)             \paperwidth      = 597.50793pt
(typearea)              \textwidth      = 434.55125pt
(typearea)              DIV departure   = -21%
(typearea)              \evensidemargin = 9.20834pt
(typearea)              \oddsidemargin  = 9.20834pt
(typearea)             \paperheight     = 845.04694pt
(typearea)              \textheight     = 622.0pt
(typearea)              \topmargin      = -28.44754pt
(typearea)              \headheight     = 15.0pt
(typearea)              \headsep        = 18.0pt
(typearea)              \topskip        = 10.0pt
(typearea)              \footskip       = 42.0pt
(typearea)              \baselineskip   = 12.0pt
(typearea)              on input line 1211.
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\c@pti@nb@sid@b@x=\box26
\c@figure=\count86
\c@table=\count87
\bibindent=\dimen102
) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks15
\inpenc@posthook=\toks16

(/usr/share/texlive/texmf-dist/tex/latex/ucs/utf8x.def
File: utf8x.def 2004/10/17 UCS: Input encoding UTF-8
))
(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucs.sty
Package: ucs 2004/10/17 UCS: Unicode input support

(/usr/share/texlive/texmf-dist/tex/latex/ucs/data/uni-global.def
File: uni-global.def 2012/04/20 UCS: Unicode global data
)
\uc@secondtry=\count88
\uc@combtoks=\toks17
\uc@combtoksb=\toks18
\uc@temptokena=\toks19
)
(/var/lib/texmf/tex/generic/babel/babel.sty
Package: babel 2008/07/08 v3.8m The Babel package

(/usr/share/texlive/texmf-dist/tex/generic/babel/ngermanb.ldf
Language: ngermanb 2008/07/06 v2.6n new German support from the babel system

(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2008/07/08 v3.8m Babel common definitions
\babel@savecnt=\count89
\U@D=\dimen103
)
\l@naustrian = a dialect from \language\l@ngerman 
Package babel Info: Making " an active character on input line 92.
))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/share/texlive/texmf-dist/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.
))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: dvips.def on input line 91.

(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin@req@height=\dimen104
\Gin@req@width=\dimen105
) (./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.

(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucsencs.def
File: ucsencs.def 2011/01/21 Fixes to fontencodings LGR, T3
)
LaTeX Font Info:    Try loading font information for T1+cmss on input line 14.

(/usr/share/texlive/texmf-dist/tex/latex/base/t1cmss.fd
File: t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <14.4> on input line 14.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 14.
 (./test.toc
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 2.
)
\tf@toc=\write3
\openout3 = `test.toc'.

 [1


]

! LaTeX Error: Cannot determine size of graphic in Bild.jpg (no BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.20 ...egraphics[height=0.3\textheight]{Bild.jpg}
                                                  
Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

File: Bild.jpg Graphic file (type eps)
<Bild.jpg> [2

] (./test.aux) ) 
Here is how much of TeX's memory you used:
 2425 strings out of 493486
 35349 string characters out of 3143549
 118594 words of memory out of 3000000
 5733 multiletter control sequences out of 15000+200000
 9914 words of font info for 24 fonts, out of 3000000 for 9000
 957 hyphenation exceptions out of 8191
 38i,6n,47p,874b,267s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on test.dvi (2 pages, 1020 bytes).

Aaron Pierce
Forum-Anfänger
Forum-Anfänger
Beiträge: 32
Registriert: Mo 2. Apr 2012, 01:44

Beitrag von Aaron Pierce »

Plötzlich tritt der Fehler nicht mehr auf. Komisch. Der trat die ganze Zeit (>10 mal) auf und jetzt plötzlich nicht mehr, ohne, dass ich irgendwas geändert hätte.

Benutzeravatar
u_fischer
Forum-Meister
Forum-Meister
Beiträge: 4300
Registriert: Do 22. Nov 2012, 11:09
Kontaktdaten:

Beitrag von u_fischer »

Output written on test.dvi (2 pages, 1020 bytes).
Du hast dvi (und nicht pdf) erzeugt, dass heißt nicht pdflatex aufgerufen, sondern latex (oder \pdfoutput irgendwo verstellt). Mit dvi-ouput funktioniert jpg nicht.

Aaron Pierce
Forum-Anfänger
Forum-Anfänger
Beiträge: 32
Registriert: Mo 2. Apr 2012, 01:44

Beitrag von Aaron Pierce »

Danke für den Hinweise. Ich war allerdings fast sicher, das richtige benutzt zu haben. Jetzt funktioniert es auf jeden Fall wieder.

Antworten