GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Narrative Report with PDF 'Book format' output

Click to view RSS...
Author
Posted Thursday, September 19, 2013 - Post #32469
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: Wednesday, June 2, 2021
Posts: 220, Visits: 14,736
non-functional hyperlinks to places, pictures, sources etc. need to be removed


I would like to change this  to:
  • non-functional hyperlinks to places, pictures, sources etc. need to be added to the PDF output in a similar way as individuals
Posted Saturday, September 28, 2013 - Post #32526
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,416, Visits: 26,379
Update 2013.09.28  Version now attached to 1st post seems ok so far with some limited testing when generating HTML and PDF reports.  No doubt you guys and gals out there will find some  bugs however.  Bring it on!



 Just noticed some errors when generating HTML Report rather than PDF Report.  Watch this space.



Well another week, another update version 2013.09.22 (see attachment to first post in thread)

Many changes, so I expect some fall-out!

Firstly, following a discussion with Vittorino, I have removed the document description from the cover page and added a new 'Introduction' section following TOC to contain that description that can be many pages long. This also avoids a problem with last names in heading getting out of step when cover page is more than one page long.  Also cover page can now have an optional image/photo.  (see sample pdf, via link in first post). 
At the moment I have not been able to add blank pages so that sections start on a facing page when printed double-sided.  Maybe a PDF Editor can be used to inset these as required?

Fixed vertical bar preceding family name as reported by Alex.

