category: LaTeX

pdflatex runs out of memory

8 Jan, 2017 - 1 minutes
Happy New Year! - First post of the year. Error with pdflatex which complains about memory, something like this: 9287453 words of memory out of 18000000 Use lualatex - apparently it is meant to handle memory better. Then increase the allocated memory by editing /etc/texmf/texmf.d/00debian.cnf to include: main_memory=9000000 extra_mem_bot=9000000 font_mem_size=9000000 pool_size=9000000 buf_size=9000000 Update all the things, not sure which of these are needed: fmtutil-sys --all update-texmf texhash If it is still not working, check you have the luatex package installed:

LaTeX Install .cls

20 Mar, 2014 - 1 minutes
Installing a LaTeX class in three simple steps. locate article.cls Copy your .cls file to the same directory. sudo cp yourclsfile.cls /usr/share/rest/of/the/path/from/above Update the kpathsea database. sudo texhash