Debian Codegraph @

reports/novel/novel.README

raw
1 The "novel" report program is designed to produce a book about an individual
2 from a LifeLines database. Its called "novel" because it produces a book,
3 but there is already a report program called "book". Purists would argue
4 that "novel" is a totally inappropriate name, because there should be
5 absolutely no fiction in a Lifelines database!
6
7 The idea of the program is to select a person from the database and format
8 the Gedcom into a readable form that can be understood by anybody, giving
9 all the information about the person and his/her ancestors and descendants.
10
11 There is also an introductory section put on the front of the report in
12 which you can describe what it contains, and also add things like requests
13 for information. The idea is to produce a personalised report you can send
14 off to a relation, telling them lots of information with the hope that they
15 will come back with a lot more and let you know about any errors.
16
17 It is structured to handle all the common Gedcom tags and print them as an
18 intelligible sentence, hopefully not sounding too like junk mail from companies
19 like "Registers Digest". If it finds a Gedcom tag that isn't programmed in,
20 it still prints the information, but you will need to add a small routine to
21 make it read sensibly. There are lots of examples there to use as model.
22
23 Add the call to the routine for a new gedcom node type to longvitals(i), and then
24 modify othernodes(i)/subnode to prevent it being printed with unknown types.
25
26 I use a node of CNAM for a person's common name/alias e.g.
27 1 NAME Margaret Winifred Thorpe
28 2 CNAM Peggy
29 Thus in a paragraph about the person she would be first referenced as "Peggy" and
30 subsequently as "she" or "her". Without the CNAM record we would use "Margaret"
31 instead of "Peggy". Sometimes references are made to other folks and if this happens
32 then the next "she" or "her" would be replaced by "Peggy".
33
34 The order of the text in the descriptions does not entirely rely on the Gedcom being
35 in chronological order, but it does help. It assumes birth, then "EDUC" nodes
36 detailing schooling, marriage, "OCCU" for occupation, "RESI" for where they lived,
37 "RETI" for retirement, then any unknown nodes, then death. NOTE and TEXT records can
38 be shown from any level.
39
40 The output from the program is used as input to nroff/troff/groff using the
41 mm set of macros. See the examples at the start of the program. This enables
42 you to have a document which fits your printer as closely as possible to
43 give the recipient a good impression.
44 E.g.
45 nroff -mm filename > filename.out
46 groff -mgm -Tascii filename >filename.out
47 groff -mgm filename >filename.ps [PostScript output/Linux]
48
49
50 The files required are:
51
52 novel.ll The report program itself.
53 novel.intro A file containing the introductory text. Use the one
54 supplied as a model.
55 novel.head Nroff macros definitions etc. You can modify this if
56 you know what you are doing, to vary the output
57 style.
58 novel.README This file.
59
60 This program is not being actively worked upon, it only gets changed as
61 needed and when I have time available. Maintaining the UK+Ireland WWW server
62 takes all my time. At some stage in the future I intend to include support
63 for the psfig troff extensions, so that scanned images can also be included.
64
65 Phil Stringer - 10 July 1995 - email: [email protected]
66