LaTeX forum ⇒ Graphics, Figures & Tables.png figure seems to suppress display of succeeding .eps in pdflatex with shell escape

Information and discussion about graphics, figures & tables in LaTeX documents.
sgl
Posts: 8
Joined: Tue Oct 22, 2019 11:40 pm

.png figure seems to suppress display of succeeding .eps in pdflatex with shell escape

Postby sgl » Wed Oct 23, 2019 12:19 am

Hi all,

I am writing a document in which I would like to include images in PNG format as well as EPS files. The EPS files are chemical structures that I need to number with the chemnum package. When I compile the file including only the EPS with Pdflatex and shell-escape, it works perfectly fine and I get the chemical structure with the tag being replaced by a number. If, however, I place a PNG before the EPS, the EPS is not displayed anymore after the next compilation, only the caption. I am using Miktex 2.9.7206 and Texstudio 2.12.14.
Am I missing something here?


A MWE for the case in which it works:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[12pt,a4paper]{report}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[english]{babel}
  4.  
  5. \usepackage{caption}
  6.  
  7. \usepackage{graphicx}
  8. \usepackage{auto-pst-pdf}
  9. \usepackage{chemnum}
  10.  
  11. \begin{document}
  12.  
  13. \begin{figure}
  14. \replacecmpd{compound}
  15. \includegraphics[scale=1]{E:/test/test_eps}
  16. \caption{Some caption.}
  17. \end{figure}
  18.  
  19. \end{document}



A MWE causing the described problem:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[12pt,a4paper]{report}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[english]{babel}
  4.  
  5. \usepackage{caption}
  6.  
  7. \usepackage{graphicx}
  8. \usepackage{auto-pst-pdf}
  9. \usepackage{chemnum}
  10.  
  11. \begin{document}
  12.  
  13. \begin{figure}
  14. \includegraphics[scale=1]{E:/test/test_png}
  15. \caption{Some caption.}
  16. \end{figure}
  17.  
  18. \begin{figure}
  19. \replacecmpd{compound}
  20. \includegraphics[scale=1]{E:/test/test_eps}
  21. \caption{Some caption.}
  22. \end{figure}
  23.  
  24. \end{document}


The second MWE compiles and shows the PNG in the PDF, but the log says the following:

test.tex Bad Box Line 20 Overfull \hbox (810.0003pt too wide) in paragraph
test.tex Warning Line 22 Float too large for page by 632.50029pt
test.tex Warning 'test-pics.pdf' contains 2 pages (pst-pdf) but 1 pages are requested: (pst-pdf) File 'test-pics.pdf' is no more valid! (pst-pdf) Recreate it.

I get what it means, but I don't understand why it occurs if a PNG is loaded before. Also, several EPS figures are fine, but as soon as one PNG in included, it stops working.

Is there someone who can help me out with this and shed some light on the matter?

Cheers

Steffen

User avatar
Stefan Kottwitz
Site Admin
Posts: 9496
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Oct 23, 2019 9:28 am

Hi Steffen,

welcome to the forum!

Can you perhaps post the test images (png and eps) as attachment? That way we can test it directly on our TeX installation. I don't have eps samples here, and your png image could have features such as transparency or not...

Thanks!

Stefan
Site admin

sgl
Posts: 8
Joined: Tue Oct 22, 2019 11:40 pm

Postby sgl » Wed Oct 23, 2019 10:38 am

Hi Stefan,

thank you for your reply and sorry for not submitting them right away, could have guessed it.

Attached please find a PNG and EPS file for the above scenario.

Cheers

Steffen

test_eps.eps
(13.56 KiB) Downloaded 3 times


test_png.png
test_png.png (18.31 KiB) Viewed 338 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9496
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Oct 23, 2019 7:57 pm

Hi Steffen,

that example works for me with both images, I get (cut):

output.png
output.png (12 KiB) Viewed 307 times


Perhaps post your .log file here, as attachment. I could compare with my LaTeX run.

Stefan
Site admin

sgl
Posts: 8
Joined: Tue Oct 22, 2019 11:40 pm

Postby sgl » Wed Oct 23, 2019 11:12 pm

Hi Stefan,

btw I tried texLive in the meantime, still no change.

