Memory Latex Tikz externalize和shell escape不起作用

Memory Latex Tikz externalize和shell escape不起作用,memory,latex,tikz,Memory,Latex,Tikz,我正在尝试使用Tikz外部化,因为对于某些Tikz图片,文件会变大并超过内存大小。我发现很多其他主题都有类似的问题,但没有一个解决方案适合我,或者我没有很好地实现它们。 我正在使用winedt10.2(也尝试了winedt9) Mixtex 2.9 报告的结构: 最终报告.tex \documentclass[10pt,a4paper]{report} \input{./Lay_out/layout.tex}` \begin{document} \input{./Chapters/Simulat

我正在尝试使用Tikz外部化,因为对于某些Tikz图片,文件会变大并超过内存大小。我发现很多其他主题都有类似的问题,但没有一个解决方案适合我,或者我没有很好地实现它们。 我正在使用winedt10.2(也尝试了winedt9) Mixtex 2.9

报告的结构:

最终报告.tex

\documentclass[10pt,a4paper]{report}
\input{./Lay_out/layout.tex}`
\begin{document}
\input{./Chapters/Simulation_Model/Simulation_Model.tex}
\end{document}
--Layout.tex

--模拟_model.tex

\begin{figure}[H]
\resizebox{\textwidth}{!}{%
\input{./figures/plot_baseunit.tex}
}%
\caption{The throughput and cycle time of the production line plotted against the process time of a base unit workstation, as bottleneck of the system. The horizontal dotted lines represent the designed throughput and cycle time of the Honda/JLR(green) and Audi/Porsche roof systems(purple).}
\label{fig:Base_unit_through}
\end{figure}
----plot_baseunit.tex(Tikz图片)

最终报告.tex

\documentclass[10pt,a4paper]{report}
\input{./Lay_out/layout.tex}`
\begin{document}
\input{./Chapters/Simulation_Model/Simulation_Model.tex}
\end{document}
layout.tex

\usepackage{tikz,pgfplots}
\usetikzlibrary{arrows,decorations.pathmorphing,shadows,fit,positioning,shapes,chains, plotmarks,automata,positioning}
\usepackage{subcaption}
%\usepackage[pdftex]{graphicx}
\usetikzlibrary{external,calc,patterns,angles,quotes,shapes.geometric,positioning}
\pgfplotsset{plot coordinates/math parser=false}
\tikzexternalize[prefix=figures/,shell escape=-enable-write18]
\newlength\figureheight
\newlength\figurewidth
%Standard figure dimension
\newcommand{\plotx}{12.0cm}
\newcommand{\ploty}{6.0cm}
\newcommand{\plotysub}{3.0cm} %y-dimension of seperate subplots
%Subplot dimensions (2 plots wide subplots)
\newcommand{\subtwoplotx}{5.25cm}
\newcommand{\subtwoploty}{4.5cm}
\tikzstyle{block} = [draw, rectangle, node distance=2.0cm, minimum height=3em, minimum width=4em]
\tikzstyle{sum} = [draw, circle, node distance=2.0cm]
\tikzstyle{input} = [coordinate]
\tikzstyle{output} = [coordinate]
\tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
模拟_model.tex

\begin{figure}[H]
\resizebox{\textwidth}{!}{%
\input{./figures/plot_baseunit.tex}
}%
\caption{The throughput and cycle time of the production line plotted against the process time of a base unit workstation, as bottleneck of the system. The horizontal dotted lines represent the designed throughput and cycle time of the Honda/JLR(green) and Audi/Porsche roof systems(purple).}
\label{fig:Base_unit_through}
\end{figure}
当我尝试使用PDFTeXify运行此程序时,会出现以下错误

   (figures/plot_baseunit.tex
===== 'mode=convert with system call': Invoking 'pdflatex -halt-on-error -interaction=batchmode -jobname 
"figures/Final_Report-figure0" "\def\tikzexternalrealjob{Final_Report}\input{Final_Report}"' ========

! Package tikz Error: Sorry, the system call 'pdflatex -halt-on-error-interact
ion=batchmode -jobname "figures/Final_Report-figure0" "\def\tikzexternalrealjob
{Final_Report}\input{Final_Report}" 
没有生成可用的输出文件 “figures/Final_Report-figure0”(应为.pdf:.jpg:.jpeg:.png:)之一。 请验证是否已启用系统调用。对于pdflatex,这是“pdflatex-shell转义”。 有时它也被命名为“写18”或类似的东西。或者是命令失败了? 错误消息可在“figures/Final_Report-figure0.log”中找到。如果你现在继续,我将试着把图片排版

如果我只是按enter键,就会出现正确的数字,但这对大文件不起作用,然后内存大小就会超过

提前谢谢