author | Craig Dowell <craigdo@ee.washington.edu> |
Sat, 28 Jun 2008 19:46:55 -0700 | |
changeset 3332 | da67e8efa347 |
parent 3090 | doc/tutorial/figures/README@bb5c9e8041cd |
permissions | -rw-r--r-- |
2869
a331020d959f
a few tutorial updates; tutorial Makefile; tutorial figures directory
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
1 |
Please write image files in a vector graphics format, when possible, and |
a331020d959f
a few tutorial updates; tutorial Makefile; tutorial figures directory
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
2 |
generate the .png and .pdf versions on the fly (see ../Makefile). |
a331020d959f
a few tutorial updates; tutorial Makefile; tutorial figures directory
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
3 |
|
3090
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
4 |
Currently supported tools are dia and tgif. xfig could be added similarly |
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
5 |
if someone wants to add it. The main requirement for adding another format |
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
6 |
is that the tool to edit it is freely available and that a cron script can |
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
7 |
autogenerate the pdf and png from the figure source. |
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
8 |
|
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
9 |
Store the .dia, or .obj versions in mercurial, but not the .png or .pdfs. |
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
10 |
If the figure is not available in a vector graphics format, store both |
bb5c9e8041cd
add dia to the supported figure generation tools for the tutorial; clean up
Tom Henderson <tomh@tomh.org>
parents:
3087
diff
changeset
|
11 |
a .png and a .pdf version in this directory. |
3087
04ab9345891a
tutorial work (add back packet chapter)
Tom Henderson <tomh@tomh.org>
parents:
2869
diff
changeset
|
12 |
|
04ab9345891a
tutorial work (add back packet chapter)
Tom Henderson <tomh@tomh.org>
parents:
2869
diff
changeset
|
13 |
If you add a source (.dia, .obj) file here, remember to add it to |
04ab9345891a
tutorial work (add back packet chapter)
Tom Henderson <tomh@tomh.org>
parents:
2869
diff
changeset
|
14 |
the list of figure sources in the Makefile in the directory above |
2869
a331020d959f
a few tutorial updates; tutorial Makefile; tutorial figures directory
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
15 |
|
a331020d959f
a few tutorial updates; tutorial Makefile; tutorial figures directory
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
16 |
Note: tgif can convert from .obj to .pdf, but the pdf that results takes |
a331020d959f
a few tutorial updates; tutorial Makefile; tutorial figures directory
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
17 |
up a whole page. Instead, we convert to an intermediate .eps step, and |
a331020d959f
a few tutorial updates; tutorial Makefile; tutorial figures directory
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
18 |
then run epstopdf. |