Login  Register

Redundant lines in pdf table

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Redundant lines in pdf table

Ksolo
Hey there!

I'm quite new to asciidoctor and ran into an issue. When i convert table with "a|" cells to pdf (using gradle plugin), cells have extra line and i have no idea how to remove it. Not sure if it's even possible for pdf. Any help would be greatly appreciated.

Here's what i get in pdf:



Here's the table in adoc:

[cols="25%,5%,70%"]
|===
.6+a| image::104.jpg[scaledwidth="100"]
a| image::image156.png[scaledwidth="70"] a| – Безопасность (пароли, уведомления о входе, активация, блокировка, смена PIN-кода, смена номера телефона).
a| image::image157.png[scaledwidth="70"] a| – Зачисления на карту/счёт.
a| image::image158.png[scaledwidth="70"] a| – Списания с карты/счёта.
a| image::image159.png[scaledwidth="70"] a| – Уведомления о задолженностях (ГИБДД, налоги, взыскания, кредиты).
a| image::image160.png[scaledwidth="70"] a| – Прочие сообщения – типы событий, не вошедшие в вышеописанные категории.
a| image::image161.png[scaledwidth="70"] a| – Отказы в исполнении операций.
|===
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Redundant lines in pdf table

mojavelinux
Administrator
Unfortunately, this is just one of the limitations of Asciidoctor PDF. The renderer has no (easy) way of knowing it's processing the last block inside an AsciiDoc table cell, so it adds extra spacing thinking there is content that comes after it. If someone is able to figure out a fix that addresses this case, we can consider including it.

Cheers,

-Dan

On Thu, Dec 13, 2018 at 10:17 PM Ksolo [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hey there!

I'm quite new to asciidoctor and ran into an issue. When i convert table with "a|" cells to pdf (using gradle plugin), cells have extra line and i have no idea how to remove it. Not sure if it's even possible for pdf. Any help would be greatly appreciated.

Here's what i get in pdf:



Here's the table in adoc:

[cols="25%,5%,70%"]
|===
.6+a| image::104.jpg[scaledwidth="100"]
a| image::image156.png[scaledwidth="70"] a| – Безопасность (пароли, уведомления о входе, активация, блокировка, смена PIN-кода, смена номера телефона).
a| image::image157.png[scaledwidth="70"] a| – Зачисления на карту/счёт.
a| image::image158.png[scaledwidth="70"] a| – Списания с карты/счёта.
a| image::image159.png[scaledwidth="70"] a| – Уведомления о задолженностях (ГИБДД, налоги, взыскания, кредиты).
a| image::image160.png[scaledwidth="70"] a| – Прочие сообщения – типы событий, не вошедшие в вышеописанные категории.
a| image::image161.png[scaledwidth="70"] a| – Отказы в исполнении операций.
|===


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Redundant-lines-in-pdf-table-tp6650.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux