Part I. IntroductionTable of ContentsPreface1. Overview1.1. What do the stylesheets do?1.2. Getting the stylesheets2. Using the stylesheets2.1. Using the Jar2.2. Using the Python script2.3. Run with Java2.4. Run with Docker2.5. Extension functions2.6. “Chunked” output2.7. Effectivity attributes and profiling2.8. Syntax highlighting2.9. Persistent ToC2.10. Print output (dead tree editions)2.11. EPUB output3. Customizing the stylesheets3.1. Changing stylesheet parameters3.2. Creating a customization layer3.3. Managing CSS stylesheets3.4. Creating something completely different4. Localization4.1. Background4.2. Overview4.3. Localization files4.4. Customizing a localization4.5. Caveats5. Implementation details5.1. Customizing chunking5.2. Lengths and units5.3. Verbatim styles5.4. Processing mediaobjects5.5. Templates5.6. Annotations5.7. The pre- and post-processing pipeline6. Building the stylesheets6.1. Prerequisites6.2. Repository structure6.3. Build tasks6.4. Running XSpec