LaTeX forum ⇒ TeX Live and MacTeXbeamer, pstricks (texlive 2014)

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
DBris
Posts: 1
Joined: Wed May 13, 2015 10:15 am

beamer, pstricks (texlive 2014)

Postby DBris » Wed May 13, 2015 10:19 am

Since updating ubuntu to 14.10 (and 15.04 recently) i cannot succeed in compiling the following source:

  1. %\documentclass[a4paper]{article}%
  2. %\usepackage{beamerarticle}
  3. \documentclass{beamer}%
  4. \usepackage[german]{babel}
  5. \usepackage{pst-pdf}
  6. \usepackage{pst-node}
  7. %
  8. \begin{document}
  9. %
  10. \begin{frame}
  11. \begin{figure}[h!]
  12. \begin{center}
  13. \begin{pspicture}(-1, 0.0)(10, 8)
  14. \cnode*(2.5,1){.5ex}{1}\rput(2.5,0.3){1}%
  15. \cnode*(3,6){.5ex}{2}\rput(3,6.7){2}%
  16. \cnode*(6,7){.5ex}{3}\rput(6,7.7){3}%
  17. \cnode*(8,6.5){.5ex}{4}\rput(8,7.2){4}%
  18. \ncarc[arcangle=0]{-}{1}{2}
  19. \ncarc[arcangle=0]{-}{2}{3}
  20. \ncarc[arcangle=0]{-}{2}{4}
  21. \end{pspicture}
  22. \caption{$G$}\label{fig:graph}
  23. \end{center}
  24. \end{figure}
  25. %
  26. \end{frame}
  27. %
  28. \end{document}


I use the following four commands:

  1. latex -interaction=nonstopmode %.tex
  2. dvips -o %-pics.ps %.dvi
  3. ps2pdf %-pics.ps
  4. pdflatex -interaction=nonstopmode %.tex


where % is replaced by the filename. The code above allows me to replace the third line by the first two lines in order to compile lecture notes while the setting above produces beamer-slides.

Lecture notes work fine, beamer presentation aborts with the following message:

Process started

Error: /typecheck in --div--

Operand stack: 1 0 0.0 TeXcolorgray 65781.8 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1967 1 3 %oparray_pop 1966 1 3 %oparray_pop 1950 1 3 %oparray_pop 1836 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- 5 --nostringval-- %repeat_continue --nostringval-- Dictionary stack: --dict:1186/1684(ro)(G)-- --dict:0/20(G)-- --dict:129/200(L)-- --dict:181/300(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 148977 GPL Ghostscript 9.15: Unrecoverable error, exit code 1

Process exited with error(s)


Both versions, slides and lecture notes, work fine on ubuntu 14.04 with texlive 2013 and ghostscript 9.10. On windows 8 with texlive 2014 and ghostscript 9.16 i encounter the same problem.

I assume the ps file is not ok (viewing it with gsview does not work either).

Anyone has an idea what goes wrong here?
Last edited by Stefan Kottwitz on Wed May 13, 2015 1:44 pm, edited 2 times in total.
Reason: inline code changed to code block

User avatar
Johannes_B
Site Moderator
Posts: 3515
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu May 21, 2015 11:18 am

This has also been posted at the german forum goLaTeX.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “TeX Live and MacTeX”

Who is online

Users browsing this forum: No registered users and 3 guests