What I get after compilation is the following

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. Prozess gestartet: pdflatex.exe -synctex=1 -interaction=nonstopmode --shell-escape "test".tex
  2.  
  3. This is dvips(k) 5.999 Copyright 2019 Radical Eye Software (www.radicaleye.com) ' TeX output 2019.10.23:2305' -> test-autopp.ps <e:/Programme/texlive/2019/texmf-dist/dvips/base/tex.pro> <e:/Programme/texlive/2019/texmf-dist/dvips/config/alt-rule.pro>
  4.  
  5. <e:/Programme/texlive/2019/texmf-dist/dvips/pstricks/pstricks.pro>
  6.  
  7. <e:/Programme/texlive/2019/texmf-dist/dvips/pstricks/pst-algparser.pro>
  8.  
  9. <e:/Programme/texlive/2019/texmf-dist/dvips/pst-tools/pst-tools.pro>
  10.  
  11. <e:/Programme/texlive/2019/texmf-dist/dvips/pstricks/pst-dots.pro> <e:/Programme/texlive/2019/texmf-dist/dvips/psfrag/psfrag.pro>
  12.  
  13. <e:/Programme/texlive/2019/texmf-dist/dvips/base/texps.pro> <e:/Programme/texlive/2019/texmf-dist/dvips/base/special.pro> <e:/Programme/texlive/2019/texmf-dist/dvips/base/color.pro>
  14.  
  15. .
  16.  
  17. <e:/Programme/texlive/2019/texmf-dist/fonts/type1/public/amsfonts/cm/cmssbx10.pfb> <e:/Programme/texlive/2019/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb> [1] [2
  18.  
  19. <e:/test/test_eps.eps>]
  20.  
  21. system returned with code 1
  22.  
  23. Prozess endete normal


Anything conclusive in there?

Steffen

sgl
Posts: 8
Joined: Tue Oct 22, 2019 11:40 pm

Postby sgl » Wed Oct 23, 2019 11:45 pm

