Conversation
This organizes into four chapters (Getting Started, Core Kernel Interfaces, Execution Context and Control Flow, Hardware Integration and Advanced Topics) while preserving flat section numbering via \@removefromreset to avoid breaking existing references. Enable the table of contents in HTML output and style it as a fixed sidebar with responsive collapse at 1100px. Override tex4ht default cascade for TOC indentation and chapterToc link properties. Add focus-visible outlines, print stylesheet, and WCAG AA contrast. Provide fancyvrb-based fallbacks for minted environments in HTML mode (lib/codeblock.tex) so code blocks render with line numbers and proper framing under tex4ht. Disable fncychap in HTML mode to avoid its line-break errors in tex4ht processing. Close #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This organizes into four chapters (Getting Started, Core Kernel Interfaces, Execution Context and Control Flow, Hardware Integration and Advanced Topics) while preserving flat section numbering via @removefromreset to avoid breaking existing references.
Enable the table of contents in HTML output and style it as a fixed sidebar with responsive collapse at 1100px. Override tex4ht default cascade for TOC indentation and chapterToc link properties. Add focus-visible outlines, print stylesheet, and WCAG AA contrast.
Provide fancyvrb-based fallbacks for minted environments in HTML mode (lib/codeblock.tex) so code blocks render with line numbers and proper framing under tex4ht. Disable fncychap in HTML mode to avoid its line-break errors in tex4ht processing.
Close #26
Summary by cubic
Adds a four‑chapter structure and a responsive HTML sidebar table of contents to improve navigation without breaking existing section anchors. Also fixes HTML build issues and ensures code blocks render reliably. Closes #26.
New Features
\tableofcontentsin HTML with a fixed sidebar that collapses below 1100px; custom TOC indentation/link styles, focus-visible outlines, and WCAG AA contrast..page-actionstoolbar.fancyvrbfallbacks formintedenvironments intex4htHTML mode so code blocks have line numbers and frames.Bug Fixes
fncychapin HTML mode to avoidtex4htline-break errors during processing.Written for commit 1583d27. Summary will update on new commits.