Document Classeselsarticle | No DVI Output

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
diaa_abidou
Posts: 5
Joined: Sun Apr 15, 2012 1:23 pm

elsarticle | No DVI Output

Post by diaa_abidou »

I am working on compiling a LaTeX article in the format required by Elsevier. However, it worked before good, but now I have a problem of not producing the title, abstract and keyword environments. Except that, all the remaining manuscript can be generated smoothly. I tried to make a minimal example with the same preamble while having only the title, abstract and keyword. This minimal example doesn't generate a dvi output file. Therefore, I attached both the minimal example tex file and its log file to get a help.

Thanks in advance
Attachments
NoDviOutput.TEX
(429 Bytes) Downloaded 261 times
NoDviOutput.log
(10.13 KiB) Downloaded 260 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

elsarticle | No DVI Output

Post by Stefan Kottwitz »

Hi,

welcome to the board!

For displaying the abstract, you need to use the frontmatter environment. For example:

Code: Select all

\documentclass[preprint,5p,a4paper,10pt]{elsarticle}
\begin{document}
\begin{frontmatter}
  \title{any title}
  \begin{abstract}
    some abstract
  \end{abstract}
  \begin{keyword}
    something
  \end{keyword}
 \end{frontmatter}
main text
\end{document}
Stefan
LaTeX.org admin
diaa_abidou
Posts: 5
Joined: Sun Apr 15, 2012 1:23 pm

Re: elsarticle | No DVI Output

Post by diaa_abidou »

Thanks for fast help, it works like a charm.
Post Reply