Skip to content

B699 pdf generator inline images#69

Merged
jarkabaker merged 5 commits intomainfrom
b699-pdf-generator-inline-images
Apr 10, 2025
Merged

B699 pdf generator inline images#69
jarkabaker merged 5 commits intomainfrom
b699-pdf-generator-inline-images

Conversation

@peterbjohnson
Copy link
Member

An error occured when there were no images in a question. The source of the error is the update by SEGP to ensure centered images. The error was in the LaTeX template.

Changes made:

  • Update the pandoc version in the dockerfile
  • Update the latex template to match changes to pandoc
  • Remove the offending code that caused an error

Testing on local/DEV shows that the error no longer occurs.

An undesirable change is that images without captions are now left aligned. This needs fixing, but the urgent fix is to avoid errors. So this one should go through, and be followed up by a more satisfactory fix to center the images (without affecting pages where there are no images).

@jarkabaker jarkabaker merged commit 7a06457 into main Apr 10, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants