Whenever I try to view the DVI of my document I encounter this error
LaTeX Error:
Unknown option for 'dvialw' for package 'graphics'.
The description is:
\if
!\Gin@driver!
The option `dvialw' was not declared in package `graphics', perhaps you
misspelled its name. Try typing <return> to proceed.
This is my preamble:
\usepackage{fancyhdr} \pagestyle{fancy}
\cfoot{\thepage} % Print the page number in the center of the footer
\date{}
\lhead{}
\chead{}
\rhead{}
\renewcommand{\headrulewidth}{0.0pt}
The document class is a article.
The image I am trying to place is a .emf
I have also tried .jpg, .bmp, and .eps all of which resulted in the same error.
Any advice or help would be very much appreciated as this is a document for school that is due 10/28/10.
LyX ⇒ Error with graphics in Lyx
NEW: TikZ book now 40% off at Amazon.com for a short time.

Error with graphics in Lyx
You cannot use JPG, PNG, BMP... images with "plain" LaTeX (i.e., for DVI output). LaTeX supports only EPS format. If you want to use other image formats, compile your document with pdflatex instead of latex, so that the output is PDF, not DVI.
In case that you get the error again, create an example .lyx file with a picture in it, then put the file into a ZIP archive and attach it to your next post.
In case that you get the error again, create an example .lyx file with a picture in it, then put the file into a ZIP archive and attach it to your next post.
Error with graphics in Lyx
My understanding is that DVI is an obsolete format and with LyX you can bypass it.hitokiri wrote:Whenever I try to view the DVI of my document I encounter this error
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Error with graphics in Lyx
DVI is far from being obsolete.CSMR wrote:My understanding is that DVI is an obsolete format and with LyX you can bypass it.
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10