| 1 |
From: "(Eric Majani)" <[email protected]> |
| 2 |
Subject: pedtex: generating TeX files for pedigree charts |
| 3 |
|
| 4 |
Introducing PEDTEX: a program which generates a TeX file that can then be used |
| 5 |
to |
| 6 |
produce a Pedigree Chart in PostScript format. All you need is to have TeX |
| 7 |
installed on your machine, and three files included here: pedtex, tree.tex, |
| 8 |
and setup.tex. |
| 9 |
|
| 10 |
Good luck! Feel free to ask me questions about pedtex and the \tree, \endtree, |
| 11 |
\subtree, \endsubtree TeX macros, but please, no questions |
| 12 |
about TeX. Ask your local TeX wizard for Tex-specific questions. Thanks. |
| 13 |
|
| 14 |
----------------------- Remarks on the use of pedtex ------------------------- |
| 15 |
|
| 16 |
1. You can change the prinindi procedure to anything you like. The example |
| 17 |
given here is just that, an example. |
| 18 |
|
| 19 |
2. Beware of the use of TeX special characters, and their interpretation |
| 20 |
by Lifelines (i.e. \' will be changed to /'): however I already |
| 21 |
found out that \& is not modified by LifeLines. |
| 22 |
|
| 23 |
3. pedtex creates a basic TeX file which can always be modified to suit your |
| 24 |
tastes, additions of special TeX characters. The nice thing about pedtex |
| 25 |
is that it puts all the genealogy information from the database. You can |
| 26 |
therefore include the pedigree chart in a TeX document (if you're writing |
| 27 |
a book on your family for example). |
| 28 |
|
| 29 |
4. The steps to produce a Postscript file (or a .dvi file for visualization |
| 30 |
by xdvi for example): |
| 31 |
|
| 32 |
4.1 Make sure the files setup.tex and tree.tex (and pedtex) are in the |
| 33 |
current directory |
| 34 |
|
| 35 |
4.2 Run lines |
| 36 |
|
| 37 |
4.3 Use the report generation menu and run the pedtex program. Make sure that |
| 38 |
your output file is of the type: filename.tex |
| 39 |
The integer to enter is the number of generations desired. |
| 40 |
|
| 41 |
4.4 Quit lines |
| 42 |
|
| 43 |
4.5 Run tex on filename.tex: tex filename |
| 44 |
|
| 45 |
4.6 Run dvips (or xdvi for visualization) on filename.dvi: dvips filename |
| 46 |
|
| 47 |
4.7 Print or visualize the PostScript file filename.ps |
| 48 |
|
| 49 |
|
| 50 |
5. Do not modify the tree.tex file, unless you are a TeX programming expert |
| 51 |
|
| 52 |
6. The setup.tex file however should be modified to your taste. You should |
| 53 |
however have no problem with the one I provide (no guarantees though). |
| 54 |
|
| 55 |
7. The files that follow are: tree.tex, setup.tex |