There's apparently some sort of parsing issue with comments in vkspec.conf, so they are pulled out here for now. // The [efs]link macros insert named xrefs to the specified target // enumerated type, function, or structure name, and are also used // for validation. // Could also use // The [efsp]text macros insert the specified target enumerant, function, // structure or parameter name, and are NOT used for validation. They are // otherwise identical to the [efsp]name macros above, and are intended // to get the proper formatting for terms that are *not* actually API // features, e.g. wildcards or partial names. // The [efsp]name macros insert the specified target enumerant, function, // structure or parameter name, and are also used for validation. // The basetype macro inserts text for the specified base (scalar) type. It // is not currently used for validation, but will be eventually // The code macro inserts text for the specified shader code function or // variable. // I have no idea what the old 'vkkeyword' macro does, but it appears // to be unused, so removed it and archived here for the moment. // // (?u)^(?P):(?P\S*?)(\[(?P.*?)\])$=vkkeyword // // [vkkeyword-inlinemacro] // {passtext} --------------- PDF Generation ---------------- vkspec-dblatex.xsl is XSL specific to a2x->dblatex->PDF spec generation. It is a very slightly modified version of /etc/asciidoc/dblatex/asciidoc-dblatex.xsl, as follows: > colorlinks,linkcolor=black,pdfstartview=FitH > 0 > 0 and has been simplified to just those parameters. Additional templates replacing those under /usr/share/xml/docbook/stylesheet/dblatex/xsl/* can be added here. --------------- XHTML Generation ---------------- vkspec-xhtml.css is CSS for the xhtml and chunked targets. It is pulled in from docbook-xsl/common.xsl. This gives us direct control over the CSS for the document, including support for markup styles. --------------- Asciibook Stylesheets ---------------- docbook-xsl/chunked.xsl docbook-xsl/common.xsl docbook-xsl/xhtml.xsl replace parts of the asciibook stylesheets normally found under /etc/asciidoc/docbook-xsl in order to generate consistent IDs on sections and to insert MathJax