Following comments from Roland there are several more changes.

  • Comments, Pictures, Relationships, Occupations, Education, Wherabouts, Source/Citations, Pedigree Charts, Attributes and Events sections can be selectively removed from the report. (See Contents tab of Config Params dialog)
  • A new Pedigree Link Custom Tag 'Classification' can be created and set with values 'Natural' or 'Illegitimate' to classify biological children of a family and this is reflected in the report. (e.g. see Jed Com and Jed's Wife in sample PDF). New Dictionary entries are required for this.
  • Found bug in date span code.  The Dictionary.xml tags <FmtSinceYM>, <FmtSinceY>, <FmtSinceMD> where being ignored.  This has been corrected so that for example 'á partir de' can be set in French translation to be used when only the start date is present.
A new Individual Custom Tag, Name.Root, can be created and used to specify a 'root' last name for sorting and grouping names in the report as requested by Powery.

Maybe some more changes that i have forgotten about.




'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Saturday, September 28, 2013 - Post #32528
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
Ron, I am geting following Error message:

[217.15] Processing template 'individuals.htm'...
Error at line 1881, position 4 (Code/Util.vbs): Variable is undefined: 'strCode'
    Microsoft VBScript runtime error 800A01F4

and can`t finish.

What needs to be done, what is wrong?
regards
Posted Saturday, September 28, 2013 - Post #32533
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,416, Visits: 26,379
Hi maru-san,

Hopefully version 2013.09.29 I have just added to 1st post should fix that.  Sorry for any inconvenience.

I added 'Option Explicit' to the script which then checks for implicitly declared variables.  In the long run this will make the script more robust but meanwhile may throw up these errors as previously untested parts of the scripts get used.  I have now run it through some another test .gno and found a few more undeclared variables.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Saturday, September 28, 2013 by genome
Posted Saturday, October 5, 2013 - Post #32575
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 5:52 PM
Posts: 282, Visits: 12,437
Narrative_2013.09.29 and Narrative_2013.10.05
After generation pdf:
1.in my report and in test.pdf
http://support.genopro.com/Uploads/Images/13779d83-4cd7-4c3a-8706-0f0a.jpg    http://support.genopro.com/Uploads/Images/b97a952e-b9b1-4bde-b261-9eb3.jpg
2 in EN.pdf and in RU.pdf
http://support.genopro.com/Uploads/Images/f4ee36f7-9987-4435-b021-ab44.jpg  http://support.genopro.com/Uploads/Images/2b26d81a-8f6f-48ef-b340-bddb.jpg
Posted Friday, October 11, 2013 - Post #32598
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,416, Visits: 26,379
Well time for another update.  I have just uploaded version 2013.10.10 on the 1st post of this topic to address the following:
  • Sort out margin around small left aligned pictures (Alex)
  • allow non-ascii characters in Content heading (Alex)
  • Allow user controlled wrapping of title on cover page (vlepore) see PDF tab. If selected title is wrapped at each space unless space is changing to non-breaking space (You can hold down Alt key and then type 0160 on NUMERIC keypad and then release Alt to get non-breaking space)
  • Better centering of picture on cover page (vlepore).  Maximum picture size is set at 750px in height or width and larger pictures are scaled down.
  • I have also widened side margins on page to improve appearance.
I think that is it for now. Next  I will look into adding Appendices to the PDF report for source and place details.

Any problems or suggestions just let me know.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, October 13, 2013 - Post #32605
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,416, Visits: 26,379
Just a note of warning for those who have not aleady discovered it.  It can take A VERY LONG TIME to creat pdfs via wkhtmltopdf.  For example my tree has some 3500 individuals over 64 genomaps and this has taken some 15 HOURS to run. And I haven't see the result yet and my NAS box I was saving to went to sleep due to the inactivity!

I think this sort of runtime is somewhat impractical and so I am now looking at some way of subsetting the genomaps to allow production of a multi-volume library instead of a single massive book.  I know Nand has produced a utility FPS SelectGenoMaps  to spilt a .gno/.ged but I would like the selection to be via the Config Params dialogue.

Longer term I guess HTML to PDF conversion is not the best approach but may work for a 'quick fix'.  It would be better to use say RTF format directly from the skin (generating native PDF is way over my head!)


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, October 14, 2013 - Post #32606
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,416, Visits: 26,379
Version 2013.10.14 just added to the first post has a method of breaking up the report into a series a separate volumes by producing it for subsets the the GenoMaps. For the time being this is only really valid for the PDF Report and not the standard HTML version.

Subsetting is achieved by setting a 'Report Title' for each GenoMap.  GenoMaps with the same title constitute a subset or volume.   Also the first non-blank Report Description in the subset is used as the Introduction for that volume. 

This values are set on the main GenoPro Properties dialog.   (To display it click File/Properties or press Enter when nothing selected on the current GenoMap)
Tip: If you find the space for the description a little limited then simply prepare it elsewhere and then copy and paste into the field.



http://support.genopro.com/Uploads/Images/7c981a31-f476-496b-9ed5-c2ad.png



The volume can be selected via the Contents tab of the Configuration Parameters dialog

http://support.genopro.com/Uploads/Images/c5fb4699-7bc9-4573-8047-6fb8.png

N.B.  Of course you must set Report Data Source in the Generate Report dialog to be the whole document for this to work Hehe

Hope this helps!


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Monday, October 14, 2013 by genome
Posted Tuesday, October 15, 2013 - Post #32614
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, March 28, 2025
Posts: 214, Visits: 3,618

The opportunity to print various Genomaps in "Volumes" different is truly a great thought. It solves many problems and is very useful.

A question,  and some proposals, without much thought!

1) In ConfigMsgEN.xml disappeared intentionally or by mistake the parameter PedigreeCharts? However also seems to me useless.

 

2) All the couples are always described 2 times:
     a) family of 'Wife and Husband' 
     b) family of 'Husband and Wife'

 

     In the position of his wife, you could write:

      "The data (and images) of the family of 'Wife and Husband ' can be found in the family of 'Husband and Wife'. " (Or vice versa)

 

    Even the children of a couple are always described 2 times:

     a)  children of 'Wife and Husband'

     b)  children of 'Husband and Wife'

 

   In the position of his wife, you could write:

   "The sons of the family of 'Wife and Husband' are listed in the family of 'Husband and Wife'. " (Or vice versa)

 

  Regardless of the choice between Wife and Husband, family data, pictures, and children, must be given where it is indicating the   name of at least one parent.

 

 

3) The images of an individual, are printed always at least two times (4 times in the situation in point 3):

     a)  small size, left, for the children;

     b)  size plus 'readable', right, for all individuals (including children as individuals);

 

     In HTML, this made ​​sense because it was still a link with the option to request an enlargement of the image, but in print it seems to me not very useful. Also, if the family tree is small, you can find the same images, whether large or small, twice on the same page. Instead, on the web never happens. Has the same price and there is not the idea of ​​paper waste.

 

In any case, a round of applause for Genome!Satisfied

 



Vittorino Lepore 
"
Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"


Edited: Wednesday, October 16, 2013 by vlepore
Posted Monday, October 21, 2013 - Post #32629
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,416, Visits: 26,379
Thanks for your comments (and applause Smile) Vittorino.  

I have addressed your points in version 2013.10.21 attached to the 1st post in this topic.

In answer to 1),  'PedigreeCharts' is replaced by a 'P' Flag in the 'Individual and Family content flags' setting.  This now also has a K flag to control display of childrens (a.k.a. Kids) pictures to address point 3)

For point 2) there is now a option to request display of family details with the 'principal' spouse only.  The principal spouse defaults to the male partner/husband unless overridden by a Family Custom Tag, PrincipalSpouse that can be set to the index number of the spouse to be made the principal one.  e.g. set it to 1 for the female partner/wife.

I have fixed some issues with Timelines so hopefully the HTML output is now correct and this skin can therefore be used for either PDF or HTML output.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!