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以pdf格式查看dvi文件,並且能夠完美地查看該文檔。

相關內容