Several problems encountered with LaTex/Ctex - insufficient memory, pgfplots installation, etc.

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

( 1) Download the latest macro package compression package from the Internet
            http://sourceforge.net/projects/pgfplots/files/pgfplots/


(2) Unzip the compressed package, copy the latex subdirectory under the package to C:\CTEX\CTeX\tex, and overwrite it all (it is best to back it up before overwriting).

(3) Rebuild the TeX filename database and execute the DOS command: texhash --admin

3. To use drawing tools such as groupplot and boxplot in Ctex, upgrade pg fplots to version 1.11

4. The cursor of Ctex/Latex becomes a horizontal line instead of a vertical line | , and cannot be modified
    In the bottom column of ctex, there is an over (the cursor is an underline at this time)


      Click Over to turn into INS to turn the cursor into a vertical line| 


5. After Ctex is compiled, double-clicking the PDF file cannot return to Ctex


  As shown in the figure below, the bottom line of CTEX and LATEX has a --src control, if clicked, it will be shown in the figure below



You can't double-click the PDF to go back to LATEX and CTEX.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324631592&siteId=291194637