![Beamer 编译错误,ps 错误](https://linux22.com/image/237703/Beamer%20%E7%BC%96%E8%AF%91%E9%94%99%E8%AF%AF%EF%BC%8Cps%20%E9%94%99%E8%AF%AF.png)
我在 beamer 中有一个演示文稿,并且使用了叠加技巧,也就是我在这里询问到的那个。
在其他演示中,一切正常。我先将文档编译为 dvi,然后编译为 ps,但当我想从 ps 创建 pdf(通过 ps2pdf 或 Adobe 蒸馏器)时,我收到错误:
%%[ Warning: Helvetica not found, using Font Substitution. Font cannot be embedded. ]%%
%%[ Warning: Times-Italic not found, using Font Substitution. Font cannot be embedded. ]%%
%%[ Error: syntaxerror; OffendingCommand: ? ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
MWE 是:
\documentclass[xcolor=dvipsnames,mathserif,12pt]{beamer}
\usecolortheme[named=Emerald]{structure}
\useoutertheme{infolines}
\usetheme[height=7mm]{Rochester}
\setbeamertemplate{items}[ball]
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{navigation symbols}{}
%\usefonttheme{serif}
\usefonttheme{professionalfonts}
\usepackage{amsmath,amssymb,amsthm,amssymb}
\usepackage{mathtools}
\usepackage{bbm}
\usepackage{graphicx}
\usepackage{float}
\usepackage[croatian]{babel}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{txfonts}
\usepackage{subfigure}
\usepackage{color}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{time}
\usepackage{extarrows}
\title{Random title}
\subtitle{Random subtitle}
\author{}
\institute[Random institute]{Random institute}
\date{\today}
\begin{document}
\maketitle
\begin{frame}
\frametitle{About}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item something something\pause
\centerline{\includegraphics[width=1.0\textwidth]{1graf.eps}}\pause
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item bla\pause
\item bla
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}
之前还可以用,现在不知道哪里出了问题:\
如果我尝试使用 dvipdfm,它会弄乱图像;如果我尝试使用 pdflatex,图片将不会显示,因为它是 .eps。
出了什么问题?我该怎么办?:(
编辑:哦,当我在 texmakerx 中制作 dvips 时,它给出了:
Process started
This is dvips(k) 5.99 Copyright 2010 Radical Eye Software (www.radicaleye.com) ' TeX output 2011.06.04:1347' -> prezproba.ps <C:\Users\Denis\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\public\bbm\dpi600\bbm12.pk> <C:/Program Files (x86)/MiKTeX 2.9/dvips/base/tex.pro> <C:/Program Files (x86)/MiKTeX 2.9/fonts/enc/dvips/fontname/8r.enc> <C:/Program Files (x86)/MiKTeX 2.9/dvips/base/texps.pro> <C:/Program Files (x86)/MiKTeX 2.9/dvips/base/special.pro> <C:/Program Files (x86)/MiKTeX 2.9/dvips/base/color.pro>. <C:/Users/Denis/AppData/Roaming/MiKTeX/2.9/fonts/type1/public/txfonts/txsy.pfb> <C:/Users/Denis/AppData/Roaming/MiKTeX/2.9/fonts/type1/public/txfonts/rtxmi.pfb> <C:/Users/Denis/AppData/Roaming/MiKTeX/2.9/fonts/type1/public/txfonts/rtxr.pfb> [1] [2<1graf.eps><D:/LaTeX/1graf.eps>
dvips: expected to see %%EndBinary at end of data; struggling on ] [3<1graf.eps><D:/LaTeX/1graf.eps>
dvips: expected to see %%EndBinary at end of data; struggling on ] [4<1graf.eps><D:/LaTeX/1graf.eps>
dvips: expected to see %%EndBinary at end of data; struggling on ] [5<1graf.eps><D:/LaTeX/1graf.eps>
dvips: expected to see %%EndBinary at end of data; struggling on ] [6<1graf.eps><D:/LaTeX/1graf.eps>
dvips: expected to see %%EndBinary at end of data; struggling on ] [7<1graf.eps><D:/LaTeX/1graf.eps>
dvips: expected to see %%EndBinary at end of data; struggling on ]
Process exited normally