Seemingly I forgot a fair bit:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex 2019.10.23) 23 OCT 2019 23:05
  2. entering extended mode
  3. \write18 enabled.
  4. %&-line parsing enabled.
  5. **test.tex
  6. (./test.tex
  7. LaTeX2e <2019-10-01> patch level 1
  8. (e:/Programme/texlive/2019/texmf-dist/tex/latex/base/report.cls
  9. Document Class: report 2019/08/27 v1.4j Standard LaTeX document class
  10. (e:/Programme/texlive/2019/texmf-dist/tex/latex/base/size12.clo
  11. File: size12.clo 2019/08/27 v1.4j Standard LaTeX file (size option)
  12. )
  13. \c@part=\count80
  14. \c@chapter=\count81
  15. \c@section=\count82
  16. \c@subsection=\count83
  17. \c@subsubsection=\count84
  18. \c@paragraph=\count85
  19. \c@subparagraph=\count86
  20. \c@figure=\count87
  21. \c@table=\count88
  22. \abovecaptionskip=\skip41
  23. \belowcaptionskip=\skip42
  24. \bibindent=\dimen102
  25. )
  26. (e:/Programme/texlive/2019/texmf-dist/tex/latex/base/inputenc.sty
  27. Package: inputenc 2018/08/11 v1.3c Input encoding file
  28. \inpenc@prehook=\toks14
  29. \inpenc@posthook=\toks15
  30. )
  31. (e:/Programme/texlive/2019/texmf-dist/tex/generic/babel/babel.sty
  32. Package: babel 2019/10/15 3.35 The Babel package
  33.  
  34. (e:/Programme/texlive/2019/texmf-dist/tex/generic/babel/switch.def
  35. File: switch.def 2019/10/15 3.35 Babel switching mechanism
  36. )
  37. (e:/Programme/texlive/2019/texmf-dist/tex/generic/babel-english/english.ldf
  38. Language: english 2017/06/06 v3.3r English support from the babel system
  39.  
  40. (e:/Programme/texlive/2019/texmf-dist/tex/generic/babel/babel.def
  41. File: babel.def 2019/10/15 3.35 Babel common definitions
  42. \babel@savecnt=\count89
  43. \U@D=\dimen103
  44.  
  45. (e:/Programme/texlive/2019/texmf-dist/tex/generic/babel/txtbabel.def)
  46. \bbl@dirlevel=\count90
  47. )
  48. \l@canadian = a dialect from \language\l@american
  49. \l@australian = a dialect from \language\l@british
  50. \l@newzealand = a dialect from \language\l@british
  51. ))
  52. (e:/Programme/texlive/2019/texmf-dist/tex/latex/caption/caption.sty
  53. Package: caption 2019/09/01 v3.3d Customizing captions (AR)
  54.  
  55. (e:/Programme/texlive/2019/texmf-dist/tex/latex/caption/caption3.sty
  56. Package: caption3 2019/09/01 v1.8d caption3 kernel (AR)
  57. Package caption3 Info: TeX engine: e-TeX on input line 64.
  58.  
  59. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics/keyval.sty
  60. Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
  61. \KV@toks@=\toks16
  62. )
  63. \captionmargin=\dimen104
  64. \captionmargin@=\dimen105
  65. \captionwidth=\dimen106
  66. \caption@tempdima=\dimen107
  67. \caption@indent=\dimen108
  68. \caption@parindent=\dimen109
  69. \caption@hangindent=\dimen110
  70. )
  71. \c@caption@flags=\count91
  72. \c@ContinuedFloat=\count92
  73. )
  74. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics/graphicx.sty
  75. Package: graphicx 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
  76.  
  77. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics/graphics.sty
  78. Package: graphics 2019/10/08 v1.3c Standard LaTeX Graphics (DPC,SPQR)
  79.  
  80. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics/trig.sty
  81. Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
  82. )
  83. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
  84. File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
  85. )
  86. Package graphics Info: Driver file: pdftex.def on input line 105.
  87.  
  88. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics-def/pdftex.def
  89. File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
  90. ))
  91. \Gin@req@height=\dimen111
  92. \Gin@req@width=\dimen112
  93. )
  94. (e:/Programme/texlive/2019/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
  95. Package: auto-pst-pdf 2009/04/26 v0.6 Wrapper for pst-pdf
  96.  
  97. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/ifpdf.sty
  98. Package: ifpdf 2018/09/07 v3.3 Provides the ifpdf switch
  99. )
  100. (e:/Programme/texlive/2019/texmf-dist/tex/latex/xkeyval/xkeyval.sty
  101. Package: xkeyval 2014/12/03 v2.7a package option processing (HA)
  102.  
  103. (e:/Programme/texlive/2019/texmf-dist/tex/generic/xkeyval/xkeyval.tex
  104. (e:/Programme/texlive/2019/texmf-dist/tex/generic/xkeyval/xkvutils.tex
  105. \XKV@toks=\toks17
  106. \XKV@tempa@toks=\toks18
  107. )
  108. \XKV@depth=\count93
  109. File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
  110. ))
  111. (e:/Programme/texlive/2019/texmf-dist/tex/latex/ifplatform/ifplatform.sty
  112. Package: ifplatform 2017/10/13 v0.4a Testing for the operating system
  113.  
  114. (e:/Programme/texlive/2019/texmf-dist/tex/latex/tools/shellesc.sty
  115. Package: shellesc 2016/06/07 v0.02b unified shell escape interface for LaTeX
  116. Package shellesc Info: Unrestricted shell escape enabled on input line 70.
  117. )
  118. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
  119. Package: pdftexcmds 2019/07/25 v0.30 Utility functions of pdfTeX for LuaTeX (HO
  120. )
  121.  
  122. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/infwarerr.sty
  123. Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
  124. )
  125. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/ifluatex.sty
  126. Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
  127. Package ifluatex Info: LuaTeX not detected.
  128. )
  129. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
  130. Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
  131. )
  132. Package pdftexcmds Info: LuaTeX not detected.
  133. Package pdftexcmds Info: \pdf@primitive is available.
  134. Package pdftexcmds Info: \pdf@ifprimitive is available.
  135. Package pdftexcmds Info: \pdfdraftmode found.
  136. )
  137. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/catchfile.sty
  138. Package: catchfile 2016/05/16 v1.7 Catch the contents of a file (HO)
  139.  
  140. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/etexcmds.sty
  141. Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
  142. )))
  143. \c@app@runs=\count94
  144. runsystem(echo " ")...executed.
  145.  
  146. runsystem(echo "-------------------------------------------------")...executed.
  147.  
  148. runsystem(echo "auto-pst-pdf: Auxiliary LaTeX compilation")...executed.
  149.  
  150. runsystem(echo "-------------------------------------------------")...executed.
  151.  
  152. runsystem(del "test-pics.pdf")...executed.
  153.  
  154. runsystem(latex -disable-write18 -jobname="test-autopp" -interaction=batchmode
  155. "\let \APPmakepictures \empty \input test.tex")...executed.
  156.  
  157. runsystem(dvips -Ppdf -o "test-autopp.ps" "test-autopp.dvi")...executed.
  158.  
  159. runsystem(ps2pdf "test-autopp.ps" "test-autopp.pdf")...executed.
  160.  
  161. runsystem(pdfcrop "test-autopp.pdf" "test-pics.pdf")...executed.
  162.  
  163. runsystem(del "test-autopp.log")...executed.
  164.  
  165. runsystem(del "test-autopp.dvi")...executed.
  166.  
  167. runsystem(del "test-autopp.ps")...executed.
  168.  
  169. runsystem(del "test-autopp.pdf")...executed.
  170.  
  171. runsystem(echo "-------------------------------------------------")...executed.
  172.  
  173. runsystem(echo "auto-pst-pdf: End auxiliary LaTeX compilation")...executed.
  174.  
  175. runsystem(echo "-------------------------------------------------")...executed.
  176.  
  177.  
  178. (e:/Programme/texlive/2019/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
  179. Package: pst-pdf 2017/06/22 v1.2d PS graphics for pdfLaTeX (RN,HjG)
  180.  
  181. (e:/Programme/texlive/2019/texmf-dist/tex/generic/ifxetex/ifxetex.sty
  182. Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
  183. )
  184. (e:/Programme/texlive/2019/texmf-dist/tex/generic/oberdiek/ifvtex.sty
  185. Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
  186. Package ifvtex Info: VTeX not detected.
  187. )
  188. (e:/Programme/texlive/2019/texmf-dist/tex/generic/luatex85/luatex85.sty
  189. Package: luatex85 2016/06/15 v1.4 pdftex aliases for luatex
  190. )
  191. \c@pspicture=\count95
  192. Package pst-pdf Info: MODE: 1 (pdfTeX mode) on input line 214.
  193.  
  194. (e:/Programme/texlive/2019/texmf-dist/tex/latex/pstricks/pstricks.sty
  195. Package: pstricks 2018/12/21 v0.69 LaTeX wrapper for `PSTricks' (RN,HV)
  196.  
  197. (e:/Programme/texlive/2019/texmf-dist/tex/generic/iftex/iftex.sty
  198. Package: iftex 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
  199. and LuaTeX
  200. )
  201. (e:/Programme/texlive/2019/texmf-dist/tex/latex/xcolor/xcolor.sty
  202. Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
  203.  
  204. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics-cfg/color.cfg
  205. File: color.cfg 2016/01/02 v1.6 sample color configuration
  206. )
  207. Package xcolor Info: Driver file: pdftex.def on input line 225.
  208. Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
  209. Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
  210. Package xcolor Info: Model `RGB' extended on input line 1364.
  211. Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
  212. Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
  213. Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
  214. Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
  215. Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
  216. Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
  217. )
  218. (e:/Programme/texlive/2019/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
  219. File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  220. )
  221. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pstricks/pstricks.tex
  222. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pstricks/pst-fp.tex
  223. `pst-fp' v0.05, 2010/01/17 (hv)
  224. \pstFP@xs=\count96
  225. \pstFP@xia=\count97
  226. \pstFP@xib=\count98
  227. \pstFP@xfa=\count99
  228. \pstFP@xfb=\count100
  229. \pstFP@rega=\count101
  230. \pstFP@regb=\count102
  231. \pstFP@regs=\count103
  232. \pstFP@times=\count104
  233. )
  234. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.
  235. tex
  236. \pgfutil@everybye=\toks19
  237. \pgfutil@tempdima=\dimen113
  238. \pgfutil@tempdimb=\dimen114
  239.  
  240. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-
  241. lists.tex))
  242. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.te
  243. x
  244. \pgfkeys@pathtoks=\toks20
  245. \pgfkeys@temptoks=\toks21
  246.  
  247. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered
  248. .code.tex
  249. \pgfkeys@tmptoks=\toks22
  250. ))
  251. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
  252. Loading pgffor.code.tex
  253. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
  254. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
  255.  
  256. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex
  257. \pgf@x=\dimen115
  258. \pgf@xa=\dimen116
  259. \pgf@xb=\dimen117
  260. \pgf@xc=\dimen118
  261. \pgf@y=\dimen119
  262. \pgf@ya=\dimen120
  263. \pgf@yb=\dimen121
  264. \pgf@yc=\dimen122
  265. \c@pgf@counta=\count105
  266. \c@pgf@countb=\count106
  267. \c@pgf@countc=\count107
  268. \c@pgf@countd=\count108
  269. \pgfutil@tempcnta=\count109
  270. \pgfutil@tempcntb=\count110
  271. )
  272. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.t
  273. ex
  274. \pgfmath@dimen=\dimen123
  275. \pgfmath@count=\count111
  276. \pgfmath@box=\box27
  277. \pgfmath@toks=\toks23
  278. \pgfmath@stack@operand=\toks24
  279. \pgfmath@stack@operation=\toks25
  280. )
  281. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.cod
  282. e.tex
  283. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.bas
  284. ic.code.tex)
  285. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.tri
  286. gonometric.code.tex)
  287. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.ran
  288. dom.code.tex)
  289. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.com
  290. parison.code.tex)
  291. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.bas
  292. e.code.tex)
  293. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rou
  294. nd.code.tex)
  295. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.mis
  296. c.code.tex)
  297. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.int
  298. egerarithmetics.code.tex)))
  299. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.te
  300. x
  301. \c@pgfmathroundto@lastzeros=\count112
  302. ))
  303. \pgffor@iter=\dimen124
  304. \pgffor@skip=\dimen125
  305. \pgffor@stack=\toks26
  306. \pgffor@toks=\toks27
  307. )
  308. \psLoopIndex=\count113
  309.  
  310. `PSTricks' v2.97 <2019/05/11> (tvz,hv)
  311. \pst@dima=\dimen126
  312. \pst@dimb=\dimen127
  313. \pst@dimc=\dimen128
  314. \pst@dimd=\dimen129
  315. \pst@dimg=\dimen130
  316. \pst@dimh=\dimen131
  317. \pst@dimm=\dimen132
  318. \pst@dimn=\dimen133
  319. \pst@dimo=\dimen134
  320. \pst@dimp=\dimen135
  321. \pst@hbox=\box28
  322. \pst@ibox=\box29
  323. \pst@boxg=\box30
  324. \pst@cnta=\count114
  325. \pst@cntb=\count115
  326. \pst@cntc=\count116
  327. \pst@cntd=\count117
  328. \pst@cntg=\count118
  329. \pst@cnth=\count119
  330. \pst@cntm=\count120
  331. \pst@cntn=\count121
  332. \pst@cnto=\count122
  333. \pst@cntp=\count123
  334. \@zero=\count124
  335. \pst@toks=\toks28
  336. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pstricks/pstricks.con)
  337. \psunit=\dimen136
  338. \psxunit=\dimen137
  339. \psyunit=\dimen138
  340. \pst@C@@rType=\count125
  341. \pslinewidth=\dimen139
  342. \psk@startLW=\dimen140
  343. \psk@endLW=\dimen141
  344. \pst@customdefs=\toks29
  345. \pslinearc=\dimen142
  346. \pst@symbolStep=\dimen143
  347. \pst@symbolWidth=\dimen144
  348. \pst@symbolLinewidth=\dimen145
  349. \everypsbox=\toks30
  350. \psframesep=\dimen146
  351. \pslabelsep=\dimen147
  352. \sh@wgridXunit=\dimen148
  353. \sh@wgridYunit=\dimen149
  354. \pst@shift=\dimen150
  355. )
  356. File: pstricks.tex 2019/05/11 v2.97 `PSTricks' (tvz,hv)
  357.  
  358. (e:/Programme/texlive/2019/texmf-dist/tex/generic/pstricks/pst-fp.tex)
  359. File: pst-fp.tex 2019/05/11 v2.97 `PST-fp' (hv)
  360. )
  361. \ppf@output=\toks31
  362.  
  363. (e:/Programme/texlive/2019/texmf-dist/tex/latex/preview/preview.sty
  364. Package: preview 2017/04/24 11.91 (AUCTeX/preview-latex)
  365. \pr@snippet=\count126
  366. \pr@box=\box31
  367. \pr@output=\toks32
  368. )
  369. (e:/Programme/texlive/2019/texmf-dist/tex/latex/graphics-def/dvips.def
  370. File: dvips.def 2017/06/20 v3.1d Graphics/color driver for dvips
  371. )
  372. (e:/Programme/texlive/2019/texmf-dist/tex/latex/environ/environ.sty
  373. Package: environ 2014/05/04 v0.3 A new way to define environments
  374.  
  375. (e:/Programme/texlive/2019/texmf-dist/tex/latex/trimspaces/trimspaces.sty
  376. Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list
  377. )
  378. \@envbody=\toks33
  379. )))
  380. (e:/Programme/texlive/2019/texmf-dist/tex/latex/chemnum/chemnum.sty
  381. (e:/Programme/texlive/2019/texmf-dist/tex/latex/l3kernel/expl3.sty
  382. Package: expl3 2019-10-14 L3 programming layer (loader)
  383.  
  384. (e:/Programme/texlive/2019/texmf-dist/tex/latex/l3kernel/expl3-code.tex
  385. Package: expl3 2019-10-14 L3 programming layer (code)
  386. \c_max_int=\count127
  387. \l_tmpa_int=\count128
  388. \l_tmpb_int=\count129
  389. \g_tmpa_int=\count130
  390. \g_tmpb_int=\count131
  391. \l__seq_internal_a_int=\count132
  392. \l__seq_internal_b_int=\count133
  393. \g__kernel_prg_map_int=\count134
  394. \c__ior_term_noprompt_ior=\count135
  395. \c_log_iow=\count136
  396. \l_iow_line_count_int=\count137
  397. \l__iow_line_target_int=\count138
  398. \l__iow_one_indent_int=\count139
  399. \l__iow_indent_int=\count140
  400. \c_zero_dim=\dimen151
  401. \c_max_dim=\dimen152
  402. \l_tmpa_dim=\dimen153
  403. \l_tmpb_dim=\dimen154
  404. \g_tmpa_dim=\dimen155
  405. \g_tmpb_dim=\dimen156
  406. \c_zero_skip=\skip43
  407. \c_max_skip=\skip44
  408. \l_tmpa_skip=\skip45
  409. \l_tmpb_skip=\skip46
  410. \g_tmpa_skip=\skip47
  411. \g_tmpb_skip=\skip48
  412. \c_zero_muskip=\muskip10
  413. \c_max_muskip=\muskip11
  414. \l_tmpa_muskip=\muskip12
  415. \l_tmpb_muskip=\muskip13
  416. \g_tmpa_muskip=\muskip14
  417. \g_tmpb_muskip=\muskip15
  418. \l_keys_choice_int=\count141
  419. \l__intarray_loop_int=\count142
  420. \c__intarray_sp_dim=\dimen157
  421. \g__intarray_font_int=\count143
  422. \c__fp_leading_shift_int=\count144
  423. \c__fp_middle_shift_int=\count145
  424. \c__fp_trailing_shift_int=\count146
  425. \c__fp_big_leading_shift_int=\count147
  426. \c__fp_big_middle_shift_int=\count148
  427. \c__fp_big_trailing_shift_int=\count149
  428. \c__fp_Bigg_leading_shift_int=\count150
  429. \c__fp_Bigg_middle_shift_int=\count151
  430. \c__fp_Bigg_trailing_shift_int=\count152
  431. \c__kernel_randint_max_int=\count153
  432. \g__fp_array_int=\count154
  433. \l__fp_array_loop_int=\count155
  434. \l__sort_length_int=\count156
  435. \l__sort_min_int=\count157
  436. \l__sort_top_int=\count158
  437. \l__sort_max_int=\count159
  438. \l__sort_true_max_int=\count160
  439. \l__sort_block_int=\count161
  440. \l__sort_begin_int=\count162
  441. \l__sort_end_int=\count163
  442. \l__sort_A_int=\count164
  443. \l__sort_B_int=\count165
  444. \l__sort_C_int=\count166
  445. \l__str_internal_int=\count167
  446. \c__str_replacement_char_int=\count168
  447. \l__tl_analysis_normal_int=\count169
  448. \l__tl_analysis_index_int=\count170
  449. \l__tl_analysis_nesting_int=\count171
  450. \l__tl_analysis_type_int=\count172
  451. \l__regex_internal_a_int=\count173
  452. \l__regex_internal_b_int=\count174
  453. \l__regex_internal_c_int=\count175
  454. \l__regex_balance_int=\count176
  455. \l__regex_group_level_int=\count177
  456. \l__regex_mode_int=\count178
  457. \c__regex_cs_in_class_mode_int=\count179
  458. \c__regex_cs_mode_int=\count180
  459. \l__regex_catcodes_int=\count181
  460. \l__regex_default_catcodes_int=\count182
  461. \c__regex_catcode_D_int=\count183
  462. \c__regex_catcode_S_int=\count184
  463. \c__regex_catcode_L_int=\count185
  464. \c__regex_catcode_O_int=\count186
  465. \c__regex_catcode_A_int=\count187
  466. \c__regex_all_catcodes_int=\count188
  467. \l__regex_show_lines_int=\count189
  468. \l__regex_min_state_int=\count190
  469. \l__regex_max_state_int=\count191
  470. \l__regex_left_state_int=\count192
  471. \l__regex_right_state_int=\count193
  472. \l__regex_capturing_group_int=\count194
  473. \l__regex_min_pos_int=\count195
  474. \l__regex_max_pos_int=\count196
  475. \l__regex_curr_pos_int=\count197
  476. \l__regex_start_pos_int=\count198
  477. \l__regex_success_pos_int=\count199
  478. \l__regex_curr_char_int=\count266
  479. \l__regex_curr_catcode_int=\count267
  480. \l__regex_last_char_int=\count268
  481. \l__regex_case_changed_char_int=\count269
  482. \l__regex_curr_state_int=\count270
  483. \l__regex_step_int=\count271
  484. \l__regex_min_active_int=\count272
  485. \l__regex_max_active_int=\count273
  486. \l__regex_replacement_csnames_int=\count274
  487. \l__regex_match_count_int=\count275
  488. \l__regex_min_submatch_int=\count276
  489. \l__regex_submatch_int=\count277
  490. \l__regex_zeroth_submatch_int=\count278
  491. \g__regex_trace_regex_int=\count279
  492. \c_empty_box=\box32
  493. \l_tmpa_box=\box33
  494. \l_tmpb_box=\box34
  495. \g_tmpa_box=\box35
  496. \g_tmpb_box=\box36
  497. \l__box_top_dim=\dimen158
  498. \l__box_bottom_dim=\dimen159
  499. \l__box_left_dim=\dimen160
  500. \l__box_right_dim=\dimen161
  501. \l__box_top_new_dim=\dimen162
  502. \l__box_bottom_new_dim=\dimen163
  503. \l__box_left_new_dim=\dimen164
  504. \l__box_right_new_dim=\dimen165
  505. \l__box_internal_box=\box37
  506. \l__coffin_internal_box=\box38
  507. \l__coffin_internal_dim=\dimen166
  508. \l__coffin_offset_x_dim=\dimen167
  509. \l__coffin_offset_y_dim=\dimen168
  510. \l__coffin_x_dim=\dimen169
  511. \l__coffin_y_dim=\dimen170
  512. \l__coffin_x_prime_dim=\dimen171
  513. \l__coffin_y_prime_dim=\dimen172
  514. \c_empty_coffin=\box39
  515. \l__coffin_aligned_coffin=\box40
  516. \l__coffin_aligned_internal_coffin=\box41
  517. \l_tmpa_coffin=\box42
  518. \l_tmpb_coffin=\box43
  519. \g_tmpa_coffin=\box44
  520. \g_tmpb_coffin=\box45
  521. \l__coffin_bounding_shift_dim=\dimen173
  522. \l__coffin_left_corner_dim=\dimen174
  523. \l__coffin_right_corner_dim=\dimen175
  524. \l__coffin_bottom_corner_dim=\dimen176
  525. \l__coffin_top_corner_dim=\dimen177
  526. \l__coffin_scaled_total_height_dim=\dimen178
  527. \l__coffin_scaled_width_dim=\dimen179
  528. \c__coffin_empty_coffin=\box46
  529. \l__coffin_display_coffin=\box47
  530. \l__coffin_display_coord_coffin=\box48
  531. \l__coffin_display_pole_coffin=\box49
  532. \l__coffin_display_offset_dim=\dimen180
  533. \l__coffin_display_x_dim=\dimen181
  534. \l__coffin_display_y_dim=\dimen182
  535. \g__char_data_ior=\read1
  536.  
  537. (e:/Programme/texlive/2019/texmf-dist/tex/latex/l3kernel/l3deprecation.def
  538. File: l3deprecation.def 2019-04-06 v L3 Deprecated functions
  539. ))
  540. (e:/Programme/texlive/2019/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def
  541. File: l3backend-pdfmode.def 2019-04-06 L3 backend support: PDF mode
  542. \l__kernel_color_stack_int=\count280
  543. \l__pdf_internal_box=\box50
  544. )) (e:/Programme/texlive/2019/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
  545. Package: xparse 2019-10-11 L3 Experimental document command parser
  546. \l__xparse_current_arg_int=\count281
  547. \g__xparse_grabber_int=\count282
  548. \l__xparse_m_args_int=\count283
  549. \l__xparse_v_nesting_int=\count284
  550. )
  551. (e:/Programme/texlive/2019/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.st
  552. y
  553. Package: l3keys2e 2019-10-11 LaTeX2e option processing using LaTeX3 keys
  554. )
  555. Package: chemnum 2019/10/02 v1.2c a comprehensive approach for the numbering of
  556. chemical compounds (CN)
  557.  
  558. (e:/Programme/texlive/2019/texmf-dist/tex/latex/translations/translations.sty
  559. Package: translations 2017/08/31 v1.7a internationalization of LaTeX2e packages
  560. (CN)
  561.  
  562. (e:/Programme/texlive/2019/texmf-dist/tex/latex/koma-script/scrlfile.sty
  563. Package: scrlfile 2019/10/12 v3.27 KOMA-Script package (loading files)
  564. )
  565. (e:/Programme/texlive/2019/texmf-dist/tex/latex/etoolbox/etoolbox.sty
  566. Package: etoolbox 2019/09/21 v2.5h e-TeX tools for LaTeX (JAW)
  567. \etb@tempcnta=\count285
  568. ))
  569. (e:/Programme/texlive/2019/texmf-dist/tex/latex/chemgreek/chemgreek.sty
  570. (e:/Programme/texlive/2019/texmf-dist/tex/latex/amsmath/amstext.sty
  571. Package: amstext 2000/06/29 v2.01 AMS text
  572.  
  573. (e:/Programme/texlive/2019/texmf-dist/tex/latex/amsmath/amsgen.sty
  574. File: amsgen.sty 1999/11/30 v2.0 generic functions
  575. \@emptytoks=\toks34
  576. \ex@=\dimen183
  577. ))
  578. Package: chemgreek 2016/12/20 v1.1 interfaceforuprightgreeklettersforuseinchemi
  579. stry (CN)
  580. \l__chemgreek_tmpa_int=\count286
  581. \g__chemgreek_tmpa_int=\count287
  582. )
  583. (e:/Programme/texlive/2019/texmf-dist/tex/latex/psfrag/psfrag.sty
  584. Package: psfrag 1998/04/11 v3.04 PSfrag (MCG)
  585. \pfg@pcount=\count288
  586. \pfg@scount=\count289
  587. \pfg@temp=\write3
  588. )
  589. \l__chemnum_tmpa_int=\count290
  590. \l__chemnum_tmpb_int=\count291
  591. \l__chemnum_tmpc_int=\count292
  592. \c@cmpdmain=\count293
  593. \g__chemnum_main_int=\count294
  594. \l__chemnum_compound_replace_int=\count295
  595. ) (./test.aux)
  596. \openout1 = `test.aux'.
  597.  
  598. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 11.
  599. LaTeX Font Info: ... okay on input line 11.
  600. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 11.
  601. LaTeX Font Info: ... okay on input line 11.
  602. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 11.
  603. LaTeX Font Info: ... okay on input line 11.
  604. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 11.
  605. LaTeX Font Info: ... okay on input line 11.
  606. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 11.
  607. LaTeX Font Info: ... okay on input line 11.
  608. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 11.
  609. LaTeX Font Info: ... okay on input line 11.
  610. Package caption Info: Begin \AtBeginDocument code.
  611. Package caption Info: End \AtBeginDocument code.
  612. (e:/Programme/texlive/2019/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
  613. [Loading MPS to PDF converter (version 2006.09.02).]
  614. \scratchcounter=\count296
  615. \scratchdimen=\dimen184
  616. \scratchbox=\box51
  617. \nofMPsegments=\count297
  618. \nofMParguments=\count298
  619. \everyMPshowfont=\toks35
  620. \MPscratchCnt=\count299
  621. \MPscratchDim=\dimen185
  622. \MPnumerator=\count300
  623. \makeMPintoPDFobject=\count301
  624. \everyMPtoPDFconversion=\toks36
  625. )
  626. Preview: Fontsize 12pt
  627. Preview: PDFoutput 1
  628.  
  629. (e:/Programme/texlive/2019/texmf-dist/tex/latex/translations/translations-basic
  630. -dictionary-english.trsl
  631. File: translations-basic-dictionary-english.trsl (english translation file `tra
  632. nslations-basic-dictionary')
  633. )
  634. Package translations Info: loading dictionary `translations-basic-dictionary' f
  635. or `english'. on input line 11.
  636.  
  637. Package chemgreek Info: Activating mapping `default' on line 11.
  638.  
  639. <E:/test/test_png.png, id=2, 142.3719pt x 142.3719pt>
  640. File: E:/test/test_png.png Graphic file (type png)
  641. <use E:/test/test_png.png>
  642. Package pdftex.def Info: E:/test/test_png.png used on input line 14.
  643. (pdftex.def) Requested size: 142.37154pt x 142.37154pt.
  644. .................................................
  645. . Package chemnum Info: defined new compound `compound' with output `1'.
  646. .................................................
  647. <test-pics.pdf, id=4, page=1, 1200.00322pt x 1200.00322pt>
  648. File: test-pics.pdf Graphic file (type pdf)
  649. <use test-pics.pdf, page 1>
  650. Package pdftex.def Info: test-pics.pdf , page1 used on input line 20.
  651. (pdftex.def) Requested size: 1200.0003pt x 1200.0003pt.
  652.  
  653. Overfull \hbox (810.0003pt too wide) in paragraph at lines 20--21
  654. [][]
  655. []
  656.  
  657.  
  658. LaTeX Warning: Float too large for page by 632.50029pt on input line 22.
  659.  
  660.  
  661. Package pst-pdf Warning: `test-pics.pdf' contains 2 pages
  662. (pst-pdf) but 1 pages are requested:
  663. (pst-pdf) File `test-pics.pdf' is no more valid!
  664. (pst-pdf) Recreate it .
  665.  
  666. [1{e:/Programme/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <e:/
  667. test/test_png.png>] [2 <./test-pics.pdf>] (./test.aux) )
  668. Here is how much of TeX's memory you used:
  669. 22980 strings out of 492167
  670. 444615 string characters out of 6124418
  671. 486889 words of memory out of 5000000
  672. 27130 multiletter control sequences out of 15000+600000
  673. 532636 words of font info for 25 fonts, out of 8000000 for 9000
  674. 1141 hyphenation exceptions out of 8191
  675. 54i,7n,77p,797b,415s stack positions out of 5000i,500n,10000p,200000b,80000s
  676. <e:/Programme/texlive/2
  677. 019/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb>
  678. Output written on test.pdf (2 pages, 28521 bytes).
  679. PDF statistics:
  680. 24 PDF objects out of 1000 (max. 8388607)
  681. 13 compressed objects within 1 object stream
  682. 0 named destinations out of 1000 (max. 500000)
  683. 16 words of extra memory for PDF output out of 10000 (max. 10000000)

