make-figure(1)

MAKE-FIGURE(1) General Commands Manual MAKE-FIGURE(1)

NAME

make-figure - Prepare a figure for document layout

ANNOTATION

make-figure template-file [template-file...] [scale]

PURPOSE OF THE PROGRAM

The make-figure is intended to help in preparing figures for LaTeX documents. The main idea is to have one set of figure sources accompained with the appropriate TeX template files and to produce final TeX and graphical files from them automatically. The main variable parameter this script is focused at is the final figure scale. With different figure sources and graphical composition features the plain PostScript scaling of the picture area may be undesirable. Especially, when you want to have all text on the figures to be rendered by TeX without rescaling.

WORKING METHODS

The main objects of the process are the figure templates. A figure template is a LaTeX file describing the figure sources, layout, its captions and labels. The name of a template file has a suffix .tex.in. Additional scale parameter is 1.0 by default.

If you are using the psfrags LaTeX package then you are able to define text labels for every tag in the figure. Defining labes this way gives your figure's labels the same style, as the main text. To help the use of psfrags with any PS picture the extract-psfrags utility is packaged along with make-figure. This utility extracts every piece of text found on the picture as psfrag macro call.

TEMPLATES

The main difference between ordinary LaTeX document fragment and a figure template is the recipe lines.

Each recipe has the following structure:

@graphic <picture type> <filename> <scale>
where valid values for the <picture type> are: raster, vector and plot, intended to adopt the raster, vector and plot images respectively; <filename> defines a figure source to process; <scale> defines the relative scale of that figure part in the composition.

The raster image soruce can be presented in any format suported by the ImageMagick program (i.e. nearly any open format), vector figure should be presented in SVG format. A plot source is the GNU Octave program. Due to this inordinary dependence the plot figure type is available only with additional make-figure-plot package installed.

The relative picture scale is multiply by the target figure scale.

AUTHOR

Paul Wolneykien <manowar@altlinux.org>.

ìéãåîúéñ

Copyright (C) 2009 Paul Wolneykien.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

CONTACTS

ALT Linux, Ltd <http://www.altlinux.org/>.

July, 2009