Repository navigation
Merge main (v1.4.0) into Asciidoctor work - #33
MarkCallow wants to merge 16 commits into
Conversation
Also * Tweak Makefile to add config/attribs.adoc and config/dataformat/docinfo-header.html as dependencies of dataformat. * Update all "non-linear" to "nonlinear" matching Vulkan. * Add "c" type to source block headers, where appropriate, to get syntax highlighting.
Add CSS to tweak style of these tables.
Needs further work. Nested table is not filling the cell in the containing table.
|
I'll look into the build failures next week, probably Tuesday. I have been using the Docker image to build locally and it builds without any issues. |
|
@fluppeteer, to experiment with the layout of the |
Current builds succeed without them.
The tool chain is happy to use .svg images when generating pdf output.
|
@oddhack, please look at the CI failure. I see that PR #23 failed too but, as the logs have expired, I can't see if it was the same failure as this. The build is working fine on my machine with the version of the khronos tools docker image fetched last week when I ran |
instead of conditional entity.
|
Regarding the missing equations in - \left(\begin{array}{ccc}
+ \left(\begin{array}{r@{}lr@{}lr@{}l}which is apparently related to specifying column alignment for the matrix. Katex reports |
The missing equations had pdf and html variants but as attribute used in the `ifeval` conditional was undefined AsciiDoctor removed both parts of the conditional. This commit removes the pdf variants and the conditional as the single version renders fine in the PDF output.
|
Regarding the directives for page breaks in the PDF, since the formatting is quite different compared to when they were originally inserted, they make no sense where they are appearing now. I propose to remove them and let the formatter decide page breaks. I think this will give a better result than right now and since we are deprecating the PDF output, it will not be an issue if some of the breaks are in less than ideal places. @fluppeteer what do you think? |
|
|
Also
config/dataformat/docinfo-header.html as dependencies of dataformat.
syntax highlighting.
@fluppeteer please compare the example DFDs in chapter 11 with those in the preceding DFD chapters and let me know how you'd like to see these tables rendered. Also I added the revision history, rewritten as .adoc at the end of the document. Do you prefer it at the beginning as you have in the current release version.
To Do
[stripes="none"]in a relevant table's attribute list does not prevent the striping.khronos.css?image::{images}/565pixels.svg[width="{svgpdf@pdf:400pt:800}",align="center"]Even if the {svgpdf} attribute is set by the Makefile to
.svgwhen builiding the HTML version, no width is set and images appear at their default size, which is very small in many cases, for example Figures 2, 3 and 4. Other images have a default size that is the same as the size the image include directive is setting, e.g. Figure 1. This style of attribute reference does not appear in the Asciidoctor documentation (at least I couldn't find it). Given what I have observed, it looks like it is not supported. Not sure what to do to make sure SVG and PDF have decent sizes. Anyone familiar how to do something like this in Asciidoctor? Changing to a simple width="nnn" works but then the sizes will only be correct for one backend. EDIT: I have found out how to do this: e.g.,[width="800",pdfwidth="400pt"]. Now I have to figure out the right RE to make the changes in vim.primaries.adoc. This is using svgpdf to detect if output is svg or pdf and setting equations differently. Since the attribute is not defined Asciidoctor removes everything in the if.