xdvi 不显示 tex 文件的页面

xdvi 不显示 tex 文件的页面

我正在使用以下命令:

latex <filename>.tex
xdvi <filename>.dvi

文档编译正常,但在 xdvik 查看器中只能看到第一页。我无法理解为什么会发生这种情况。我认为这是因为代码中存在一些错误。您能指出我在代码中犯的错误吗?图像没有造成问题,即删除图形(要插入的图像)的代码后,我也无法在 xdvik 中查看其余页面。

\documentclass[a4paper,11pt]{article}
\author{Name}
\title{Doc Name}
\usepackage{graphics} 
\begin{document}
% generates the title
\maketitle
\newpage
% insert the table of contents
\tableofcontents
\newpage

\section{Acknowledgement}
\paragraph{We wish to thank .....}
\newpage

\section{Abstract}
\paragraph{Our project is ....}

\begin{figure}[h]
\centering
\includegraphics{Name1.eps}
\caption{cap1}
\end{figure}

\begin{figure}[h]
\centering
\includegraphics{Name2.eps}
\caption{cap2}
\end{figure}

\section{Introduction}
\paragraph{....}

\section{Design Approach}
\paragraph{.....Aribitrary paragraph follows.Mrs. Southcott had recently attained her five-and-
twentieth blessed birthday, of whom a prophetic private in
the Life Guards had heralded the sublime appearance by
announcing that arrangements were made for the
swallowing up of London and Westminster. Even the
Cock-lane ghost had been laid only a round dozen of
years, after rapping out its messages, as the spirits of this
very year last past (supernaturally deficient in originality)
rapped out theirs. Mere messages in the earthly order of
events had lately come to the English Crown and People,
from a congress of British subjects in America: which,
strange to relate, have proved more important to the
human race than any communications yet received
through any of the chickens of the Cock-lane brood.
France, less favoured on the whole as to matters
spiritual than her sister of the shield and trident, rolled
with exceeding smoothness down hill, making paper
money and spending it. Under the guidance of her
Christian pastors, she entertained herself, besides, with
such humane achievements as sentencing a youth to have
his hands cut off, his tongue torn out with pincers, and his
body burned alive, because he had not kneeled down in
the rain to do honour to a dirty procession of monks
which passed within his view, at a distance of some fifty or
}

\section{Software Design}
\paragraph{.....Arbitrary paragraph follows.the latter, when every posting-house and ale-house could
produce somebody in ‘the Captain’s’ pay, ranging from
the landlord to the lowest stable non-descript, it was the
likeliest thing upon the cards. So the guard of the Dover
mail thought to himself, that Friday night in November,
one thousand seven hundred and seventy-five, lumbering
up Shooter’s Hill, as he stood on his own particular perch
behind the mail, beating his feet, and keeping an eye and a
hand on the arm-chest before him, where a loaded
blunderbuss lay at the top of six or eight loaded horse-
pistols, deposited on a substratum of cutlass.
}

\section{Hardware Design}
\paragraph{......}

\section{Conclusions and Future Work}
\paragraph{......}

\section{References}
\paragraph{}

\ldots{} The End
\end{document}

答案1

谢谢大家的回答。我以前dvipdf Myfile.dvi将 dvi 文件视为 pdf,并且可以完美地查看该文档。

相关内容