5621: use bold and italic markups on .rst according to previous layout used by man files; could be tested with python-doctuils
svn: r20581
This commit is contained in:
parent
a82623eca4
commit
2331392dc0
319
data/man/en.rst
319
data/man/en.rst
@ -1,21 +1,23 @@
|
|||||||
gramps(1) 3.4.0 gramps(1)
|
gramps(1) 3.4.0 gramps(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NAME
|
**NAME**
|
||||||
gramps - Genealogical Research and Analysis Management Programming Sys‐
|
gramps - Genealogical Research and Analysis Management Programming Sys‐
|
||||||
tem.
|
tem.
|
||||||
|
|
||||||
|
|
||||||
SYNOPSIS
|
**SYNOPSIS**
|
||||||
gramps [-?|--help] [--usage] [--version] [-l] [-u|--force-unlock]
|
**gramps** [**-?** | **--help**] [**--usage**] [**--version**]
|
||||||
[-O|--open= DATABASE [-f|--format= FORMAT]] [-i|--import= FILE
|
[**-l**] [**-L**] [**-u** | **--force-unlock**] [**-O** | **--open=** *DATABASE*
|
||||||
[-f|--format= FORMAT]] [-i|--import= ...] [-e|--export= FILE
|
[**-f** | **--format=** *FORMAT*]] [**-i** | **--import=** *FILE*
|
||||||
[-f|--format= FORMAT]] [-a|--action= ACTION] [-p|--options= OPTION‐
|
[**-f** | **--format=** *FORMAT*]] [**-i** | **--import=** *...*]
|
||||||
STRING]] [ FILE ] [--version]
|
[**-e** | **--export=** *FILE* [**-f** | **--format=** *FORMAT*]]
|
||||||
|
[**-a** | **--action=** *ACTION*] [*-p* | **--options=** *OPTION‐
|
||||||
|
STRING*]] [*FILE*] [**--version**]
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION
|
**DESCRIPTION**
|
||||||
Gramps is a Free/OpenSource genealogy program. It is written in Python,
|
Gramps is a Free/OpenSource genealogy program. It is written in Python,
|
||||||
using the GTK+/GNOME interface. Gramps should seem familiar to anyone
|
using the GTK+/GNOME interface. Gramps should seem familiar to anyone
|
||||||
who has used other genealogy programs before such as Family Tree Maker
|
who has used other genealogy programs before such as Family Tree Maker
|
||||||
@ -24,220 +26,240 @@ DESCRIPTION
|
|||||||
almost all other genealogy software.
|
almost all other genealogy software.
|
||||||
|
|
||||||
|
|
||||||
OPTIONS
|
**OPTIONS**
|
||||||
gramps FILE
|
**gramps** *FILE*
|
||||||
When FILE is given (without any flags) as a family tree name or
|
When *FILE* is given (without any flags) as a family tree name or
|
||||||
as a family tree database directory, then it is opened and an
|
as a family tree database directory, then it is opened and an
|
||||||
interactive session is started. If FILE is a file format under‐
|
interactive session is started. If *FILE* is a file format under‐
|
||||||
stood by Gramps, an empty family tree is created whose name is
|
stood by Gramps, an empty family tree is created whose name is
|
||||||
based on the FILE name and the data is imported into it. The
|
based on the *FILE* name and the data is imported into it. The
|
||||||
rest of the options is ignored. This way of launching is suit‐
|
rest of the options is ignored. This way of launching is suit‐
|
||||||
able for using gramps as a handler for genealogical data in e.g.
|
able for using gramps as a handler for genealogical data in e.g.
|
||||||
web browsers. This invocation can accept any data format native
|
web browsers. This invocation can accept any data format native
|
||||||
to gramps, see below.
|
to gramps, see below.
|
||||||
|
|
||||||
|
|
||||||
-f,--format= FORMAT
|
**-f** , **--format=** *FORMAT*
|
||||||
Explicitly specify format of FILE given by preceding -i, or -e
|
Explicitly specify format of *FILE* given by preceding **-i** ,
|
||||||
option. If the -f option is not given for any FILE, the format
|
or **-e** option. If the **-f** option is not given for any
|
||||||
of that file is guessed according to its extension or MIME-type.
|
*FILE* , the format of that file is guessed according to its extension
|
||||||
|
or MIME-type.
|
||||||
|
|
||||||
Formats available for export are gramps-xml (guessed if FILE
|
Formats available for export are **gramps-xml** (guessed if *FILE*
|
||||||
ends with .gramps), gedcom (guessed if FILE ends with .ged), or
|
ends with **.gramps** ), **gedcom** (guessed if *FILE* ends with
|
||||||
any file export available through the Gramps plugin system.
|
**.ged** ), or any file export available through the Gramps plugin
|
||||||
|
system.
|
||||||
|
|
||||||
Formats available for import are grdb, gramps-xml, gedcom,
|
Formats available for import are **gramps-xml** , **gedcom** ,
|
||||||
gramps-pkg (guessed if FILE ends with .gpkg), and geneweb
|
**gramps-pkg** (guessed if *FILE* ends with **.gpkg** ),
|
||||||
(guessed if FILE ends with .gw).
|
and **geneweb** (guessed if *FILE* ends with **.gw** ).
|
||||||
|
|
||||||
Formats available for export are gramps-xml, gedcom, gramps-pkg,
|
Formats available for export are **gramps-xml** , **gedcom** ,
|
||||||
wft (guessed if FILE ends with .wft), geneweb, and iso (never
|
**gramps-pkg** , **wft** (guessed if *FILE* ends with **.wft** ),
|
||||||
guessed, always specify with -f option).
|
**geneweb**.
|
||||||
|
|
||||||
|
|
||||||
-l Print a list of known family trees.
|
**-l**
|
||||||
|
Print a list of known family trees.
|
||||||
|
|
||||||
|
|
||||||
-u,--force-unlock
|
**-L**
|
||||||
Unlock a locked database.
|
Print a detailed list of known family trees.
|
||||||
|
|
||||||
|
|
||||||
-O,--open= DATABASE
|
**-u** , **--force-unlock**
|
||||||
Open DATABASE which must be an existing database directory or
|
Unlock a locked database.
|
||||||
existing family tree name. If no action, import or export
|
|
||||||
options are given on the command line then an interactive ses‐
|
|
||||||
sion is started using that database.
|
|
||||||
|
|
||||||
|
|
||||||
-i,--import= FILE
|
**-O** , **--open=** *DATABASE*
|
||||||
Import data from FILE. If you haven't specified a database then
|
Open *DATABASE* which must be an existing database directory or
|
||||||
a temporary database is used; this is deleted when you exit
|
existing family tree name. If no action, import or export
|
||||||
gramps.
|
options are given on the command line then an interactive ses‐
|
||||||
|
sion is started using that database.
|
||||||
When more than one input file is given, each has to be preceded
|
|
||||||
by -i flag. The files are imported in the specified order, i.e.
|
|
||||||
-i FILE1 -i FILE2 and -i FILE2 -i FILE1 might produce different
|
|
||||||
gramps IDs in the resulting database.
|
|
||||||
|
|
||||||
|
|
||||||
-a,--action= ACTION
|
**-i** , **--import=** *FILE*
|
||||||
Perform ACTION on the imported data. This is done after all
|
Import data from *FILE* . If you haven't specified a database then
|
||||||
imports are successfully completed. Currently available actions
|
a temporary database is used; this is deleted when you exit
|
||||||
are summary (same as Reports->View->Summary), check (same as
|
gramps.
|
||||||
Tools->Database Processing->Check and Repair), report (generates
|
|
||||||
report), and tool (runs a plugin tool). Both report and tool
|
|
||||||
need the OPTIONSTRING supplied by the -p flag).
|
|
||||||
|
|
||||||
The OPTIONSTRING should satisfy the following conditions:
|
When more than one input file is given, each has to be preceded
|
||||||
It must not contain any spaces. If some arguments need to
|
by **-i** flag. The files are imported in the specified order, i.e.
|
||||||
include spaces, the string should be enclosed with quotation
|
**-i** *FILE1* **-i** *FILE2* and **-i** *FILE2* **-i** *FILE1*
|
||||||
marks, i.e., follow the shell syntax. Option string is a list
|
might produce different gramps IDs in the resulting database.
|
||||||
of pairs with name and value (separated by the equality sign).
|
|
||||||
The name and value pairs must be separated by commas.
|
|
||||||
|
|
||||||
Most of the report or tools options are specific for each report
|
|
||||||
or tool. However, there are some common options.
|
|
||||||
|
|
||||||
name=name
|
|
||||||
This mandatory option determines which report or tool will be
|
|
||||||
run. If the supplied name does not correspond to any available
|
|
||||||
report or tool, an error message will be printed followed by the
|
|
||||||
list of available reports or tools (depending on the ACTION).
|
|
||||||
|
|
||||||
show=all
|
|
||||||
This will produce the list of names for all options available
|
|
||||||
for a given report or tool.
|
|
||||||
|
|
||||||
show=optionname
|
|
||||||
This will print the description of the functionality supplied by
|
|
||||||
optionname, as well as what are the acceptable types and values
|
|
||||||
for this option.
|
|
||||||
|
|
||||||
Use the above options to find out everything about a given
|
|
||||||
report.
|
|
||||||
|
|
||||||
|
|
||||||
When more than one output action is given, each has to be preceded by
|
**-a** , **--action=** *ACTION*
|
||||||
-a flag. The actions are performed one by one, in the specified order.
|
Perform *ACTION* on the imported data. This is done after all
|
||||||
|
imports are successfully completed. Currently available actions
|
||||||
|
are **summary** (same as Reports->View->Summary), **check** (same as
|
||||||
|
Tools->Database Processing->Check and Repair), **report** (generates
|
||||||
|
report), and tool (runs a plugin tool). Both **report** and **tool**
|
||||||
|
need the *OPTIONSTRING* supplied by the **-p** flag).
|
||||||
|
|
||||||
|
The *OPTIONSTRING* should satisfy the following conditions:
|
||||||
|
It must not contain any spaces. If some arguments need to
|
||||||
|
include spaces, the string should be enclosed with quotation
|
||||||
|
marks, i.e., follow the shell syntax. Option string is a list
|
||||||
|
of pairs with name and value (separated by the equality sign).
|
||||||
|
The name and value pairs must be separated by commas.
|
||||||
|
|
||||||
|
Most of the report or tools options are specific for each report
|
||||||
|
or tool. However, there are some common options.
|
||||||
|
|
||||||
|
**name=name**
|
||||||
|
This mandatory option determines which report or tool will be
|
||||||
|
run. If the supplied name does not correspond to any available
|
||||||
|
report or tool, an error message will be printed followed by the
|
||||||
|
list of available reports or tools (depending on the *ACTION* ).
|
||||||
|
|
||||||
|
**show=all**
|
||||||
|
This will produce the list of names for all options available
|
||||||
|
for a given report or tool.
|
||||||
|
|
||||||
|
**show=optionname**
|
||||||
|
This will print the description of the functionality supplied by
|
||||||
|
*optionname*, as well as what are the acceptable types and values
|
||||||
|
for this option.
|
||||||
|
|
||||||
|
Use the above options to find out everything about a given
|
||||||
|
report.
|
||||||
|
|
||||||
|
|
||||||
-d,--debug= LOGGER_NAME
|
When more than one output action is given, each has to be preceded by
|
||||||
Enables debug logs for development and testing. Look at the
|
**-a** flag. The actions are performed one by one, in the specified order.
|
||||||
source code for details
|
|
||||||
|
|
||||||
--version
|
|
||||||
Prints the version number of gramps and then exits
|
**-d** , **--debug=** *LOGGER_NAME*
|
||||||
|
Enables debug logs for development and testing. Look at the
|
||||||
|
source code for details
|
||||||
|
|
||||||
|
**--version**
|
||||||
|
Prints the version number of gramps and then exits
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Operation
|
**Operation**
|
||||||
If the first argument on the command line does not start with dash
|
If the first argument on the command line does not start with dash
|
||||||
(i.e. no flag), gramps will attempt to open the file with the name
|
(i.e. no flag), gramps will attempt to open the file with the name
|
||||||
given by the first argument and start interactive session, ignoring the
|
given by the first argument and start interactive session, ignoring the
|
||||||
rest of the command line arguments.
|
rest of the command line arguments.
|
||||||
|
|
||||||
|
|
||||||
If the -O flag is given, then gramps will try opening the supplied
|
If the **-O** flag is given, then gramps will try opening the supplied
|
||||||
database and then work with that data, as instructed by the further
|
database and then work with that data, as instructed by the further
|
||||||
command line parameters.
|
command line parameters.
|
||||||
|
|
||||||
|
|
||||||
With or without the -O flag, there could be multiple imports, exports,
|
With or without the **-O** flag, there could be multiple imports, exports,
|
||||||
and actions specified further on the command line by using -i, -e, and
|
and actions specified further on the command line by using **-i** ,
|
||||||
-a flags.
|
**-e** , and **-a** flags.
|
||||||
|
|
||||||
|
|
||||||
The order of -i, -e, or -a options does not matter. The actual order
|
The order of **-i** , **-e** , or **-a** options does not matter. The actual order
|
||||||
always is: all imports (if any) -> all actions (if any) -> all exports
|
always is: all imports (if any) -> all actions (if any) -> all exports
|
||||||
(if any). But opening must always be first!
|
(if any). But opening must always be first!
|
||||||
|
|
||||||
|
|
||||||
If no -O or -i option is given, gramps will launch its main window and
|
If no **-O** or **-i** option is given, gramps will launch its main window and
|
||||||
start the usual interactive session with the empty database, since
|
start the usual interactive session with the empty database, since
|
||||||
there is no data to process, anyway.
|
there is no data to process, anyway.
|
||||||
|
|
||||||
|
|
||||||
If no -e or -a options are given, gramps will launch its main window
|
If no **-e** or **-a** options are given, gramps will launch its main window
|
||||||
and start the usual interactive session with the database resulted from
|
and start the usual interactive session with the database resulted from
|
||||||
all imports. This database resides in the import_db.grdb under
|
all imports. This database resides in the **import_db.grdb** under
|
||||||
~/.gramps/import directory.
|
**~/.gramps/import** directory.
|
||||||
|
|
||||||
|
|
||||||
The error encountered during import, export, or action, will be either
|
The error encountered during import, export, or action, will be either
|
||||||
dumped to stdout (if these are exceptions handled by gramps) or to
|
dumped to stdout (if these are exceptions handled by gramps) or to
|
||||||
stderr (if these are not handled). Use usual shell redirections of std‐
|
*stderr* (if these are not handled). Use usual shell redirections of
|
||||||
out and stderr to save messages and errors in files.
|
*stdout* and *stderr* to save messages and errors in files.
|
||||||
|
|
||||||
|
|
||||||
EXAMPLES
|
**EXAMPLES**
|
||||||
To open an existing family tree and import an xml file into it, one
|
To open an existing family tree and import an xml file into it, one
|
||||||
may type:
|
may type:
|
||||||
gramps -O 'My Family Tree' -i ~/db3.gramps
|
|
||||||
|
|
||||||
The above changes the opened family tree, to do the same, but import
|
**gramps -O** *'My Family Tree'* **-i** *~/db3.gramps*
|
||||||
both in a temporary family tree and start an interactive session, one
|
|
||||||
|
The above changes the opened family tree, to do the same, but import
|
||||||
|
both in a temporary family tree and start an interactive session, one
|
||||||
may type:
|
may type:
|
||||||
gramps -i 'My Family Tree' -i ~/db3.gramps
|
|
||||||
|
|
||||||
To import four databases (whose formats can be determined from their
|
**gramps -i** *'My Family Tree'* **-i** *~/db3.gramps*
|
||||||
|
|
||||||
|
To import four databases (whose formats can be determined from their
|
||||||
names) and then check the resulting database for errors, one may type:
|
names) and then check the resulting database for errors, one may type:
|
||||||
gramps -i file1.ged -i file2.tgz -i ~/db3.gramps -i file4.wft -a
|
|
||||||
check
|
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
|
||||||
|
**-i** *file4.wft* **-a** *check*
|
||||||
|
|
||||||
To explicitly specify the formats in the above example, append file‐
|
To explicitly specify the formats in the above example, append file‐
|
||||||
names with appropriate -f options:
|
names with appropriate **-f** options:
|
||||||
gramps -i file1.ged -f gedcom -i file2.tgz -f gramps-pkg -i
|
|
||||||
~/db3.gramps -f gramps-xml -i file4.wft -f wft -a check
|
|
||||||
|
|
||||||
To record the database resulting from all imports, supply -e flag (use
|
**gramps -i** *file1.ged* **-f** *gedcom* **-i** *file2.tgz* **-f**
|
||||||
-f if the filename does not allow gramps to guess the format):
|
*gramps-pkg* **-i** *~/db3.gramps* **-f** *gramps-xml* **-i** *file4.wft*
|
||||||
gramps -i file1.ged -i file2.tgz -e ~/new-package -f gramps-pkg
|
**-f** *wft* **-a** *check*
|
||||||
|
|
||||||
|
To record the database resulting from all imports, supply **-e** flag (use
|
||||||
|
**-f** if the filename does not allow gramps to guess the format):
|
||||||
|
|
||||||
|
**gramps -i** *file1.ged* **-i** *file2.tgz* **-e** *~/new-package*
|
||||||
|
**-f** *gramps-pkg*
|
||||||
|
|
||||||
To import three databases and start interactive gramps session with the
|
To import three databases and start interactive gramps session with the
|
||||||
result:
|
result:
|
||||||
gramps -i file1.ged -i file2.tgz -i ~/db3.gramps
|
|
||||||
|
|
||||||
To run the Verify tool from the commandline and output the result to
|
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
|
||||||
|
|
||||||
|
To run the Verify tool from the commandline and output the result to
|
||||||
stdout:
|
stdout:
|
||||||
gramps -O 'My Family Tree' -a tool -p name=verify
|
|
||||||
|
**gramps -O** *'My Family Tree'* **-a** *tool* **-p name=** *verify*
|
||||||
|
|
||||||
Finally, to start normal interactive session type:
|
Finally, to start normal interactive session type:
|
||||||
gramps
|
|
||||||
|
**gramps**
|
||||||
|
|
||||||
|
|
||||||
ENVIRONMENT VARIABLES
|
**ENVIRONMENT VARIABLES**
|
||||||
The program checks whether these environment variables are set:
|
The program checks whether these environment variables are set:
|
||||||
|
|
||||||
LANG - describe, which language to use: Ex.: for polish language this
|
**LANG** - describe, which language to use: Ex.: for polish language this
|
||||||
variable has to be set to pl_PL.UTF-8.
|
variable has to be set to pl_PL.UTF-8.
|
||||||
|
|
||||||
GRAMPSHOME - if set, force Gramps to use the specified directory to
|
**GRAMPSHOME** - if set, force Gramps to use the specified directory to
|
||||||
keep program settings and databases there. By default, this variable is
|
keep program settings and databases there. By default, this variable is
|
||||||
not set and gramps assumes that the folder with all databases and pro‐
|
not set and gramps assumes that the folder with all databases and pro‐
|
||||||
file settings should be created within the user profile folder
|
file settings should be created within the user profile folder
|
||||||
(described by environment variable HOME for Linux or USERPROFILE for
|
(described by environment variable HOME for Linux or USERPROFILE for
|
||||||
Windows 2000/XP).
|
Windows 2000/XP).
|
||||||
|
|
||||||
|
|
||||||
CONCEPTS
|
**CONCEPTS**
|
||||||
Supports a python-based plugin system, allowing import and export writ‐
|
Supports a python-based plugin system, allowing import and export writ‐
|
||||||
ers, report generators, tools, and display filters to be added without
|
ers, report generators, tools, and display filters to be added without
|
||||||
modification of the main program.
|
modification of the main program.
|
||||||
|
|
||||||
In addition to generating direct printer output, report generators also
|
In addition to generating direct printer output, report generators also
|
||||||
target other systems, such as OpenOffice.org, AbiWord, HTML, or LaTeX
|
target other systems, such as *LibreOffice.org* , *AbiWord* , *HTML*,
|
||||||
to allow the users to modify the format to suit their needs.
|
or *LaTeX* to allow the users to modify the format to suit their needs.
|
||||||
|
|
||||||
|
|
||||||
KNOWN BUGS AND LIMITATIONS
|
**KNOWN BUGS AND LIMITATIONS**
|
||||||
FILES
|
**FILES**
|
||||||
${PREFIX}/bin/gramps
|
|
||||||
${PREFIX}/share/gramps
|
*${PREFIX}/bin/gramps*
|
||||||
${HOME}/.gramps
|
|
||||||
|
*${PREFIX}/share/gramps*
|
||||||
|
|
||||||
|
*${HOME}/.gramps*
|
||||||
|
|
||||||
|
|
||||||
AUTHORS
|
**AUTHORS**
|
||||||
Donald Allingham <don@gramps-project.org>
|
Donald Allingham <don@gramps-project.org>
|
||||||
http://gramps.sourceforge.net
|
http://gramps.sourceforge.net
|
||||||
|
|
||||||
@ -249,15 +271,14 @@ AUTHORS
|
|||||||
Gramps project <xxx@gramps-project.org>
|
Gramps project <xxx@gramps-project.org>
|
||||||
|
|
||||||
|
|
||||||
DOCUMENTATION
|
**DOCUMENTATION**
|
||||||
The user documentation is available through standard GNOME Help browser
|
The user documentation is available through standard web browser
|
||||||
in the form of Gramps Manual. The manual is also available in XML for‐
|
in the form of Gramps Manual.
|
||||||
mat as gramps-manual.xml under doc/gramps-manual/$LANG in the official
|
|
||||||
source distribution.
|
|
||||||
|
|
||||||
The developer documentation can be found on the http://develop‐
|
The developer documentation can be found on the
|
||||||
ers.gramps-project.org site.
|
http://www.gramps-project.org/wiki/index.php?title=Portal:Developers
|
||||||
|
portal.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
January 2008 3.4.0 gramps(1)
|
January 2013 3.4.0 gramps(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user