从 ChemDraw 20(MikTeX 4.6;TexMaker 5.1.2)导入 .eps 文件时出现问题,chemnum 无法工作

从 ChemDraw 20(MikTeX 4.6;TexMaker 5.1.2)导入 .eps 文件时出现问题,chemnum 无法工作

相对新手,使用 ChemDraw 20 撰写结构论文,包括使用 \include 的不同章节。我似乎无法将 chemdraw 中的 .eps 文件导入到我的主文件中。在“方程式”环境下,我在输出 pdf 中得到两个空白页,而在“图形”或“方案”环境中,什么都没有发生。在另一个使用相同序言的文件中,我至少可以导入图像,但 TMP 标签不会被替换。

在编译过程中,我看到“miketex-makepk 未成功”、“Ghostscript 9.25 错误:退出代码 1”、“dvips:映射文件中未找到字体,字符将留空”。

快速构建:PdfLaTeX + Bib(la)tex + PdfLaTeX(x2) + 查看 Pdf

PdfLaTex:pdflatex -enable-write18 -shell-escape -synctex=1 -interaction=nonstopmode %.tex

dvips:dvips -u +builtin35 -Pdownload35 -o %.ps %.dvi

Dvipdfm:dvipdfm %.dvi

ps2pdf: ps2pdf %.ps

ghostscript:“C:/Program Files/gs/gs9.21/bin/gswin32c.exe”

另外,我不知道如何包含.eps 文件,所以这里有一张图片: .png 格式

我将非常感激您的帮助;我已经为此奋斗了一段时间了!

\documentclass[12pt,a4paper,twoside,english,bibliography=totocnumbered,pointessnumbers]{scrbook}

\usepackage{geometry}
\geometry{verbose,lmargin=25mm,rmargin=25mm,foot=15mm,bmargin=35mm,a4paper} %Seitenränder
\usepackage[font=small,labelfont=bf,format=hang,tableposition=top]{caption}
\usepackage{layout}

\usepackage[T1]{fontenc} 

\usepackage{siunitx}

\usepackage{url}

\usepackage{textcomp}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fixltx2e}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{setspace} 
\onehalfspacing
\usepackage{ulem} 
\PassOptionsToPackage{normalem}{ulem}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{subcaption}

\usepackage{tabularx}

\usepackage{colortbl}



\usepackage{booktabs}
\usepackage[para]{threeparttable}%Fußnoten in Tabellen
\usepackage{etoolbox}
\appto\TPTnoteSettings{\footnotesize}
\usepackage{enotez}
\setenotez{list-heading=\section{#1},
list-name={Fußnoten},
list-style = itemize,
counter-format=roman}

\usepackage{enumitem}

\usepackage{textgreek}
\usepackage[version=4]{mhchem} %für chemische Formeln
\usepackage[autocite=superscript,backend=biber,style=chem-angew]{biblatex}
\makeatletter

\protected\long\def\blx@imc@mkbibemph#1{%Buchtitel wird nun kursiv statt unterstrichen
\textit{#1}\blx@imc@setpunctfont\textit}
\makeatother
\let\mkbibemph\mkbibitalic 

\addbibresource{Thesis.bib}




\usepackage{chemnum} %number chemical structures
\setchemnum{format=\sffamily\bfseries\small,replace-tag={TMP}}
\usepackage[runs=2,crop=off]{auto-pst-pdf} % Use EPS graphics with pdfLaTeX.
\usepackage{chemstyle}
\usepackage{psfrag}
\usepackage{blindtext}

\usepackage{fancyhdr}
\pagestyle{fancy}

\renewcommand{\chaptername}{} %to remove the word 'chapter' from the heading, so that it says '1.Introduction', and not 'Chapter 1. Introduction'

\usepackage[intoc]{nomencl} 
\renewcommand{\nomname}{List of Abbreviations}
\setlength{\nomlabelwidth}{.20\hsize}
\renewcommand{\nomlabel}[1]{#1}

\setlength{\nomitemsep}{-\parsep}

\makenomenclature

%\usepackage{float}
\usepackage{titleref}%Textverweise
\labelformat{figure}{Figure~#1}
\labelformat{table}{Table~#1} 
\labelformat{scheme}{Scheme~#1} 
\labelformat{equation}{Equation~#1}
\labelformat{section}{Section~#1}
\labelformat{subsection}{Subsection~#1}
\labelformat{subsubsection}{Subsection~#1}
\labelformat{footnote}{\textsuperscript{#1}}
\labelformat{endnote}{\textsuperscript{#1}}


\newcounter{GeneralProcedure} \setcounter{GeneralProcedure}{0}
\renewcommand{\theGeneralProcedure}{\textbf{\Alph{GeneralProcedure}}}
\newcommand{\GP}[1]{\refstepcounter{GeneralProcedure} \label{GP:#1}}

%Absätzlich nicht ans Ende der Seite strecken
\raggedbottom
%Zeilenspacing
\onehalfspacing




\newcommand{\via}{\textit{via }}


\usepackage[hyphenbreaks]{breakurl}
\clubpenalty = 10000 
\widowpenalty = 10000


\usepackage[colorlinks,
          pdfpagelabels,
          pdfstartview = FitH,
          bookmarksopen = true,
          bookmarksnumbered = true,
          linkcolor = black,
          plainpages = false,
          hypertexnames = false,
          citecolor = black] {hyperref}  

\begin{document}

\begin{equation}
\begin{aligned}
\centering
\replacecmpd{dimethylacetlyenecarboxylate}
\replacecmpd{diphenyldiselenide}
\replacecmpd{producta}
\replacecmpd{productb}
\includegraphics[scale=0.25]{./Images/Equations/eqn_1.4.eps} 
\end{aligned}
\label{eq:eqn1.4_selenoradicaltoalkyne}
\end{equation}

\end {document}

相关内容