Re: No .dvi output
- From: Lars Madsen <daleif@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 20 Jan 2008 00:45:26 +0100
cyoars@xxxxxxxxx wrote:
On Jan 18, 12:10 pm, Lars Madsen <dal...@xxxxxxxxxxxxxxxxxxxxx> wrote:cyo...@xxxxxxxxx wrote:Hello,what kind of code are you writing? are there any included graphics? What does
I have LaTeX up and running and I've written basic code and can get a
pdf output, etc. I get an error that the .dvi file is not creating. Is
this important? I'm attaching some screenshots. On the second page of
the screenshots are all of the files I *do* create for a project. I
wonder if either of you have run into this before and could point me
in the right direction.
the log say?
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.minimalbeispiel.de/mini-en.html
I am just posting something basic--that our professor gave us (I
assume it works fine on his computer, since he also gave us the pdf
output). I don't know that I have the current log with me (I'm on a
different computer). Thank you.
\documentclass[pdftex,letterpaper,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{harvard}
\usepackage{booktabs}
\title{All Things \LaTeX{}: An Introduction\thanks{This handout is
revised (i.e., plagiarized) from a handout Phil Habel put together for
500b in 2007}}
\author{J. Tobin Grant}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
This paper illustrates a bunch of \LaTeX{} code and demonstrates
some cool things that you will eventually be able to accomplish if
you make the switch to \TeX. Play with the code. Take things out,
manipulate values\ldots see what happens.
\end{abstract}
\newpage
\noindent Here is some text. Whenever you give text
to \TeX, it ignores additional whitespace. (Check the
code for the previous sentence.) It is full of extra spaces that are
ignor ed. To start a new paragraph, be sure to have a
full line break in between.\\
A few common commonly used typeset commands:\\
SIU Salukis (Standard Font) \\
\textit{SIU Salukis} (Italic) \\
\emph{SIU Salukis} (Emphasis) \\
\texttt{SIU Salukis} (Typewriter) \\
\textbf{SIU Salukis} (Bold) \\
\underline{SIU Salukis} (Underlined) \\
\tiny{SIU Salukis} \\
\footnotesize{SIU Salukis} \\
\large{SIU Salukis} \\
\Large{SIU Salukis} \\
\Huge{SIU Salukis} \\
\normalsize
\newpage
There are a variety of special characters, such as \$ and \%. Notice
how each of these characters are written in the source code. These
particular characters are important because they tell \TeX{} that
you are going to use math or make a comment. Comments do not appear
in the final \TeX{} code.\\
Math mode is a special environment that allows math to be embedded
directly into text. For instance: $a^{2} + b^{2} = c^{2}$. It is
also important to note that some characters such as $<$ and $>$ only
appear correctly in math mode.\\
Also note how quote marks should be typeset in \TeX:
\centerline{Young Child: "Mommy, may I have a Saluki for
Christmas?"}
The correct way:
\centerline{Mother: ``Sorry, we're having turkey this year.''}
\newpage
\section{Environments}
There are a variety of ``environments'' in \TeX. Environments denote
sections to be processed differently from regular text. For
instance, we quote an entire paragraph using the \texttt{quote}
environment:
\begin{quote}
WYSIWYG programs replace \LaTeX's logical design with \emph{visual
design}. Visual design is fine for short, simple documents like
letters and memos. It is not good for more complex documents such as
scientific papers. WYSIWYG has been characterized as ``what you see
is all you've got'' (Lamport 1994, 7).
\end{quote}
Notice that the \texttt{quote} environment indents the text and
separates it from the preceding and subsequent text. To quote
multiple paragraphs at once, use the \texttt{quotation} environment
instead.
\subsection{List Environments}
This is our first subsection. Notice how it is numbered.
There are a variety of list environments, each is slightly
different. If you wish to make an unordered list, simply use the
\texttt{itemize} environment.
\begin{itemize}
\item Tobin Grant
\item Scott McClurg
\item Philip Habel
\end{itemize}
This is just a bullet point list. On the other hand, you might want
to order a list. In that case, you use the \texttt{enumerate}
environment. Here are some nonrandomly selected Big Ten teams:
\begin{enumerate}
\item Ohio State (Irado!)
\item Illinois (caf\'{e} pequeno)
\item Michigan (acha que \'{e} o rei da cocada preta)
\end{enumerate}
\newpage
\subsection{Special Characters}
\noindent Some lower-case Greek letters:
\begin{itemize}
\item $\alpha$
\item $\beta$
\item $\gamma$
\end{itemize}
\noindent Upper-case Greek letters.
\begin{itemize}
\item $\Gamma$
\item $\Delta$
\item $\Theta$
\end{itemize}
\noindent Symbols that must be preceded by a slash.
\begin{itemize}
\item \&
\item \$
\item \{
\item \}
\item \%
\item \#
\item \_
\end{itemize}
\end{document}
I assume that it is texniccenter that gives the 'error', though it is not an error. Are you producing PDF? via pdflatex? then there is not suppose to be any dvi-file.
BTW: that
text text \\
text text
is a pretty bad construction (LaTeX issues a warning) and it is a bad choice typographically.
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html
.
- References:
- No .dvi output
- From: cyoars
- Re: No .dvi output
- From: Lars Madsen
- Re: No .dvi output
- From: cyoars
- No .dvi output
- Prev by Date: Re: Paragraph separation
- Next by Date: Re: No .dvi output
- Previous by thread: Re: No .dvi output
- Next by thread: Re: No .dvi output
- Index(es):
Relevant Pages
|