2008-08-02 13:57:32 +02:00
|
|
|
The primary figures are stored in zip/svg.zip. These are vector graphic
|
|
|
|
figures that can be manipulated or created by the `inkscape' program.
|
|
|
|
|
2011-05-28 17:04:36 +02:00
|
|
|
When creating or modifying figures:
|
2014-10-21 15:03:10 +02:00
|
|
|
===================================
|
2011-05-28 17:04:36 +02:00
|
|
|
cd zip
|
|
|
|
./prepare
|
|
|
|
|
2014-10-21 15:03:10 +02:00
|
|
|
this will extract the zips in their appropriate directories.
|
|
|
|
|
2011-05-28 17:04:36 +02:00
|
|
|
Then
|
2014-10-21 15:03:10 +02:00
|
|
|
====
|
|
|
|
cd svg
|
|
|
|
|
|
|
|
chdir to the appropriate directory and start inkscape
|
|
|
|
with the name of the figure to create/edit
|
|
|
|
|
|
|
|
When a figure is created or modified, save its .svg format. A new picture
|
2015-12-23 14:03:29 +01:00
|
|
|
can be given a certain size.
|
|
|
|
|
2017-11-22 17:37:21 +01:00
|
|
|
>>> USE PICTURE SIZES OF 190 (w) X 280 (h) MM,
|
2015-12-23 14:03:29 +01:00
|
|
|
just a bit smaller than A4:
|
2008-08-02 13:57:32 +02:00
|
|
|
|
|
|
|
-> shift-ctrl d to define the size
|
|
|
|
-> within the inkscape window: 5 to zoom in or use the zoom icon (3rd
|
|
|
|
magnifying glass icon)
|
|
|
|
|
2011-05-28 17:04:36 +02:00
|
|
|
Save the image using ctrl-S, and then
|
2014-10-21 15:03:10 +02:00
|
|
|
=====================================
|
|
|
|
(save .eps and .pdf formats in the svg directory)
|
2011-05-28 17:04:36 +02:00
|
|
|
|
|
|
|
Save As
|
|
|
|
|
2015-05-28 10:47:18 +02:00
|
|
|
When saving select export object size, not the page size
|
|
|
|
|
|
|
|
Save in the format Encapsulated Postscript (eps) and PDF
|
2013-12-30 23:23:55 +01:00
|
|
|
|
2014-10-21 15:03:10 +02:00
|
|
|
(There's no need to convert the pdf to gif: that happens at ./install
|
|
|
|
below)
|
2011-05-28 17:04:36 +02:00
|
|
|
|
|
|
|
|
2014-10-21 15:03:10 +02:00
|
|
|
Having performed all image-editing, cd back to ~/zip and run:
|
|
|
|
=============================================================
|
|
|
|
./install
|
2014-10-20 12:09:55 +02:00
|
|
|
|
2014-10-21 15:03:10 +02:00
|
|
|
This also installs the files at the ../latex and ../html directories
|
2014-10-20 12:09:55 +02:00
|
|
|
|
|
|
|
Finally:
|
2014-10-21 15:03:10 +02:00
|
|
|
========
|
2011-05-28 17:04:36 +02:00
|
|
|
./collect
|
2008-08-02 13:57:32 +02:00
|
|
|
|
2014-10-21 15:03:10 +02:00
|
|
|
to update the zips.
|
2013-12-30 23:23:55 +01:00
|
|
|
|
2014-10-20 12:09:55 +02:00
|
|
|
|
2016-11-25 14:35:20 +01:00
|
|
|
To include an image use:
|
2014-10-20 12:09:55 +02:00
|
|
|
|
2016-11-25 14:35:20 +01:00
|
|
|
figure(file)(caption)(label)
|
2014-10-20 12:09:55 +02:00
|
|
|
|
2016-11-25 14:35:20 +01:00
|
|
|
E.g.,
|
|
|
|
figure(ptrmembers/figfilename)
|
|
|
|
(Person_dbase objects: Persons reached via Person *pp)
|
|
|
|
(PersonFig)
|
2014-10-20 12:09:55 +02:00
|
|
|
|
2016-11-25 14:35:20 +01:00
|
|
|
|
2017-11-22 17:37:21 +01:00
|
|
|
-------------------------------------
|
|
|
|
|
|
|
|
Type of line: fill and stroke (ctrl shift f), stroke style
|
|
|
|
|
|
|
|
Zoom out: -
|
|
|
|
|
|
|
|
Zoom in: +
|