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

incorrect formatting for long table with images #702

Open
giuliano52 opened this issue Aug 28, 2024 · 0 comments
Open

incorrect formatting for long table with images #702

giuliano52 opened this issue Aug 28, 2024 · 0 comments

Comments

@giuliano52
Copy link

First thank you for this great tool, that I am it using a lot.

I found strange behaviour (using Asciidoctor Web PDF 1.0.0-alpha.16) :

When I create a long table with images, the first page is fine but the following are displaying fewer lines than would fit on the page. The situation is worse when using the parameter: width=100%.

below the asciidoctor test file and this is the output:

output.pdf

thank you in advance if you can give me some advice.

= Sample

[cols="4,1"]
|===
| 1 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 2 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 3 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 4 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 5 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 6 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 7 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 8 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 9 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 10 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 11 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 12 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 13 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 14 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 15 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 16 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 17 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 18 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 19 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
| 20 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[width=100%]
|===

<<<

[cols="4,1"]
|===
| 1 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 2 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 3 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 4 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 5 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 6 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 7 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 8 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 9 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 10 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 11 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 12 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 13 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 14 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 15 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 16 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 17 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 18 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 19 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
| 20 | image:https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[]
|===

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

1 participant