beamer, pstricks (texlive 2014)

Tabellen und Grafiken erstellen und anordnen


vincentve
Forum-Newbie
Forum-Newbie
Beiträge: 2
Registriert: Do 21. Mai 2015, 08:44

beamer, pstricks (texlive 2014)

Beitrag von vincentve »

Since updating ubuntu to 14.10 (and 15.04 recently) i cannot succeed in compiling the following source:
\documentclass[a4paper]{article}%
\usepackage{beamerarticle}
%\documentclass{beamer}%
\usepackage[german]{babel}
\usepackage{pst-pdf}
\usepackage{pst-node}
%
\begin{document}
%
\begin{frame}
\begin{figure}[h!]
\begin{center}
\begin{pspicture}(-1, 0.0)(10, 8)
\cnode*(2.5,1){.5ex}{1}\rput(2.5,0.3){1}%
\cnode*(3,6){.5ex}{2}\rput(3,6.7){2}%
\cnode*(6,7){.5ex}{3}\rput(6,7.7){3}%
\cnode*(8,6.5){.5ex}{4}\rput(8,7.2){4}%
\ncarc[arcangle=0]{-}{1}{2}
\ncarc[arcangle=0]{-}{2}{3}
\ncarc[arcangle=0]{-}{2}{4}
\end{pspicture}
\caption{$G$}\label{fig:graph}
\end{center}
\end{figure}
%
\end{frame}
%
\end{document}
 


I use the following four commands:

latex -interaction=nonstopmode %.tex
dvips -o %-pics.ps %.dvi
ps2pdf %-pics.ps
pdflatex -interaction=nonstopmode %.tex

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

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?

Besserwisser

Beitrag von Besserwisser »

Funktioniert problemlos mit TeX Live 2015 pretest und ghostscript 9.15.
Wenn ich pst-pdf durch auto-pst-pdf ersetze, funktioniert auch die automatische Erzeugung der Abbildungen beim Aufruf mit pdflatex --shell-escape.

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

Beitrag von Johannes_B »

This was originally posted at LaTeX community.

This is a german speaking LaTeX forum.

Besserwisser hat geschrieben:Funktioniert problemlos mit TeX Live 2015 pretest und ghostscript 9.15.
Wenn ich pst-pdf durch auto-pst-pdf ersetze, funktioniert auch die automatische Erzeugung der Abbildungen beim Aufruf mit pdflatex --shell-escape.
Works fine with TeX Live 2015 pretest and ghostscript 9.15.
Substituting pst-pdf with auto-pst-pdf, auto generating the pdfs using pdflatex --shell-escape works fine as well.
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.

vincentve
Forum-Newbie
Forum-Newbie
Beiträge: 2
Registriert: Do 21. Mai 2015, 08:44

Beitrag von vincentve »

Entschuldigung (deutsch).

Nur um auf Nummer sicher zu gehen: auch das Übersetzen als Beamer Folien (dritte statt erster beiden Zeilen) funktioniert?

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

Beitrag von u_fischer »

vincentve hat geschrieben:Entschuldigung (deutsch).

Nur um auf Nummer sicher zu gehen: auch das Übersetzen als Beamer Folien (dritte statt erster beiden Zeilen) funktioniert?
Nein, sobald tikz/pgf geladen wird (und beamer lädt tikz) gibt es Fehler. tikz und preview (das von pst-pdf benutzt wird) vertragen sich schon länger nicht mehr. Siehe z.B. https://sourceforge.net/p/pgf/bugs/316/ (der dort erwähnte Patch scheint hierbei aber nicht zu helfen).

Antworten