make-latex: using xfig (.fig) graphics in latex documents
James Tappin
sjt at star.sr.bham.ac.uk
Wed Mar 28 13:44:38 UTC 2007
On Wed, 28 Mar 2007 15:18:04 +0200
Luqman <luqman_ngs at gmx.net> wrote:
L>
L> hi,
L> I have a simple latex document in that I try to include a xfig
L> graphic with .fig extension but it does not work.
L>
L> The figlatex.pdf documentation on the latex-make website
L> http://gforge.inria.fr/docman/~\index{.php?group_id=261&selected_doc_group_id=420&language_id=1
L>
L>
L> states that .fig files can be bound in latex sources as:
L> \includegraphics[width=\linewidth]{myfig.fig}
L>
L> I've tried it as visible in my source file below but receive
L> following error message when I run make:
L>
L> ! LaTeX Error: Unknown graphics extension: .fig.
L>
L> transfig is installed on my Ubuntu 6.10.
L>
L> Following is the latex source file:
L> ---------------//main.tex ---------------------------
L> \documentclass{report}
L> \usepackage{graphicx}
L> \begin{document}
L>
L> \title{My Report}
L> \author{Luqman Munawar}
L> \maketitle
L>
L> \tableofcontents{}
L> \listoffigures
L> \listoftables
L>
L> \chapter{chapter number one}
L> \includegraphics[width=\linewidth]{networking_scenario.fig}
L>
L> \chapter{chapter number two}
L> \end{document}
L> ------------------END main.tex \\ -------------------------
L>
L> Any idea what is the cause of this problem? Is there a bug in Edgy
L> related to latex-make?
L>
L> Regards,
L>
I'm not sure whether this is supposed to be possible, but the usual
method is to export the figure from xfig to eps (or pdf if you are using
pdflatex).
James
--
+------------------------+-------------------------------+---------+
| James Tappin | School of Physics & Astronomy | O__ |
| sjt at star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+--------------------------------------------------------+---------+
More information about the ubuntu-users
mailing list