Web based family history software

file Question PDF reports

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago - 2 years 1 month ago #1 by sevtor
PDF reports was created by sevtor
The last couple of months I have work quite a lot with the report engine to get new reports that suits me better than the old ones.

I started with the pedigree report and after a complete rewrite I now have a version family_tree that can display up to 8 generation on paper A2 in Landscape mode! Names should also now be adapted to the space available, i.e. truncated instead of overwriting other information.
By the way, US paper formats are supported correctly.

The ahnentafel and descendency report had a lot in common but different layout so I merged them into one report: family_history. Main features: a new and hopefully better layout and usage of fonts; facts and events are sorted chronologically, not by type; notes are printed because they can contain interesting details; an indication of relation to the start person is given after the name (m=mother, f=farther, x=brother or sister, s=son, d=daughter, h=husband, w=wife, e.g. mmf=mother's mother's farther, sw=son's wife, et c.)

The individual_ext_report also got the indication of relation to the start person.

They are now three different modules because I can't figure out how to put three reports in one module!

These extensions require some modifications in the XML parser, ReportParserGenerate.php.

A working example can be seen at my demo site: torstendahl.se/demo/

webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Attachments:
Last edit: 2 years 1 month ago by sevtor.

Please Log in or Create an account to join the conversation.

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #2 by sevtor
Replied by sevtor on topic PDF reports
Images of example reports are added.
Pedigree reports on paper size A2 in landscape mode and size US-Tabloid in portrait mode.
One page of family history.

webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Attachments:

Please Log in or Create an account to join the conversation.

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
More
2 years 1 month ago #3 by norwegian_sardines
Replied by norwegian_sardines on topic PDF reports
Looks very nice! I’ve been waiting for a rewrite of the reporting module ever since v2.0 of webtrees was introduced, but other user based requests have taken precedence.

Thanks for breathing some new life into the reports.

Ken

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #4 by Peter_S
Replied by Peter_S on topic PDF reports

I’ve been waiting for a rewrite of the reporting module ever since v2.0 of webtrees was introduced, but other user based requests have taken precedence.
Yes, the report modules should be modernized and revised.
A selection option of the fields to be displayed would be desirable.

Peter

webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #5 by rola
Replied by rola on topic PDF reports
I also hope that there will be some progress with rewrting the report engine.

Ladislav

webtrees 2.0.24 + ⚶ Vesta modules (from cissee.de/ )
testing webtres 2.1.5 + ⚶ Vesta modules
on PHP Version 7.4.28

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago #6 by ksajdak
Replied by ksajdak on topic PDF reports
I love the family_history report.

I have a few questions . . .
1. Does the report have an option to skip living individuals?
2. Has there been any updates to the report?
3. Are to modifications to the php files contained in the patches file?

Thanks.
 

Please Log in or Create an account to join the conversation.

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 months 1 week ago #7 by sevtor
Replied by sevtor on topic PDF reports
Glad you appreciate my work!
1. No such option is included, but I added it to a wish list
2. No updates since February, these versions are attached in case you missed them
3. Yes, the patched php files are included in the file new-reports.zip, they are ok to use with all new versions of webtrees.
Regards

webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Attachments:

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago - 10 months 1 week ago #8 by ksajdak
Replied by ksajdak on topic PDF reports
message
Last edit: 10 months 1 week ago by ksajdak. Reason: File did not transfer well

Please Log in or Create an account to join the conversation.

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 months 1 week ago #9 by sevtor
Replied by sevtor on topic PDF reports
A quick look at the trace dump suggests to me that the image file might be corrupt. I will try to destroy an image and see if I get the same result.

webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago - 10 months 1 week ago #10 by RickM
Replied by RickM on topic PDF reports
Thanks for your efforts SevTor

Looks fabulous.. I will make some suggestions when I have played a bit more and understand better..

One thing I do not quite understand is the (x) (xs) (ssd) 'things' alongside most peoples names in some of the reports..

Perhaps a Reference Page to explain these to a lay person might be a good idea??

 

Rick M
Tauranga
Nu Tirani - New Zealand

alineofmalkins.com/wt-malkins
Webtrees v2.2.1
Hosted by HostAmarada on litespeed Server, PHP v8.3
Offline: WebTrees v2.2.2-dev
Laragon v6, PHP v8.3.15
Last edit: 10 months 1 week ago by RickM. Reason: Solved the issue.. Damn and it was easy..

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #11 by HerzScheisse
Replied by HerzScheisse on topic PDF reports
Hi,

Did someone have this modul and changes running on latest webtress 2.1.20?

webtrees 2.1.20 - modules: all vesta, faces, legal notice, privacy policy, fancy treeview, fancy research links
Linux Ubuntu | PHP 8.3.3 | MariaDB 10.5.23 | rewrite_urls="1"
My genealogy site: www.eisold.family

Please Log in or Create an account to join the conversation.

  • Franz Frese
  • Franz Frese's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
4 months 2 weeks ago #12 by Franz Frese
Replied by Franz Frese on topic PDF reports
Ich habe gerade mal nur die new-Modules in Version 1.0.1 heruntergeladen, aber über Fehlermeldungen bin ich nicht hinausgekommen.
Unexpected character "$" around position 0 for expression `$dupl=='no'`. …/vendor/symfony/expression-language/Lexer.php:88
Vielleicht muss man die Webtrees  - Änderungen auch noch installieren, die es dann vermutlich nur in einer älteren Version gibt.

Vielleicht hat Seved aufgegeben oder er ist soweit mit seinen Änderungen zufrieden?

Die Testversion läuft auf webtrees 2.1.18, also schon etwas älter.

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #13 by xiao
Replied by xiao on topic PDF reports
Family-history is a very good module, but unfortunately it does not support Chinese.

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #14 by HerzScheisse
Replied by HerzScheisse on topic PDF reports
a few minutes ago sevtor pushed a new version to his github repo github.com/sevtor/modules

will test this later this day...

Thanks sevtor for the fixes... hopefully your additions will soon be merged into webtrees...

webtrees 2.1.20 - modules: all vesta, faces, legal notice, privacy policy, fancy treeview, fancy research links
Linux Ubuntu | PHP 8.3.3 | MariaDB 10.5.23 | rewrite_urls="1"
My genealogy site: www.eisold.family

Please Log in or Create an account to join the conversation.

  • Franz Frese
  • Franz Frese's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
4 months 1 week ago - 4 months 1 week ago #15 by Franz Frese
Replied by Franz Frese on topic PDF reports
sorry, I did not see the prerequisits for the new modules: one has to replace some of the original webtrees files (included in the new-reports.zip). So I hesitate with exchange. 

@xiao: translation should be possible!
Last edit: 4 months 1 week ago by Franz Frese.

Please Log in or Create an account to join the conversation.

More
3 months 1 day ago #16 by xiao
Replied by xiao on topic PDF reports
github.com/sevtor/modules/releases/downl...2/new-reports-v3.zip

I got a 404 error when downloading new-reports. Is the link invalid?

Please Log in or Create an account to join the conversation.

  • Franz Frese
  • Franz Frese's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
3 months 23 hours ago #17 by Franz Frese

Please Log in or Create an account to join the conversation.

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 23 hours ago #18 by sevtor
Replied by sevtor on topic PDF reports
Yes, I am sorry, I made a mistake with the link, it shall be .../v1.0.3/... as in new-reports.zip !

webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/

Please Log in or Create an account to join the conversation.

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 23 hours ago #19 by sevtor
Replied by sevtor on topic PDF reports
Thanks, that was a much better link! I will update the README file once again so I won't forget to change the link the next time.

webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum