Re: ubuntu-users Digest, Vol 31, Issue 251



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


Relevant Pages

  • make-latex: using xfig (.fig) graphics in latex documents
    ... I have a simple latex document in that I try to include a xfig graphic ... states that .fig files can be bound in latex sources as: ... LaTeX Error: Unknown graphics extension: .fig. ...
    (Ubuntu)
  • Re: TeX is broken? LaTeX is broken?
    ... Many exceed the limits. ... and writes the string to a file. ... The single line of code in a LaTeX document ... This is a minor extension. ...
    (comp.text.tex)
  • Re: laprint, LateX , .eps graphics format and wind
    ... Yes I'm using graphicx package. ... I suggest you investigate the psfrag package as well, ... excellent for replacing embedded text with LaTeX text. ... explicitly state the extension using ...
    (comp.soft-sys.matlab)
  • Re: flavours of LaTeX
    ... files (whereas the older 'latex' (linked to etex on that box) does). ... Do you specify the name of the eps file with or without the extension ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: fancyhdr and Section Headings
    ... The log file is the file with the extension ".log". ... I've run LaTeX on the file and it's produced the DVI file (which I ... Open the windows explorer, go to extras->folder options ... Uncheck the option "hiding known ...
    (comp.text.tex)