1. Latex /Ctex insufficient memory problem
When compiling Latex, the error "fatal error Tex capacity exceeded, sorry [main memory size = 300000]" is reported
Due to too much drawing data, the memory usage exceeds the upper limit of TeX memory size, and the compilation fails. The solution is to specify a larger memory space. The steps are as follows :
(1) Open a DOS command window
Enter CMD in the window to enter DOS or directly start DOS from LAtex and Ctex as shown in the figure below, click the button of ' c:\ '
(2) Enter in the DOS command window
initexmf --edit-config-file=latex
(3) Enter in the automatically opened editor
main_memory=20000000
Then save the file and close the editor.
(4) On the DOS command line, enter
initexmf --dump=latex
Repeat (2) to (4) above to replace latex with pdflatex and cxlatex
2, Ctex/Latex's drawing toolkit pgfplots upgrade
(3) Rebuild the TeX filename database and execute the DOS command: texhash --admin
You can't double-click the PDF to go back to LATEX and CTEX.