TEX ルートを介して EPS を PDF に変換するときに chemstyle でエラーが発生する - hyperref の問題

TEX ルートを介して EPS を PDF に変換するときに chemstyle でエラーが発生する - hyperref の問題

私は論文を執筆中ですchemstyleパッケージが使用されていない場合、番号付けとスキームはmemoirクラス内で正常に機能しますepstopdf。 機能しているコードは次のとおりです。

\documentclass{memoir}

\usepackage{graphicx}
%\usepackage{epstopdf}
\usepackage[runs=2]{auto-pst-pdf}
\usepackage[journal=angew,varioref=false,tracking=bpchem]{chemstyle}

\begin{document}
\begin{scheme}[hbt!]
    \centering

        \schemeref[TMP1]{t6poca}
        \schemeref[TMP2]{tcta}
        \schemeref[TMP3]{tpa}
        \schemeref[TMP4]{tpa2}
        \includegraphics[width=\textwidth]{retroexp.eps}
            \caption{Retrosynthesis of  expanding from}
                    \label{retro1}
\end{scheme}
\end{document} 

次に、修正した memoir クラスを使用して、セクションを異なる .tex ドキュメントに分割します。ただし、次のエラーが表示されます。

Process started: pdflatex -shell-escape -synctex=1 -interaction=nonstopmode "thesis".tex

This is dvips(k) 5.993 Copyright 2013 Radical Eye Software (www.radicaleye.com) ' TeX output 2015.05.02:1751' -> thesis-autopp.ps

 dvips: Font Times-Roman used in file retroexp.eps is not in the mapping file. </usr/share/texlive/texmf-dist/dvips/base/tex.pro> </usr/share/texlive/texmf-dist/dvips/config/alt-rule.pro> </usr/share/texlive/texmf-dist/dvips/pstricks/pstricks.pro>

  </usr/share/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>    </usr/share/texlive/texmf-dist/dvips/pst-tools/pst-tools.pro> </usr/share/texlive/texmf-dist/dvips/pstricks/pst-dots.pro> </usr/share/texlive/texmf-dist/dvips/psfrag/psfrag.pro> </usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc> </usr/share/texlive/texmf-dist/dvips/base/texps.pro> </usr/share/texlive/texmf-dist/dvips/base/special.pro> </usr/share/texlive/texmf-dist/dvips/base/color.pro>. </usr/share/texlive/texmf-dist/fonts/type1/urw/helvetic/uhvb8a.pfb> </usr/share/texlive/texmf-dist/fonts/type1/urw/times/utmr8a.pfb>[1    <./retroexp.eps>

]

 Error: /undefined in --get-- Operand stack: blank --dict:15/15(ro)(L)-- space Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1176/1684(ro)(G)-- --dict:1/20(G)-- --dict:123/200(L)-- --dict:5/6(ro)(L)-- --dict:181/300(L)-- --dict:45/200(L)-- --dict:197/210(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 141251 GPL Ghostscript 9.10: Unrecoverable error, exit code 1

Process exited with error(s)

ルートファイルは次のとおりです:

 %!TEX ROOT=thesis.tex
 \documentclass{UMalChemThesis}

   \usepackage{graphicx}
 \usepackage[crop=off,runs=2]{auto-pst-pdf}
 \usepackage[journal=angew,varioref=false,tracking=bpchem]{chemstyle}


 %%%%%%%%%%%
 % List of Schemes

 % not yet know how to make it simpler
 % feel free to change it
%%%%%%%%%%

% to override chemstyle using memoir command
\newlistof{listofschemes}{los}{\listschemename} 
\newlistentry{scheme}{los}{0}

 % make new command \listallcontents to list ToC, lof, lot, los, loacr, loapp
% modify here for any new list
% the order of the list determines the sequence which they would appear in the output
\newcommand{\listallcontents}{{\clearpage\SingleSpacing
\tableofcontents\clearpage
\listoffigures\clearpage
\listoftables\clearpage
\listofschemes\clearpage
 \listofacronyms\clearpage
 \listofappendices\clearpage}}


% make scheme caption on top of scheme
\floatsetup[scheme]{style=plaintop} 

 \usepackage{lipsum}

  \usepackage{csquotes}


   \addbibresource{achs.bib}

\author{bk.ong}
    \title{blah blah blah}
    \submissionyear{2015}
  \degree{Doctor of Philosophy}

    % load acronym definitions from separate file
   \loadglsentries{acronyms}
   \setlength{\glsdescwidth}{.7\textwidth}
 \begin{document}
  \frontmatter

  \makecoverandtitlepage
 \declarationpage
   %\abstractfromfile{sample-abstract}
     \msabstractfromfile{sample-msabstract}
    \acknowledgements{Thanks guys. I owe you many.}

   \listallcontents % list ToC, lof, lot, etc...

  \mainmatter

  %\include{Introduction}
   %\include{RESULTS}
  \include{test})



       \backmatter

     \SingleSpacing\printbibliography

     \begin{appendices}
   \startapps
     %\include{sample-appen-manual}
    %\include{sample-appen-try}
     \finishapps
  \end{appendices}

 \end{document}

変更された回想録ファイルは次のとおりです。

UMalChemThesis.cls

ファイルの tex ルートは thesis.tex です。Chemstyle は retroexp.eps を変換するはずですが、代わりに空の thesis-pics.pdf が見つかります。epstopdfパッケージも使用すると、スキームは正しいものの、マーカー 'TMP' がまだ残っています。

誰かエラーメッセージの解釈を手伝ってくれませんか? よろしくお願いします!

答え1

ついに解決しました。変更点は だけですmathptmxtgtermesまた、hyperrefオプションで、breaklinks を無効にして、implicit=false を設定します。

したがって、UMalChemThesis.cls では次のようになります。

  \RequirePackage{tgtermes}
  %\RequirePackage{mathptmx}

  \RequirePackage[implicit=false,pdfborder={0 0 0}]{hyperref}

Johannes_Bに感謝

関連情報