# Vulkan Asciidoc Configuration Files
## Config File Macros
The macros in `vkspec.conf` and `manpages.conf` are described in the "Vulkan
Documentation and Extensions: Procedures and Conventions" document (see the
[styleguide](../styleguide.txt)). There's a parsing issue with comments in
`vkspec.conf`, so they are pulled out here for now.
## 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.
## HTML Generation
`vkspec-html.css` is CSS for HTML generated by the asciidoc xhtml11 and
html5 backends. It is branched from `/etc/asciidoc/stylesheets/asciidoc.css`
and tweaked to more closely resemble the asciidoc Docbook XHTML stylesheet.
This gives us direct control over CSS for the document, including support
for markup styles.
## Asciidoc Stylesheets
`docbook-xsl/common.xsl` replaces parts of the asciibook stylesheets
normally found under `/etc/asciidoc/docbook-xsl` in order to generate
consistent IDs on sections. We no longer support the docbook toolchain for
anything except PDF output, so other specializations have been removed.
## Support for Math
`math-asciidoc.conf`, `math-docbook.conf`, and `math.js` customize asciidoc
macros for HTML5 and Docbook output to insert KaTeX `