• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

Makefile.amH A D17-Mar-2016516 187

Makefile.inH A D17-Mar-201616.2 KiB537463

novel.READMEH A D22-Dec-20153.3 KiB6753

novel.introH A D22-Dec-20153.6 KiB7068

novel.llH A D22-Dec-201518.2 KiB845798

novel.README

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