eps Dateien einbinden

Tabellen und Grafiken erstellen und anordnen


chrislohjenn
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Do 8. Mär 2012, 12:18

eps Dateien einbinden

Beitrag von chrislohjenn »

Hallo,

ich arbeite mit eps-Dateien und die Einbindung hat immer funktioniert. Jetzt sehe ich allerdings nur noch Platzhalter. Ich habe meine Einstellungen auf ein Minimalbeispiel reduziert ohne den Fehler zu finden:

[code]
\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{graphicx}
\begin{document}


abc\includegraphics[width=0.9\textwidth]{xxx.eps}\\
\end{document}
[/code]


Also irgendetwas übersehe ich. Ich weiß nur nicht was und wäre für einen Hinweis dankbar.
Dateianhänge
xxx.eps
(299.38 KiB) 281-mal heruntergeladen

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

Beitrag von u_fischer »

Welches TeX-System? Welche Engine? Log-Datei? Terminaloutput?

chrislohjenn
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Do 8. Mär 2012, 12:18

Beitrag von chrislohjenn »

Aktuelles Mactex, ich nutze Xelatex.

Log:
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex 2018.2.6) 1 MAR 2018 11:23
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**Test.tex
(./Test.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 22 language(s) loaded.
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2017/09/07 v3.24 KOMA-Script document class (report)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2017/09/07 v3.24 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2017/09/07 v3.24 KOMA-Script package (KOMA-Script-independent
basics and keyval usage)

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2017/09/07 v3.24 KOMA-Script package (loading files)
)))
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2017/09/07 v3.24 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip41
\scr@dte@tocline@numbox=\box26
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 135.
Package tocbasic Info: omitting babel extension for `lof'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lof' on input line 137.
Package tocbasic Info: omitting babel extension for `lot'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lot' on input line 138.
Package tocbasic Info: defining new hook before heading of `' on input line 162
7.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt) file `scrsize11.clo' to setup font sizes on input line 229
3.

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2017/09/07 v3.24 KOMA-Script font size class option (11pt
)
) (/usr/local/texlive/2017basic/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2017/09/07 v3.24 KOMA-Script package (type area)
\ta@bcor=\skip42
\ta@div=\count79
\ta@hblk=\skip43
\ta@vblk=\skip44
\ta@temp=\skip45
\footheight=\skip46
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth = 597.50793pt
(typearea) \textwidth = 418.25555pt
(typearea) DIV departure = -6%
(typearea) \evensidemargin = 17.3562pt
(typearea) \oddsidemargin = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea) \textheight = 595.80026pt
(typearea) \topmargin = -25.16531pt
(typearea) \headheight = 17.0pt
(typearea) \headsep = 20.40001pt
(typearea) \topskip = 11.0pt
(typearea) \footskip = 47.6pt
(typearea) \baselineskip = 13.6pt
(typearea) on input line 1686.
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\scr@dte@part@maxnumwidth=\skip47
\scr@dte@chapter@maxnumwidth=\skip48
\scr@dte@section@maxnumwidth=\skip49
\scr@dte@subsection@maxnumwidth=\skip50
\scr@dte@subsubsection@maxnumwidth=\skip51
\scr@dte@paragraph@maxnumwidth=\skip52
\scr@dte@subparagraph@maxnumwidth=\skip53
LaTeX Info: Redefining \textsubscript on input line 4964.
\abovecaptionskip=\skip54
\belowcaptionskip=\skip55
\c@pti@nb@sid@b@x=\box27
\c@figure=\count87
\c@table=\count88
Class scrreprt Info: Redefining `\numberline' on input line 6130.
\bibindent=\dimen102
)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2015/03/17 v1.2c Input encoding file
\inpenc@prehook=\toks15
\inpenc@posthook=\toks16


Package inputenc Warning: inputenc package ignored with utf8 based engines.

) (/usr/local/texlive/2017basic/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2018/02/06 v6.86b Hypertext links for LaTeX

(/usr/local/texlive/2017basic/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.s
ty
Package: hobsub-hyperref 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)


(/usr/local/texlive/2017basic/texmf-dist/tex/generic/oberdiek/hobsub-generic.st
y
Package: hobsub-generic 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
Package: hobsub 2016/05/16 v1.14 Construct package bundles (HO)
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
Package: intcalc 2016/05/16 v1.2 Expandable calculations with integers (HO)
Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
Package: pdftexcmds 2018/01/21 v0.26 Utility functions of pdfTeX for LuaTeX (HO
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: pdfTeX >= 1.30 not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode not found.
Package: pdfescape 2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
Package: bigintcalc 2016/05/16 v1.4 Expandable calculations on big integers (HO
)
Package: bitset 2016/05/16 v1.2 Handle bit-vector datatype (HO)
Package: uniquecounter 2016/05/16 v1.3 Provide unlimited unique counter (HO)
)
Package hobsub Info: Skipping package `hobsub' (already loaded).
Package: letltxmacro 2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
Package: hopatch 2016/05/16 v1.3 Wrapper for package hooks (HO)
Package: xcolor-patch 2016/05/16 xcolor patch
Package: atveryend 2016/05/16 v1.9 Hooks at the very end of document (HO)
Package atveryend Info: \enddocument detected (standard20110627).
Package: atbegshi 2016/06/09 v1.18 At begin shipout hook (HO)
Package: refcount 2016/05/16 v3.5 Data extraction from label references (HO)
Package: hycolor 2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
) (/usr/local/texlive/2017basic/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/oberdiek/auxhook.sty
Package: auxhook 2016/05/16 v1.4 Hooks for auxiliary files (HO)
)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
)
\@linkdim=\dimen103
\Hy@linkcounter=\count89
\Hy@pagecounter=\count90

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2018/02/06 v6.86b Hyperref: PDFDocEncoding definition (HO)
)
\Hy@SavedSpaceFactor=\count91

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/latexconfig/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
Package hyperref Info: Hyper figures OFF on input line 4509.
Package hyperref Info: Link nesting OFF on input line 4514.
Package hyperref Info: Hyper index ON on input line 4517.
Package hyperref Info: Plain pages OFF on input line 4524.
Package hyperref Info: Backreferencing OFF on input line 4529.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4762.
\c@Hy@tempcnt=\count92

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip10
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 5115.
\XeTeXLinkMargin=\dimen104
\Fld@menulength=\count93
\Field@Width=\dimen105
\Fld@charsize=\dimen106
Package hyperref Info: Hyper figures OFF on input line 6369.
Package hyperref Info: Link nesting OFF on input line 6374.
Package hyperref Info: Hyper index ON on input line 6377.
Package hyperref Info: backreferencing OFF on input line 6384.
Package hyperref Info: Link coloring OFF on input line 6389.
Package hyperref Info: Link coloring with OCG OFF on input line 6394.
Package hyperref Info: PDF/A mode OFF on input line 6399.
LaTeX Info: Redefining \ref on input line 6439.
LaTeX Info: Redefining \pageref on input line 6443.
\Hy@abspage=\count94
\c@Item=\count95
\c@Hfootnote=\count96
)
Package hyperref Info: Driver (autodetected): hxetex.

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/hyperref/hxetex.def
File: hxetex.def 2018/02/06 v6.86b Hyperref driver for XeTeX

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/hyperref/puenc.def
File: puenc.def 2018/02/06 v6.86b Hyperref: PDF Unicode definition (HO)
)
(/usr/local/texlive/2017basic/texmf-dist/tex/generic/oberdiek/stringenc.sty
Package: stringenc 2016/05/16 v1.11 Convert strings between diff. encodings (HO
)
)
\pdfm@box=\box28
\c@Hy@AnnotLevel=\count97
\HyField@AnnotCount=\count98
\Fld@listcount=\count99
\c@bookmark@seq@number=\count100

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
Package rerunfilecheck Info: Feature \pdfmdfivesum is not available
(rerunfilecheck) (e.g. pdfTeX or LuaTeX with package `pdftexcmds').

(rerunfilecheck) Therefore file contents cannot be checked efficien
tly
(rerunfilecheck) and the loading of the package is aborted.
)
\Hy@SectionHShift=\skip56
) (/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR)

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: xetex.def on input line 99.

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics-def/xetex.def
File: xetex.def 2017/06/24 v5.0h Graphics/color driver for xetex
))
\Gin@req@height=\dimen107
\Gin@req@width=\dimen108
)
(./Test.aux)
\openout1 = `Test.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
\AtBeginShipoutBox=\box29
Package hyperref Info: Link coloring OFF on input line 5.

(/usr/local/texlive/2017basic/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section

(/usr/local/texlive/2017basic/texmf-dist/tex/generic/oberdiek/gettitlestring.st
y
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
\c@section@level=\count101
)
LaTeX Info: Redefining \ref on input line 5.
LaTeX Info: Redefining \pageref on input line 5.
LaTeX Info: Redefining \nameref on input line 5.
(./Test.out) (./Test.out)
\@outlinefile=\write3
\openout3 = `Test.out'.



Package hyperref Warning: Rerun to get /PageLabels entry.

Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 8 replaced by U+FFFD.
File: xxx.eps Graphic file (type eps)
<xxx.eps>
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 9.

Underfull \hbox (badness 10000) in paragraph at lines 8--9

[]


(/usr/local/texlive/2017basic/texmf-dist/tex/generic/oberdiek/se-ascii-print.de
f
File: se-ascii-print.def 2016/05/16 v1.11 stringenc: Printable ASCII characters

) [1

]
Package atveryend Info: Empty hook `AfterLastShipout' on input line 9.
(./Test.aux)
Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 9.
Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 9.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 9.
)
Here is how much of TeX's memory you used:
10026 strings out of 494511
153836 string characters out of 6166321
319181 words of memory out of 5000000
13895 multiletter control sequences out of 15000+600000
4008 words of font info for 16 fonts, out of 8000000 for 9000
319 hyphenation exceptions out of 8191
41i,6n,66p,8842b,319s stack positions out of 5000i,500n,10000p,200000b,80000s

Output written on Test.pdf (1 page).

Gast

Beitrag von Gast »

Wie man an der log-Datei sieht, wie die eps-Datei auch geladen. Außerdem informiert die log-Datei auch darüber, dass man bei XeLaTeX kein \usepackage[utf8]{inputenc} braucht.

chrislohjenn
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Do 8. Mär 2012, 12:18

Beitrag von chrislohjenn »

Gut, die entsprechenden Stellen werden auch im pdf freigehalten in der richtigen Größe. Allein, man sieht das Bild nicht.

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

Beitrag von u_fischer »

Ich habe in windows keine Probleme. Du kannst mal in einem Terminal mit

xelatex --no-pdf datei

und dann

xdvipdfmx -vv datei

übersetzen. Vielleicht bekommst du dann einen Hinweis auf das Problem.

Abgesehen davon würde ich aber empfehlen, die eps-Datei extern nach pdf zu konvertieren (z.B. mit epstopdf xxx.eps). Es bei jeder xelatex-Kompilation zu machen, verlangsamt bloß alles.

chrislohjenn
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Do 8. Mär 2012, 12:18

Gesagt - Getan

Beitrag von chrislohjenn »

Gleiches Ergebnis mit folgender Information:

>(Image:xxx.eps[./xxx.eps][UNKNOWN]
pdf_image>> Converting file "./xxx.eps" --> "/var/folders/49/sslp9p4x4m1fpdxxhslbqr1c0000gn/T/dvipdfm-x.a414ca7fa31bf95678f0c86dab3f7540" via:
pdf_image>> rungs -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit
pdf_image>> ...
xdvipdfmx:warning: Could not open conversion result "/var/folders/49/sslp9p4x4m1fpdxxhslbqr1c0000gn/T/dvipdfm-x.a414ca7fa31bf95678f0c86dab3f7540" for image "./xxx.eps". Why?
)
xdvipdfmx:warning: pdf: image inclusion failed for "xxx.eps".
xdvipdfmx:warning: Failed to read image file: xxx.eps
xdvipdfmx:warning: Interpreting special command PSfile (ps:) failed.
xdvipdfmx:warning: >> at page="1" position="(116.87, 394.224)" (in PDF)
xdvipdfmx:warning: >> xxx "PSfile="xxx.eps" llx=0 lly=0 urx=162 ury=157 rwi=3750 "

Current input buffer is -->PSfile="xxx.eps" llx=0 lly=0 urx=162 ury=157 rwi=3...<--
]
Removed 2 unused PDF destinations


Offensichtlich ist da der Fehler, die Frage ist nur, was das bedeutet.
(Am eps File liegt es nicht, ich habe verschiedene, aus verschiedenen Quellen etc ausprobiert)



(Diese Fehlermeldung erhalte ich bei epstopdf:
epstopdf xxx.eps
epstopdf ($Id: epstopdf.pl 45306 2017-09-14 21:41:37Z karl $) 2.27
!!! Error: Cannot open Ghostscript for piped input: gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=xxx.pdf -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages#/None - -c quit)

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

Beitrag von u_fischer »

Frag auf der texlive oder mactex-Mailingliste nach. Bei dir scheint ghostscript kaputt zu sein.

chrislohjenn
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Do 8. Mär 2012, 12:18

Beitrag von chrislohjenn »

Okay. Danke.

chrislohjenn
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Do 8. Mär 2012, 12:18

Beitrag von chrislohjenn »

Habe gerade ghostscript neu installiert und nun funktioniert wieder alles. Danke für die Hilfe.

Antworten