-
Notifications
You must be signed in to change notification settings - Fork 4
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
Need to audit and re-structure any tables that have block elements in cells or the PDF won't render properly #13
Comments
FWIW: I've been thinking for a while that we should re-think most of our table usages in the ref guide anyway, and restructiong everything but the trivial usage into something else ... this seems force the issue. Alternatively: we could look into other means of generating the PDF? some folks have noted that using an asciidoctor->docbook->pdf pipeline doesn't have these problems... |
I've long thought that the tables need to go away as the default approach to handling parameters. It's difficult to keep them consistent (in terms of headers and columns) and I don't think they're very easy for users to read. It's high on my list to change those once this conversion is completed, and I'd thought the conversion process was the place where I would start. I'm -1 on the idea of trying to convert to docbook then pdf. While it's powerful, we'd have to learn how it works, make the conversion, then figure out how to convert it to PDF. For something that I frankly think has low value - everyone uses the online version. Only a small group uses the PDF. |
… in PDF because it has cells containing block elements or multi paragraphs #13
I've updated the conversion process to add a |
The change looks good. Should we close this? Or does it need to stay open for another reason? |
I was assuming we'd leave open until we had a concrete game plan for what to do with all these tables? I guess it depends on how you want to track stuff like that. I'm fine either way. |
… in PDF because it has cells containing block elements or multi paragraphs #13
The latest release of asciidoctor-pdf is supposed to have a fix for this problem: https://github.com/asciidoctor/asciidoctor-pdf/releases/tag/v1.5.0.alpha.14 |
While working on /issues/8 i discovered this known bug in the PDF backend: asciidoctor/asciidoctor-pdf/issues/6
While the PDF backend has support for basic text formatting, anything that involves multiple "blocks" (ie:
[source]
code blocks, quoted blocks, admonishments, or even just multiple paragraphs) won't work.A trivial table example demonstrating the problem is shown below -- all rows render fine in html/jekyll, but with the PDF backend only the last row renders properly
(note the "a" in the cols spec indicating that asciidoc processing should happen on each column, same problem exists if it's specified on a per-cell basis)
The text was updated successfully, but these errors were encountered: