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

BUG : Image crop and adjustment not happening in new version but working in old version #405

Open
I7Z3R0 opened this issue Nov 29, 2024 · 2 comments

Comments

@I7Z3R0
Copy link

I7Z3R0 commented Nov 29, 2024

I am trying to build a report from markdown to pdf and the images are not properly cropping and its going out of page and only half of the page is getting printed

image

However if i use the old version like Eisvogel-2.0.0.zip the images are proper without any issues

image2

i am using the below command for both the templates

pandoc tomghost.md
-o tomghost.pdf
--from markdown+yaml_metadata_block+raw_html
--template eisvogel
--table-of-contents
--toc-depth 6
--number-sections
--top-level-division=chapter
--highlight-style tango

@I7Z3R0 I7Z3R0 changed the title Image cropping issue BUG : Image crop and adjustment not happening in new version but working in old version Nov 29, 2024
@jfmercer
Copy link

jfmercer commented Dec 2, 2024

I also discovered this bug. It is not present in the previous release (Eisvogel 2.4.2). But something in the current release (Eisvogel 2.5.0) causes the images to overflow.

@pcotret
Copy link

pcotret commented Dec 9, 2024

@I7Z3R0 and @jfmercer.

#392

It is due to the fact that the template added a new macro introduced in Pandoc 3.2.1.
Your Pandoc install may be outdated.

I had the same issue under Debian with a local Pandoc install (v2.7 by default).
Just needed to download the latest package from the pandoc repository and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants