When publishing asciidoc to PDF using asciidoctor-pdf I can set custom text-styles for table-headings and table content in the .yml file. This works OK as long as there are no asciidoc table-cells in play.. My goal is to have a smaller font in tables than in the main text. In the example below I chose a small italic font for table cells..

I guess the desired general behaviour is to have the content of all cells more or less the same.. When I change the base style a bit I can get:

Quite close, but now all my document text is way too small :-).
Would be great if this can be fixed. If I can help in any way, let me know!
.An example of asciidoc in a table. Desired is: all text looks the same.
[cols="15,15,35,35a",options="header",role="versiehistorie"]
|===
| Column1 | Column2 a| Column3 | Column4
|Text in first column |Column 2
a|Column 3
. first
. second
. Third
| This is the last column.
. first
. second
. Third
|Tekst in first column, second row | http://www.asciidoctor.org/[mailing list] hyperlink in non-asciidoc cell
a|The very same link in asciidoc cell http://www.asciidoctor.org/[mailing list] defined at cell level!
| This is the last column. It is an asciidoc cell at table-level It contains a link: http://discuss.asciidoctor.org/[mailing list]
|===
This issue is related to #926.
This is a limitation of the style inheritance in Asciidoctor PDF. It's not exactly clear what to do, since an AsciiDoc table cell is really a separate document. While we could try to inherit the base font size, what happens when it contains an element which has its own font size? I'm just not really sure how to approach this without adding an enormous amount of complexity.
If we could agree to apply a scaling factor, I think that might work.
Adding lots of complexity is not the thing to do for sure!
A scaling factor would be perfectly fine I guess.
That might mean: don鈥檛 mix non-asciidoc cell content and asciidoc content if you want to be sure not to get differences between text in different cells. But that is the case right now also and OK to me :)
This issue is being merged with #926.
Most helpful comment
This issue is related to #926.
This is a limitation of the style inheritance in Asciidoctor PDF. It's not exactly clear what to do, since an AsciiDoc table cell is really a separate document. While we could try to inherit the base font size, what happens when it contains an element which has its own font size? I'm just not really sure how to approach this without adding an enormous amount of complexity.
If we could agree to apply a scaling factor, I think that might work.