Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latex treedoc: convert images to thumbnails for embedding #1620

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

azrdev
Copy link
Contributor

@azrdev azrdev commented Nov 18, 2023

Images are included by the latex code in full into the rendering, instead of only the rectangle selected in gramps' media DB. Having lots of big photos with small faces in my setup, this leads to unreasonably huge PDF files with unrecognizably small faces in them.

Also, some characters (e.g. comma, spaces) in filepaths might trouble the latex parser, see 75921ce and 2da93aa -- using thumbnails this is circumvented.

However, note this makes the resulting .tex file not standalone anymore.

@azrdev
Copy link
Contributor Author

azrdev commented Nov 18, 2023

Already tried to submit the patch to the mailinglist for discussion, but the attachment was stripped.

Images are included by the latex code in full into the rendering,
instead of only the rectangle selected in gramps' media DB. Having lots
of big photos with small faces in my setup, this leads to unreasonably
huge PDF files with unrecognizably small faces in them.

Also, some characters (e.g. comma, spaces) in filepaths might trouble
the latex parser, see 75921ce and 2da93aa -- using thumbnails this
is circumvented.

However, note this makes the resulting .tex file not standalone anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants