Re: Redundant lines in pdf table
Posted by
mojavelinux on
Dec 16, 2018; 12:02pm
URL: https://discuss.asciidoctor.org/Redundant-lines-in-pdf-table-tp6650p6652.html
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| – Отказы в исполнении операций.
|===
--