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

HTML output: EMF image renders at the beginning of the document. #603

Open
manuelfuenmayor opened this issue Jan 12, 2025 · 3 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@manuelfuenmayor
Copy link

Description

EMF image is getting rendered at the beginning of the HTML document.

This is from metanorma/itu-X.arch-design#1:
image

This only happens in HTML output. PDF renders fine.
In DOC, though, the image doesn't render:

image

To replicate

Go to itu-X.arch-design repository and execute:

  1. git fetch
  2.  git checkout convert-itu-x-arch
  3. bundle exec metanorma -t itu -x html,pdf,doc sources/document.adoc
@opoudjis
Copy link
Contributor

Not happening in HTML under the new collection structure of the document:

Image

Nor DOC:

Image

The PR specified in the ticket has been merged into main branch.

@manuelfuenmayor could you please check whether this ticket still needs to be actioned? It looks fine to me now.

@opoudjis opoudjis moved this from 🆕 New to 👀 In review in Metanorma Feb 13, 2025
@manuelfuenmayor
Copy link
Author

manuelfuenmayor commented Feb 18, 2025

After updating to the latest gems, I'm still encountering with the issue.
Here are my files: output.zip

This is the chain of actions I followed to get the output:

  1. git checkout main
  2. git pull
  3. bundle update
  4. bundle exec metanorma collection sources/collection.yml

This created an output folder. Inside of it, the file of interest in the one called document.1.html.

@anermina
Copy link

At @manuelfuenmayor's request, I have also attempted to generate the files. The results are as follows:

PDF:
Image

DOC:
Image

HTML:
Image

@opoudjis opoudjis moved this from 👀 In review to 🏗 In progress in Metanorma Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants