You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
7 months ago
..
extension-highlighter v811_spc009_project 7 months ago
katex_replace v811_spc009_project 7 months ago
themes v811_spc009_project 7 months ago
vu-to-json v811_spc009_project 7 months ago
vulkan-macros v811_spc009_project 7 months ago
README.md v811_spc009_project 7 months ago
asciidoctor-mathematical-ext.rb v811_spc009_project 7 months ago
attribs.txt v811_spc009_project 7 months ago
extension-highlighter.rb v811_spc009_project 7 months ago
katex_replace.rb v811_spc009_project 7 months ago
khronos.css v811_spc009_project 7 months ago
makeSubmit.py v811_spc009_project 7 months ago
mathtest.txt v811_spc009_project 7 months ago
optimize-pdf v811_spc009_project 7 months ago
tilde_open_block.rb v811_spc009_project 7 months ago
vu-to-json.rb v811_spc009_project 7 months ago
vulkan-macros.rb v811_spc009_project 7 months ago

README.md

Vulkan Asciidoc Configuration Files

Macros

The macros in vulkan-macros.rb and vulkan-macros/extension.rb are described in the "Vulkan Documentation and Extensions: Procedures and Conventions" document (see the styleguide).

Support for Math

Asciidoctor is customized to insert KaTeX <script> tags from math.js for HTML5, and properly pass through math which has \begin{}\/end{} delimiters instead of [].

For PDF builds, asciidoctor-mathematical is used to generate

math-docbook.conf is heavily conditionalized depending on whether the final output format (which should be described in the a2x-format variable) is pdf or not, since Docbook passes through math differently to dblatex vs. the XHTML stylesheets. This could be simplified now that we're only using Docbook for PDFs.

Stylesheets

khronos.css is the stylesheet used for HTML output.