gpt4 book ai didi

LaTeX 仅打印文档的前两页

转载 作者:行者123 更新时间:2023-12-03 23:32:53 31 4
gpt4 key购买 nike

我在 LaTeX 中工作,当我创建 pdf 文件(使用 LaTeX 按钮或 pdfLaTeX 按钮或使用 yap)时,pdf 只有前两页。没有错误。它只是停止。如果我通过添加文本使第一页更长,它仍然会停在第二页的末尾。有任何想法吗?

好的,回复第一条评论,这是代码

\documentclass{article}
\title{Outline of Book}
\author{Peter L. Flom}
\begin{document}
\maketitle
\section*{Preface}
\subsection*{Audience}
\subsection*{What makes this book different?}
\subsection*{Necessary background}
\subsection*{How to read this book}
\section{Introduction}
\subsection{The purpose of logistic regression}
\subsection{The need for logistic regression}
\subsection{Types of logistic regression}
\section{General issues in logistic regression}
\subsection{Transforming independent and dependent variables}
\subsection{Interactions}
\subsection{Model selection}
\subsection{Parameter estimates, confidence intervals, p values}
\subsection{Summary and further reading}
\section{Dichotomous logistic regression}
\subsection{Introduction, theory, examples}
\subsection{Exploratory plots and analysis}
\subsection{Basic model fitting}
\subsection{Advanced and special issues in model fitting}
\subsection{Diagnostic and descriptive plots and analysis}
\subsection{Traps and gotchas}
\subsection{Power analysis}
\subsection{Summary and further reading}
\subsection{Exercises}
\section{Ordinal logistic regression}
\subsection{Introduction, theory, examples}
\subsubsection{Introduction - what are ordinal variables?}
\subsubsection{Theory of the model}
\subsubsection{Examples for this chapter}
\subsection{Exploratory plots and analysis}
\subsection{Basic model fitting}
\subsection{Advanced and special issues in model fitting}
\subsection{Diagnostic and descriptive plots and analysis}
\subsection{Traps and gotchas}
\subsection{Power analysis}
\subsection{Summary and further reading}
\subsection{Exercises}
\section{Multinomial logistic regression}
\subsection{Introduction, theory, examples}
\subsection{Exploratory plots and analysis}
\subsection{Basic model fitting}
\subsection{Advanced and special issues in model fitting}
\subsection{Diagnostic and descriptive plots and analysis}
\subsection{Traps and gotchas}
\subsection{Power analysis}
\subsection{Summary and further reading}
\subsection{Exercises}
\section{Choosing a model}
\subsection{NOIR and its problems}
\subsection{Linear vs. ordinal}
\subsection{Ordinal vs. multinomial}
\subsection{Summary and further reading}
\subsection{Exercises}
\section{Extensions and related models}
\subsection{Other logistic models}
\subsection{Multilevel models - PROC NLMIXED and GLIMMIX}
\subsection{Loglinear models - PROC CATMOD}
\section{Summary}
\end{document}

谢谢

彼得

最佳答案

LaTeX 宏\section、\subsection 等旨在在它们之后放置一些文本。他们故意防止紧随其后的 Material 中断。由于您有一系列没有其他任何内容的分段宏,因此无处可中断。如果你查看你的日志,你会看到一个过满的 vbox:我得到

\output 处于事件状态时发生了过满的\vbox(712.84044pt 太高)[]

这意味着\box 255(实际上包含排版页面)的内容太大了,并且从底部溢出。由于 section 命令从未打算像这样使用,您可能需要重新考虑您的方法,或者编写您自己的版本,不会弄乱换行符。

关于LaTeX 仅打印文档的前两页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2677426/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com