4,608
edits
Changes
m
→customize reports with an XML tool: minor typo correction, hotlinks & paragraph breaks
== customize reports with an XML tool ==
Families often have complicated structure, especially for Twenty-first century blended families. Creatating Creating a [[Gramps_{{man version}}_Wiki_Manual_-_Reports_-_part_5#Family_Lines_Graph|Family Lines Graph ]] for such families often involves carefully selecting multiple people to include. Gramps stores these selections in a file named <code>report_options.xml </code> in the <code>~/.gramps </code> [[Gramps_{{man version}}_Wiki_Manual_-_User_Directory|User directory]]. The report options are '''overwittenoverwritten''' every time a graphical report is created. It is possible to edit this file manually with a text editor, but that is a tedious and error-prone procedure. The following [https://wikipedia.org/wiki/Bash_(Unix_shell) bash ] script will take care of the process for you backing up the current file and saving the list of persion person IDs in a file that can be reused.
#!/bin/bash