octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broadcasting diagrams


From: John W. Eaton
Subject: Re: Broadcasting diagrams
Date: Sat, 31 Dec 2011 14:06:46 -0500

On 31-Dec-2011, Jordi Gutiérrez Hermoso wrote:

| Do you know the right incantations to make TeXinfo include my images
| correctly for all output formats, including whatever make(1) commands
| are necessary? It's mostly the latter infrastructure I'm asking about.

Here is what we do in the sparse.txi file, for example:

  @float Figure,fig:simplechol
  @center @image{spchol,4in}
  @caption{Structure of the un-permuted address@hidden of the above matrix.}
  @end float

You only need to specify the basename of the figure file in the
Texinfo source.  Various output formats require different types of
image files.  DVI/PostScript requires EPS.  HTML requires PNG.  PDF
requires PDF, and Info requires a text file, but we don't try to
produce anything useful there, we just use text files with the content

  +---------------------------------+
  | Image unavailable in text mode. |
  +---------------------------------+

The current Makefile rules for images are set up to make things simple
for figures generated by Octave.  Look at the file
doc/interpreter/images.awk and the images.mk Makefile fragment that it
generates.  We'll need to modify that or do something different for
images that are not generated from Octave scripts.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]