I finally decided to follow up on this question, and try to fix some of the problems in the document from Project Gutenberg.
https://www.gutenberg.org/ebooks/43006
This is a read-only link to my copy of the project. It works for me without authentication.
https://www.overleaf.com/read/mbvgzybcxgmq
I have discovered that the graphics are not being added to the PDF when compiled. These are the commands which seem to deal with including images.
%% Diagrams %% \newcommand{\Graphic}[2][]{% \Pagelabel[fig]{#2}% \ifthenelse{\equal{#1}{}}{% \includegraphics{./images/fig#2.pdf}% }{% \includegraphics[width=#1]{./images/fig#2.pdf}% }% } % \Figure{figure number} \newcommand{\Figure}[2][]{% \begin{figure}[hbt!] \centering \Graphic[#1]{#2} \end{figure}\ignorespaces% }
This is an example log warning message:
<./images/fig1.pdf, id=481, 614.295pt x 794.97pt> File: ./images/fig1.pdf Graphic file (type pdf) <use ./images/fig1.pdf> Package pdftex.def Info: ./images/fig1.pdf used on input line 1727. (pdftex.def) Requested size: 614.29349pt x 794.96806pt. Overfull \hbox (280.04474pt too wide) in paragraph at lines 1727--1727 [][] [] LaTeX Warning: Float too large for page by 357.73434pt on input line 1727.
How can I fix this?
width=#1
where#1
mean the first argument of the macro. So the width of the image could be what you type after \Graphic between braces (it could be some like15cm
,125pt
,14em
or0.5\linewidth
).\end{...}
without remove\begin{...}
, remove a packages that still is used in the not removed part, etc.).