• Home
Name Date Size #Lines LOC

..--

extension-highlighter/03-May-2024-314169

katex_replace/03-May-2024-5735

themes/03-May-2024-276200

vu-to-json/03-May-2024-301214

vulkan-macros/03-May-2024-222163

.gitignoreD03-May-202457 43

README.mdD03-May-2024905 2617

asciidoctor-mathematical-ext.rbD03-May-2024600 2015

attribs.txtD03-May-2024774 5651

extension-highlighter.rbD03-May-2024829 215

katex_replace.rbD03-May-2024881 224

khronos.cssD03-May-202436.4 KiB715454

makeSubmit.pyD03-May-20243.7 KiB10649

mathtest.txtD03-May-202425.3 KiB948779

optimize-pdfD03-May-20242.7 KiB8431

tilde_open_block.rbD03-May-20242.2 KiB6644

vu-to-json.rbD03-May-2024815 215

vulkan-macros.rbD03-May-20241.7 KiB4729

README.md

1# Vulkan Asciidoc Configuration Files
2
3## Macros
4
5The macros in `vulkan-macros.rb` and `vulkan-macros/extension.rb` are
6described in the "Vulkan Documentation and Extensions: Procedures and
7Conventions" document (see the [styleguide](../styleguide.txt)).
8
9## Support for Math
10
11Asciidoctor is customized to insert KaTeX `<script>` tags from
12`math.js` for HTML5, and properly pass through math which has
13`\begin{}\/end{}` delimiters instead of $$\[\]\(\).
14
15For PDF builds, asciidoctor-mathematical is used to generate
16
17`math-docbook.conf` is heavily conditionalized depending on whether the
18final output format (which should be described in the a2x-format variable)
19is `pdf` or not, since Docbook passes through math differently to dblatex
20vs. the XHTML stylesheets. This could be simplified now that we're only
21using Docbook for PDFs.
22
23## Stylesheets
24
25`khronos.css` is the stylesheet used for HTML output.
26