sgl
Posts: 8
Joined: Tue Oct 22, 2019 11:40 pm

Postby sgl » Thu Oct 24, 2019 12:19 am

Update:

Loading the epstopdf package gets both png and eps displayed, but then of course without the tag replaced in the eps.

Steffen

User avatar
Stefan Kottwitz
Site Admin
Posts: 9496
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Oct 24, 2019 12:41 am

So it's ok now? What about the tag, I don't see a tag issue in the code?

Stefan
Site admin

sgl
Posts: 8
Joined: Tue Oct 22, 2019 11:40 pm

Postby sgl » Thu Oct 24, 2019 8:34 am

No unfortunately I need the tag replaced, just thought the addition might give some hint. Is there any discrepancy between my and your log? The log is from a run without epstopdf.

Steffen

User avatar
Stefan Kottwitz
Site Admin
Posts: 9496
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Oct 24, 2019 1:27 pm

How do you replace the tag? Using psfrag? You could use pdfrack.

Or use chemfig.

A simple example from my LaTeX cookbook:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[border=15pt]{standalone}
  2. \usepackage{chemfig}
  3. \begin{document}
  4. \chemfig{C*6((-H)-C(-H)=C(-H)-C(-H)=C(-H)-C(-H)=)}
  5. \end{document}


13-benzene.png
13-benzene.png (15.33 KiB) Viewed 251 times


Stefan
Site admin


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 6 guests