| 1 |
Fig4LaTeX is designed to simplify management of the figures in a large LaTeX |
| 2 |
document. Fig4LaTeX is appropriate for projects that include |
| 3 |
figures with graphics created by XFig -- in particular, graphics which use |
| 4 |
the combined PS/LaTeX (or PDF/LaTeX) export method. When such a figure includes |
| 5 |
text elements that are marked with the "special" flag, those texts are actually |
| 6 |
rendered by LaTeX and only the strictly graphical elements of the figure are |
| 7 |
rendered by including an image. See the example document, included in this |
| 8 |
directory which has been cunningly named "example.tex". |
| 9 |
|
| 10 |
In a large project one would typically place the .fig files in a seperate |
| 11 |
sub-directory. In "example.tex" the figures are in a sub-directory named |
| 12 |
"figs/" -- changing into that directory and running the fig4latex script |
| 13 |
produces a Makefile, one then runs "make" in order to create the .tex and |
| 14 |
.eps (or .pdf) files which contain the graphic. |
| 15 |
|
| 16 |
Fig4latex has been (minimally) tested in an Ubuntu linux environment. |
| 17 |
The prerequisites are Perl, fig2dev and Make, so it could probably be made to |
| 18 |
work in other environments. |
| 19 |
|
| 20 |
Usage: fig4latex [-d dir] [-m NUM] [-p] [-l] [-h] |
| 21 |
|
| 22 |
-d DIR Directory containing the figures (a path relative to |
| 23 |
the directory where your LaTeX source files are). |
| 24 |
-m NUM Magnification factor. |
| 25 |
-p Pdflatex -- create makefile for use with pdflatex -- the images |
| 26 |
get converted to pdf format. |
| 27 |
-l Latex -- create makefile for use with (regular) latex -- the images |
| 28 |
are exported as eps format. (this is the default) |
| 29 |
-h Help -- print this message and quit. |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
--Joe Fields |
| 35 |
[email protected] |
| 36 |
|
| 37 |
----------------------------------------------------------------------- |
| 38 |
This file is part of fig4latex. |
| 39 |
|
| 40 |
fig4latex is free software: you can redistribute it and/or modify |
| 41 |
it under the terms of the GNU General Public License as published by |
| 42 |
the Free Software Foundation, either version 3 of the License, or |
| 43 |
(at your option) any later version. |
| 44 |
|
| 45 |
fig4latex is distributed in the hope that it will be useful, |
| 46 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 47 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 48 |
GNU General Public License for more details. |
| 49 |
|
| 50 |
You should have received a copy of the GNU General Public License |
| 51 |
along with fig4latex. If not, see <http://www.gnu.org/licenses/>. |
| 52 |
|