(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty)) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty) (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) *geometry* detected driver: dvips (./3b.toc) [1 Non-PDF special ignored! <special> papersize=433.62pt,650.43pt {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] LaTeX Warning: No \author given. (./1b.tex (./3b.toc) (./9.tex (./3b.toc) (./10.tex [2] (./3b.toc) (./10.tex (./3b.toc) (./10.tex (./3b.toc) (./10.tex (./3b.toc) (./10.tex (./3b.toc) (./10.tex [3] (./3b.toc) (./10.tex (./3b.toc) (./10.tex (./3b.toc) (./10.tex (./3b.toc) (./10.tex (./3b.toc) (./10.tex [4] (./3b.toc) ! No room for a new \write. \e@ch@ck ...message {No room for a new \string #4} \fi \fi l.42 \tableofcontents
The files were ones that had built in the past, and then when I tried to build them again, they would fail. What's strange is that there is no 9.tex or 10.tex file anywhere in the source (or the imported) tex files. Although there are ones in the same directory. I don't understand why it's looking for them. I found that if I stripped everything out of the imported tex files, so it was a skeleton almost, it still failed to build. Finally, I moved the tex file from its original directory, put it in a fresh directory, and it built immediately.
Would a directory with say 100 files be a problem to pdflatex? Is there a way to get more detailed output in the log for what it's trying to do? Any help much appreciated. I can provide the imported tex files if requested. Here's the main tex file:
\documentclass[11pt]{book} \usepackage{standalone} \usepackage{import} \usepackage{graphicx} \usepackage{caption} \usepackage{xcolor} \title{Title of doc} %for c code (maybe not required) \usepackage{listings} \lstset{ basicstyle=\small\ttfamily, columns=flexible, breaklines=true language=C %todo: custom language } \paperheight=9in \paperwidth=6in \pdfpagewidth=6in \pdfpageheight=9in \setlength{\pdfpagewidth}{\paperwidth} \setlength{\pdfpageheight}{\paperheight} \usepackage[vcentering,dvips]{geometry} \geometry{papersize={6in,9in},total={4.5in,6.8in}} \begin{document} \tableofcontents \maketitle \begin{center} \textbf{Preface:} \vspace{0.2in} \end{center} placeholder text... \section{Door} \import{/home/layoutdev/Desktop/code/documentation_general/Projects_2020/Door/docs/}{1b} \section{Car Stereo Replacement} \import{/home/layoutdev/Desktop/code/documentation_general/Projects_2019/Car_Stereo/docs/}{1b} \end{document}