diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 0d704450a..a7ec80ec5 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-10-18 Alex Roitman + * src/plugins/CmdRef.py: Use withing the . + * doc/graps-manual/C/cmdplug.xml: Update. + 2005-10-17 Don Allingham * src/gedcomimport.glade: use expanders for information and warning windows. diff --git a/gramps2/doc/gramps-manual/C/cmdplug.xml b/gramps2/doc/gramps-manual/C/cmdplug.xml index 285f66a46..48aefb590 100644 --- a/gramps2/doc/gramps-manual/C/cmdplug.xml +++ b/gramps2/doc/gramps-manual/C/cmdplug.xml @@ -10,7 +10,7 @@ Style name. - default + default @@ -25,11 +25,11 @@ Output file format. - print - sxw - ps - pdf - svg + print + sxw + ps + pdf + svg @@ -45,8 +45,8 @@ Paper orientation number. - 0 Portrait - 1 Landscape + 0 Portrait + 1 Landscape @@ -74,25 +74,25 @@ Paper size name. - Letter - Legal - A0 - A1 - A2 - A3 - A4 - A5 - B0 - B1 - B2 - B3 - B4 - B5 - B6 - B - C - D - E + Letter + Legal + A0 + A1 + A2 + A3 + A4 + A5 + B0 + B1 + B2 + B3 + B4 + B5 + B6 + B + C + D + E @@ -137,8 +137,8 @@ Whether to scale to fit on a single page. - Do not scale to fit - Scale to fit + Do not scale to fit + Scale to fit @@ -147,8 +147,8 @@ Whether to compress chart. - Do not compress chart - Compress chart + Do not compress chart + Compress chart @@ -186,14 +186,33 @@ Whether to cite sources. - Do not cite sources - Cite sources + Do not cite sources + Cite sources + Book Report + + + name: + + book + + + + bookname: =name + + Name of the book. MANDATORY + + + + + + + Descendant Graph @@ -204,7 +223,35 @@ - + + Descendant Wall Chart + + + name: + + descend_chart2 + + + + singlep: =0/1 + + Whether to scale to fit on a single page. + + Do not scale to fit + Scale to fit + + + + + title: =str + + Title string for the report + Value: Whatever String You Wish + + + + + Descendant Report @@ -215,7 +262,7 @@ - + Detailed Ancestral Report @@ -229,8 +276,8 @@ Whether to replace missing Dates with blanks. - Do not replace missing Dates - Replace missing Dates + Do not replace missing Dates + Replace missing Dates @@ -239,8 +286,8 @@ Whether to list children. - Do not list children - List children + Do not list children + List children @@ -249,8 +296,8 @@ Whether to include source references. - Do not include sources - Include sources + Do not include sources + Include sources @@ -259,8 +306,8 @@ Whether to include images. - Do not include images - Include images + Do not include images + Include images @@ -269,8 +316,8 @@ Whether to add descendant references in child list. - Do not add references - Add references + Do not add references + Add references @@ -279,8 +326,8 @@ Whether to compute age. - Do not compute age - Compute age + Do not compute age + Compute age @@ -289,8 +336,8 @@ Whether to use full dates instead of just year. - Do not use full dates - Use full dates + Do not use full dates + Use full dates @@ -299,8 +346,8 @@ Whether to include other names. - Do not include other names - Include other names + Do not include other names + Include other names @@ -309,8 +356,8 @@ Whether to use first names instead of pronouns - Do not use first names - Use first names + Do not use first names + Use first names @@ -319,8 +366,18 @@ Whether to include events. - Do not include events - Include events + Do not include events + Include events + + + + + usenick: =0/1 + + Whether to use the nick name as the first name. + + Do not use nick name + Use nick name @@ -329,8 +386,8 @@ Whether to include notes. - Do not include notes - Include notes + Do not include notes + Include notes @@ -339,8 +396,8 @@ Whether to omit duplicate ancestors. - Do not omit duplicates - Omit duplicates + Do not omit duplicates + Omit duplicates @@ -349,14 +406,14 @@ Whether to replace missing Places with blanks. - Do not replace missing Places - Replace missing Places + Do not replace missing Places + Replace missing Places - + Detailed Descendant Report @@ -370,8 +427,8 @@ Whether to replace missing Dates with blanks. - Do not replace missing Dates - Replace missing Dates + Do not replace missing Dates + Replace missing Dates @@ -380,8 +437,8 @@ Whether to list children. - Do not list children - List children + Do not list children + List children @@ -390,8 +447,8 @@ Whether to include source references. - Do not include sources - Include sources + Do not include sources + Include sources @@ -400,8 +457,8 @@ Whether to include images. - Do not include images - Include images + Do not include images + Include images @@ -410,8 +467,8 @@ Whether to add descendant references in child list. - Do not add references - Add references + Do not add references + Add references @@ -420,8 +477,8 @@ Whether to compute age. - Do not compute age - Compute age + Do not compute age + Compute age @@ -430,8 +487,8 @@ Whether to use full dates instead of just year. - Do not use full dates - Use full dates + Do not use full dates + Use full dates @@ -440,8 +497,8 @@ Whether to include other names. - Do not include other names - Include other names + Do not include other names + Include other names @@ -450,8 +507,8 @@ Whether to use first names instead of pronouns - Do not use first names - Use first names + Do not use first names + Use first names @@ -460,8 +517,8 @@ Whether to include events. - Do not include events - Include events + Do not include events + Include events @@ -470,8 +527,8 @@ Whether to include notes. - Do not include notes - Include notes + Do not include notes + Include notes @@ -480,8 +537,8 @@ Whether to omit duplicate ancestors. - Do not omit duplicates - Omit duplicates + Do not omit duplicates + Omit duplicates @@ -490,14 +547,14 @@ Whether to replace missing Places with blanks. - Do not replace missing Places - Replace missing Places + Do not replace missing Places + Replace missing Places - + Family Group Report @@ -515,7 +572,7 @@ - + Fan Chart @@ -526,7 +583,7 @@ - + FTM Style Ancestor Report @@ -537,7 +594,7 @@ - + FTM Style Descendant Report @@ -548,7 +605,7 @@ - + Relationship Graph @@ -562,8 +619,8 @@ Graph direction. - LR Horizontal - RL Vertical + LR Horizontal + RL Vertical @@ -572,8 +629,8 @@ Whether to use years only. - Do not use years only - Use years only + Do not use years only + Use years only @@ -582,8 +639,8 @@ Needs to be set if font doesn't support unicode. - Supports unicode - Supports only Latin1 + Supports unicode + Supports only Latin1 @@ -592,10 +649,10 @@ Arrow styles for heads and tails. - d Descendants <- Ancestors - a Descendants -> Ancestors - da Descendants <-> Ancestors - Descendants - Ancestors + d Descendants <- Ancestors + a Descendants -> Ancestors + da Descendants <-> Ancestors + Descendants - Ancestors @@ -604,8 +661,8 @@ Whether to use dotted lines for non-birth relationships. - Do not use dotted lines - Use dotted lines + Do not use dotted lines + Use dotted lines @@ -614,8 +671,8 @@ Whether to include URLs. - Do not include URLs - Include URLs + Do not include URLs + Include URLs @@ -631,8 +688,8 @@ Whether to replace missing dates with place/cause. - Do not replace blank dates - Replace blank dates + Do not replace blank dates + Replace blank dates @@ -641,12 +698,12 @@ Output format to convert dot file into. - ps Postscript - svg Structured Vector Graphics (SVG) - svgz Compressed Structured Vector Graphics (SVG) - png PNG image - jpg JPEG image - gif GIF image + ps Postscript + svg Structured Vector Graphics (SVG) + svgz Compressed Structured Vector Graphics (SVG) + png PNG image + jpg JPEG image + gif GIF image @@ -655,9 +712,9 @@ Whether and how to colorize graph. - outline B&W Outline - colored Colored outline - filled Color fill + outline B&W Outline + colored Colored outline + filled Color fill @@ -666,8 +723,8 @@ Whether to include IDs. - Do not include IDs - Include IDs + Do not include IDs + Include IDs @@ -676,8 +733,8 @@ Whether to include dates. - Do not include dates - Include dates + Do not include dates + Include dates @@ -693,9 +750,9 @@ Font to use in the report. - Default - Helvetica Postscript / Helvetica - FreeSans Truetype / FreeSans + Default + Helvetica Postscript / Helvetica + FreeSans Truetype / FreeSans @@ -711,14 +768,14 @@ Whether to show family nodes. - Do not show family nodes - Show family nodes + Do not show family nodes + Show family nodes - + Relationship Graph @@ -732,8 +789,8 @@ Graph direction. - LR Horizontal - RL Vertical + LR Horizontal + RL Vertical @@ -742,8 +799,8 @@ Whether to use years only. - Do not use years only - Use years only + Do not use years only + Use years only @@ -752,8 +809,8 @@ Needs to be set if font doesn't support unicode. - Supports unicode - Supports only Latin1 + Supports unicode + Supports only Latin1 @@ -762,10 +819,10 @@ Arrow styles for heads and tails. - d Descendants <- Ancestors - a Descendants -> Ancestors - da Descendants <-> Ancestors - Descendants - Ancestors + d Descendants <- Ancestors + a Descendants -> Ancestors + da Descendants <-> Ancestors + Descendants - Ancestors @@ -774,8 +831,8 @@ Whether to use dotted lines for non-birth relationships. - Do not use dotted lines - Use dotted lines + Do not use dotted lines + Use dotted lines @@ -784,8 +841,8 @@ Whether to include URLs. - Do not include URLs - Include URLs + Do not include URLs + Include URLs @@ -801,8 +858,8 @@ Whether to replace missing dates with place/cause. - Do not replace blank dates - Replace blank dates + Do not replace blank dates + Replace blank dates @@ -811,12 +868,12 @@ Output format to convert dot file into. - ps Postscript - svg Structured Vector Graphics (SVG) - svgz Compressed Structured Vector Graphics (SVG) - png PNG image - jpg JPEG image - gif GIF image + ps Postscript + svg Structured Vector Graphics (SVG) + svgz Compressed Structured Vector Graphics (SVG) + png PNG image + jpg JPEG image + gif GIF image @@ -825,9 +882,9 @@ Whether and how to colorize graph. - outline B&W Outline - colored Colored outline - filled Color fill + outline B&W Outline + colored Colored outline + filled Color fill @@ -836,8 +893,8 @@ Whether to include IDs. - Do not include IDs - Include IDs + Do not include IDs + Include IDs @@ -846,8 +903,8 @@ Whether to include dates. - Do not include dates - Include dates + Do not include dates + Include dates @@ -863,9 +920,9 @@ Font to use in the report. - Default - Helvetica Postscript / Helvetica - FreeSans Truetype / FreeSans + Default + Helvetica Postscript / Helvetica + FreeSans Truetype / FreeSans @@ -881,14 +938,14 @@ Whether to show family nodes. - Do not show family nodes - Show family nodes + Do not show family nodes + Show family nodes - + Complete Individual Report @@ -902,14 +959,14 @@ Whether to cite sources. - Do not cite sources - Cite sources + Do not cite sources + Cite sources - + Individual Summary @@ -920,35 +977,7 @@ - - Timeline Graph - - - name: - - timeline - - - - sortby: =num - - Number of a sorting function - - Birth Date - Name - - - - - title: =str - - Title string for the report - Value: Whatever String You Wish - - - - - + Generate Web Site (deprecated) @@ -983,8 +1012,8 @@ Split alphabetical sections to different pages - Do not split sections - Split sections + Do not split sections + Split sections @@ -993,8 +1022,8 @@ Inclusion of people marked private - Do not include - Include + Do not include + Include @@ -1003,8 +1032,8 @@ Include GRAMPS ID in the report - Do not include - Include + Do not include + Include @@ -1020,8 +1049,8 @@ Inclusion of comments and text in source information - Do not include - Include + Do not include + Include @@ -1030,8 +1059,8 @@ Include links to alphabetical sections in index page - Do not include - Include + Do not include + Include @@ -1040,8 +1069,8 @@ Create a GENDEX index - Do not create - Create + Do not create + Create @@ -1064,8 +1093,8 @@ Include links to the index page - Do not include - Include + Do not include + Include @@ -1074,8 +1103,8 @@ Restrict information on living people - Do not restrict - Restrict + Do not restrict + Restrict @@ -1084,8 +1113,8 @@ Use only birth year on the index page - Use full date - Use just year + Use full date + Use just year @@ -1094,8 +1123,8 @@ Append birth dates to the names on the index page - Do not append - Append + Do not append + Append @@ -1104,8 +1133,8 @@ Include short ancestor tree - Do not include - Include + Do not include + Include @@ -1114,9 +1143,9 @@ Inclusion of images - No images at all - No images for living people - Images for all people + No images at all + No images for living people + Images for all people @@ -1132,337 +1161,17 @@ Create an index of all Places - Do not create - Create + Do not create + Create - - - Book Report - - - name: - - book - - - - bookname: =name - - Name of the book. MANDATORY - - - - - - - - Statistics Chart - - - name: - - statistics_chart - - - - data_sname: =0/1 - - Surname - - Leave chart with this data out - Include chart with this data - - - - - data_age: =0/1 - - Age - - Leave chart with this data out - Include chart with this data - - - - - data_ccount: =0/1 - - Number of children - - Leave chart with this data out - Include chart with this data - - - - - bar_items: =num - - Use barchart instead of piechart with this many or more items - Value: Number of items with which piecharts still look good... - - - - data_byear: =0/1 - - Birth year - - Leave chart with this data out - Include chart with this data - - - - - data_dmonth: =0/1 - - Death month - - Leave chart with this data out - Include chart with this data - - - - - data_mage: =0/1 - - Age at marriage - - Leave chart with this data out - Include chart with this data - - - - - year_from: =num - - Birth year from which to include people - Value: Earlier than 'year_to' value - - - - data_mcount: =0/1 - - Number of relationships - - Leave chart with this data out - Include chart with this data - - - - - data_bmonth: =0/1 - - Birth month - - Leave chart with this data out - Include chart with this data - - - - - data_fname: =0/1 - - Forename - - Leave chart with this data out - Include chart with this data - - - - - data_dplace: =0/1 - - Death place - - Leave chart with this data out - Include chart with this data - - - - - data_fchild: =0/1 - - Age when first child born - - Leave chart with this data out - Include chart with this data - - - - - data_title: =0/1 - - Title - - Leave chart with this data out - Include chart with this data - - - - - data_lchild: =0/1 - - Age when last child born - - Leave chart with this data out - Include chart with this data - - - - - data_dage: =0/1 - - Age at death - - Leave chart with this data out - Include chart with this data - - - - - data_mplace: =0/1 - - Marriage place - - Leave chart with this data out - Include chart with this data - - - - - data_dyear: =0/1 - - Death year - - Leave chart with this data out - Include chart with this data - - - - - data_bplace: =0/1 - - Birth place - - Leave chart with this data out - Include chart with this data - - - - - reverse: =0/1 - - Whether to sort in reverse order - - Do not sort in reverse - Sort in reverse - - - - - gender: =num - - Genders included - - 2 Both - 1 Men - 0 Women - - - - - data_etypes: =0/1 - - Event type - - Leave chart with this data out - Include chart with this data - - - - - no_years: =0/1 - - Whether to include people without known birth years - - Do not include - Include - - - - - sortby: =num - - Sort chart items by - - 0 Item count - 1 Item name - - - - - year_to: =num - - Birth year until which to include people - Value: Smaller than 2005 - - - - data_gender: =0/1 - - Gender - - Leave chart with this data out - Include chart with this data - - - - - data_dcause: =0/1 - - Cause of death - - Leave chart with this data out - Include chart with this data - - - - - - - Descendant Wall Chart - - - name: - - descend_chart2 - - - - singlep: =0/1 - - Whether to scale to fit on a single page. - - Do not scale to fit - Scale to fit - - - - - title: =str - - Title string for the report - Value: Whatever String You Wish - - - Tools - + Common Options @@ -1481,7 +1190,7 @@ - + Rename personal event types @@ -1506,7 +1215,7 @@ - + Check and repair database @@ -1517,7 +1226,74 @@ + + Checkpoint the database + + + name: + + chkpoint + + + + crcmd: =str + + Custom command line for retrieval + Value: Custom command string + + + + cacmd: =str + + Custom command line for archiving + Value: Custom command string + + + + archive: =0/1 + + Whether to archive or retrieve. + + Retrieve + Archive + + + + + rcs: =0/1 + + Whether to use RCS (ignores custom commands). + + Do not use RCS + Use RCS + + + + + + + Dumps gender statistics + + + name: + + dgenstats + + + + + Rebuild secondary indices + + + name: + + rebuild + + + + + Reorder GRAMPS IDs @@ -1528,7 +1304,75 @@ - + + Generate Testcases for persons and families + + + name: + + testcasegenerator + + + + dates: =0/1 + + Whether to create test for date handling. + + Skip test + Create date tests + + + + + person_count: =int + + Number of dummy persons to generate + Value: Number of persons + + + + no_trans: =0/1 + + Wheter to use one transaction or multiple small ones + + One transaction + Multiple transactions + + + + + long_names: =0/1 + + Wheter to create short or long names + + Short names + Long names + + + + + bugs: =0/1 + + Whether to create invalid database references. + + Skip test + Create invalid Database references + + + + + persons: =0/1 + + Whether to create a bunch of dummy persons + + Dont create persons + Create dummy persons + + + + + + Verify the database @@ -1570,8 +1414,8 @@ Whether to estimate missing dates - Do not estimate - Estimate dates + Do not estimate + Estimate dates @@ -1647,143 +1491,8 @@ - - Generate Testcases for persons and families - - - name: - - testcasegenerator - - - - dates: =0/1 - - Whether to create test for date handling. - - Skip test - Create date tests - - - - - person_count: =int - - Number of dummy persons to generate - Value: Number of persons - - - - no_trans: =0/1 - - Wheter to use one transaction or multiple small ones - - One transaction - Multiple transactions - - - - - long_names: =0/1 - - Wheter to create short or long names - - Short names - Long names - - - - - bugs: =0/1 - - Whether to create invalid database references. - - Skip test - Create invalid Database references - - - - - persons: =0/1 - - Whether to create a bunch of dummy persons - - Dont create persons - Create dummy persons - - - - - - - Checkpoint the database - - - name: - - chkpoint - - - - crcmd: =str - - Custom command line for retrieval - Value: Custom command string - - - - cacmd: =str - - Custom command line for archiving - Value: Custom command string - - - - archive: =0/1 - - Whether to archive or retrieve. - - Retrieve - Archive - - - - - rcs: =0/1 - - Whether to use RCS (ignores custom commands). - - Do not use RCS - Use RCS - - - - - - Rebuild secondary indices - - - name: - - rebuild - - - - - - Dumps gender statistics - - - name: - - dgenstats - - - - - - Generate Commandline Reference for Reports and Tools + Generate Commandline Plugin Reference name: @@ -1796,8 +1505,8 @@ Whether to include into the manual - Do not include - Include + Do not include + Include diff --git a/gramps2/src/plugins/CmdRef.py b/gramps2/src/plugins/CmdRef.py index 50c92d77b..8bc93bf20 100644 --- a/gramps2/src/plugins/CmdRef.py +++ b/gramps2/src/plugins/CmdRef.py @@ -190,13 +190,13 @@ class CmdRef(Tool.Tool): if oclass.options_help[arg][3]: f.write(' \n') for val in oclass.options_help[arg][2]: - f.write( " %s\n" + f.write( " %s\n" % escape(val)) f.write(' \n') else: f.write(' \n') for val in oclass.options_help[arg][2]: - f.write( " %s\n" + f.write( " %s\n" % escape(val)) f.write(' \n') else: