Re: ubuntu-users Digest, Vol 31, Issue 251
- From: Alain Muls <alain.muls@xxxxxxxxxx>
- Date: Wed, 28 Mar 2007 17:06:27 +0200
On Wednesday 28 March 2007 16:13, ubuntu-users-request@xxxxxxxxxxxxxxxx wrote:
hi,
I have a simple latex document in that I try to include a xfig graphic
with .fig extension but it does not work.
The figlatex.pdf documentation on the latex-make website
http://gforge.inria.fr/docman/~\index{.php?group_id=261&selected_doc_group_
id=420&language_id=1
states that .fig files can be bound in latex sources as:
\includegraphics[width=\linewidth]{myfig.fig}
I've tried it as visible in my source file below but receive following
error message when I run make:
! LaTeX Error: Unknown graphics extension: .fig.
Hi,
Icluding a .fig files depends on whether you use latex or pdflatex.
For latex compilation you use
\begin{figure}
\scalebox{0.8}{\input{myfig.pstex_t}
\end{figure}
For pdfatex compilation you use
\begin{figure}
\scalebox{0.8}{\input{myfig.pdf_t}
\end{figure}
You can leave out the scalebox, it just scales your latex font in the figure to 80% (0.8) which I feel is very nice.
A nice tool for compiling your latex file is 'rubber'
http://www.pps.jussieu.fr/~beffara/soft/rubber/doc_toc.html#SEC_Contents
it will automatically convert your fig files to the desired formats without you having to export them manually in XFig.
--
mvg/Alain
________________________________________________________
Alain Muls Tel +32.2.7426340
Royal Military Academy Fax +32.2.7426472
Dep CISS-ASGE alain.muls@xxxxxxxxxx
________________________________________________________--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Prev by Date: Re: 6.06: Desktop won't start afet updates.
- Next by Date: Re: popularity-contest
- Previous by thread: popularity-contest
- Next by thread: Safley Removing Old Kernel Images
- Index(es):
Relevant Pages
|