From 93383dca21fa16cca3cdc4fe17cd1d2c95287268 Mon Sep 17 00:00:00 2001 From: Oscar Levin Date: Tue, 7 Jul 2026 19:42:31 -0600 Subject: [PATCH 1/2] First attempt at pretext-html (wasm) --- CLAUDE.md | 31 +- package-lock.json | 51 +- package.json | 7 +- packages/pretext-html/README.md | 132 + packages/pretext-html/assets/preview-html.xsl | 230 + packages/pretext-html/assets/upstream.json | 7 + packages/pretext-html/assets/xsl/README.md | 32 + packages/pretext-html/assets/xsl/entities.ent | 154 + .../assets/xsl/extract-asymptote.xsl | 68 + .../assets/xsl/extract-biblio-csl.xsl | 327 + .../assets/xsl/extract-datafile.xsl | 71 + .../assets/xsl/extract-dynamic.xsl | 139 + .../assets/xsl/extract-identity.xsl | 136 + .../assets/xsl/extract-interactive.xsl | 81 + .../assets/xsl/extract-latex-image.xsl | 118 + .../assets/xsl/extract-mermaid.xsl | 58 + .../pretext-html/assets/xsl/extract-mom.xsl | 63 + .../pretext-html/assets/xsl/extract-pg.xsl | 2897 +++ .../assets/xsl/extract-prefigure.xsl | 157 + .../assets/xsl/extract-qrcode.xsl | 100 + .../xsl/extract-runestone-page-template.xsl | 139 + .../assets/xsl/extract-sageplot.xsl | 166 + .../pretext-html/assets/xsl/extract-stack.xsl | 56 + .../pretext-html/assets/xsl/extract-trace.xsl | 134 + .../assets/xsl/extract-youtube.xsl | 63 + .../pretext-html/assets/xsl/html-symbols.xsl | 3344 ++++ .../assets/xsl/latex/pretext-latex-AIM.xsl | 56 + .../assets/xsl/latex/pretext-latex-CLP.xsl | 148 + .../assets/xsl/latex/pretext-latex-chaos.xsl | 317 + .../xsl/latex/pretext-latex-dyslexic-font.xsl | 76 + .../assets/xsl/latex/pretext-latex-guide.xsl | 104 + .../xsl/latex/pretext-latex-texstyle.xsl | 862 + .../assets/xsl/localizations/README.md | 56 + .../assets/xsl/localizations/af-ZA.xml | 276 + .../assets/xsl/localizations/bg-BG.xml | 276 + .../assets/xsl/localizations/ca-ES.xml | 285 + .../assets/xsl/localizations/cs-CZ.xml | 280 + .../assets/xsl/localizations/de-DE.xml | 281 + .../assets/xsl/localizations/en-US.xml | 427 + .../assets/xsl/localizations/es-ES.xml | 287 + .../assets/xsl/localizations/fi-FI.xml | 275 + .../assets/xsl/localizations/fr-CA.xml | 276 + .../assets/xsl/localizations/fr-FR.xml | 280 + .../assets/xsl/localizations/hu-HU.xml | 280 + .../assets/xsl/localizations/it-IT.xml | 276 + .../assets/xsl/localizations/ku-CKB.xml | 275 + .../xsl/localizations/localizations.xml | 48 + .../assets/xsl/localizations/nl-NL.xml | 275 + .../assets/xsl/localizations/pt-BR.xml | 288 + .../assets/xsl/localizations/pt-PT.xml | 292 + .../assets/xsl/localizations/zh-HANS.xml | 269 + .../assets/xsl/pretext-assembly.xsl | 4795 +++++ .../assets/xsl/pretext-basic-html.xsl | 86 + .../assets/xsl/pretext-beamer.xsl | 662 + .../assets/xsl/pretext-braille-preprint.xsl | 2249 +++ .../assets/xsl/pretext-common.xsl | 12018 +++++++++++++ .../assets/xsl/pretext-dynamic.xsl | 65 + .../pretext-html/assets/xsl/pretext-epub.xsl | 1483 ++ .../pretext-html/assets/xsl/pretext-fo.xsl | 4593 +++++ .../pretext-html/assets/xsl/pretext-html.xsl | 14791 ++++++++++++++++ .../assets/xsl/pretext-json-manifest.xsl | 150 + .../assets/xsl/pretext-jupyter.xsl | 868 + .../assets/xsl/pretext-latex-classic.xsl | 952 + .../assets/xsl/pretext-latex-common.xsl | 11563 ++++++++++++ .../pretext-html/assets/xsl/pretext-latex.xsl | 47 + .../assets/xsl/pretext-litprog.xsl | 105 + .../pretext-html/assets/xsl/pretext-merge.xsl | 41 + .../assets/xsl/pretext-numbers.xsl | 875 + .../assets/xsl/pretext-revealjs.xsl | 522 + .../assets/xsl/pretext-runestone-fitb.xsl | 1233 ++ .../assets/xsl/pretext-runestone-static.xsl | 1438 ++ .../assets/xsl/pretext-runestone.xsl | 3083 ++++ .../assets/xsl/pretext-sage-doctest.xsl | 289 + .../pretext-html/assets/xsl/pretext-smc.xsl | 492 + .../xsl/pretext-solution-manual-latex.xsl | 323 + .../assets/xsl/pretext-text-utilities.xsl | 1217 ++ .../pretext-html/assets/xsl/pretext-text.xsl | 392 + .../pretext-html/assets/xsl/pretext-units.xsl | 195 + .../assets/xsl/pretext-view-source.xsl | 157 + .../assets/xsl/pretext-ww-problem-sets.xsl | 391 + .../assets/xsl/publisher-variables.xsl | 4756 +++++ .../pretext-html/assets/xsl/support/README.md | 22 + .../assets/xsl/support/extract-math.xsl | 256 + .../assets/xsl/support/package-math.xsl | 141 + .../assets/xsl/support/play-button/README.md | 44 + .../xsl/support/play-button/play-button.png | Bin 0 -> 6621 bytes .../xsl/support/play-button/play-button.svg | 3 + .../assets/xsl/support/pretext-pg-macros.xsl | 110 + .../xsl/support/webpack_static_imports.xml | 14 + .../pretext-html/assets/xsl/tests/README.md | 24 + .../pretext-html/assets/xsl/tests/null.xml | 4 + .../xsl/tests/pretext-text-utilities-test.xsl | 334 + .../assets/xsl/utilities/README.md | 29 + .../assets/xsl/utilities/author-report.xsl | 107 + .../xsl/utilities/deprecate-autoname.sed | 18 + .../assets/xsl/utilities/deprecate-index.sed | 33 + .../assets/xsl/utilities/fix-deprecations.xsl | 663 + .../xsl/utilities/pretext-enhanced-source.xsl | 112 + .../utilities/report-publisher-variables.xsl | 162 + .../pretext-html/assets/xsl/xml-to-json.xsl | 326 + .../pretext-html/assets/xsl/xml-to-string.xsl | 328 + packages/pretext-html/cli.mjs | 29 + packages/pretext-html/package.json | 52 + packages/pretext-html/scripts/refresh-xsl.mjs | 283 + packages/pretext-html/src/cli.ts | 107 + packages/pretext-html/src/index.ts | 11 + packages/pretext-html/src/mounts.ts | 114 + packages/pretext-html/src/publication.ts | 65 + packages/pretext-html/src/renderer.spec.ts | 202 + packages/pretext-html/src/renderer.ts | 269 + packages/pretext-html/src/xinclude.spec.ts | 155 + packages/pretext-html/src/xinclude.ts | 214 + packages/pretext-html/tsconfig.json | 25 + packages/pretext-html/tsconfig.lib.json | 10 + packages/pretext-html/tsconfig.spec.json | 13 + packages/pretext-html/vite.config.mts | 55 + .../resources/app/node_modules.asar | Bin 0 -> 43458 bytes packages/vscode-extension/build.mjs | 35 +- packages/vscode-extension/package.json | 14 + packages/vscode-extension/src/extension.ts | 5 + .../src/instant-preview-worker.ts | 18 + .../vscode-extension/src/instantPreview.ts | 303 + scripts/copy-vscode-extension-assets.mjs | 68 +- 123 files changed, 89887 insertions(+), 47 deletions(-) create mode 100644 packages/pretext-html/README.md create mode 100644 packages/pretext-html/assets/preview-html.xsl create mode 100644 packages/pretext-html/assets/upstream.json create mode 100644 packages/pretext-html/assets/xsl/README.md create mode 100644 packages/pretext-html/assets/xsl/entities.ent create mode 100644 packages/pretext-html/assets/xsl/extract-asymptote.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-biblio-csl.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-datafile.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-dynamic.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-identity.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-interactive.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-latex-image.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-mermaid.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-mom.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-pg.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-prefigure.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-qrcode.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-runestone-page-template.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-sageplot.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-stack.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-trace.xsl create mode 100644 packages/pretext-html/assets/xsl/extract-youtube.xsl create mode 100644 packages/pretext-html/assets/xsl/html-symbols.xsl create mode 100644 packages/pretext-html/assets/xsl/latex/pretext-latex-AIM.xsl create mode 100644 packages/pretext-html/assets/xsl/latex/pretext-latex-CLP.xsl create mode 100644 packages/pretext-html/assets/xsl/latex/pretext-latex-chaos.xsl create mode 100644 packages/pretext-html/assets/xsl/latex/pretext-latex-dyslexic-font.xsl create mode 100644 packages/pretext-html/assets/xsl/latex/pretext-latex-guide.xsl create mode 100644 packages/pretext-html/assets/xsl/latex/pretext-latex-texstyle.xsl create mode 100644 packages/pretext-html/assets/xsl/localizations/README.md create mode 100644 packages/pretext-html/assets/xsl/localizations/af-ZA.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/bg-BG.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/ca-ES.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/cs-CZ.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/de-DE.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/en-US.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/es-ES.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/fi-FI.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/fr-CA.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/fr-FR.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/hu-HU.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/it-IT.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/ku-CKB.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/localizations.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/nl-NL.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/pt-BR.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/pt-PT.xml create mode 100644 packages/pretext-html/assets/xsl/localizations/zh-HANS.xml create mode 100644 packages/pretext-html/assets/xsl/pretext-assembly.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-basic-html.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-beamer.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-braille-preprint.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-common.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-dynamic.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-epub.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-fo.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-html.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-json-manifest.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-jupyter.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-latex-classic.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-latex-common.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-latex.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-litprog.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-merge.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-numbers.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-revealjs.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-runestone-fitb.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-runestone-static.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-runestone.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-sage-doctest.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-smc.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-solution-manual-latex.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-text-utilities.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-text.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-units.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-view-source.xsl create mode 100644 packages/pretext-html/assets/xsl/pretext-ww-problem-sets.xsl create mode 100644 packages/pretext-html/assets/xsl/publisher-variables.xsl create mode 100644 packages/pretext-html/assets/xsl/support/README.md create mode 100644 packages/pretext-html/assets/xsl/support/extract-math.xsl create mode 100644 packages/pretext-html/assets/xsl/support/package-math.xsl create mode 100644 packages/pretext-html/assets/xsl/support/play-button/README.md create mode 100644 packages/pretext-html/assets/xsl/support/play-button/play-button.png create mode 100644 packages/pretext-html/assets/xsl/support/play-button/play-button.svg create mode 100644 packages/pretext-html/assets/xsl/support/pretext-pg-macros.xsl create mode 100644 packages/pretext-html/assets/xsl/support/webpack_static_imports.xml create mode 100644 packages/pretext-html/assets/xsl/tests/README.md create mode 100644 packages/pretext-html/assets/xsl/tests/null.xml create mode 100644 packages/pretext-html/assets/xsl/tests/pretext-text-utilities-test.xsl create mode 100644 packages/pretext-html/assets/xsl/utilities/README.md create mode 100644 packages/pretext-html/assets/xsl/utilities/author-report.xsl create mode 100644 packages/pretext-html/assets/xsl/utilities/deprecate-autoname.sed create mode 100644 packages/pretext-html/assets/xsl/utilities/deprecate-index.sed create mode 100644 packages/pretext-html/assets/xsl/utilities/fix-deprecations.xsl create mode 100644 packages/pretext-html/assets/xsl/utilities/pretext-enhanced-source.xsl create mode 100644 packages/pretext-html/assets/xsl/utilities/report-publisher-variables.xsl create mode 100644 packages/pretext-html/assets/xsl/xml-to-json.xsl create mode 100644 packages/pretext-html/assets/xsl/xml-to-string.xsl create mode 100644 packages/pretext-html/cli.mjs create mode 100644 packages/pretext-html/package.json create mode 100644 packages/pretext-html/scripts/refresh-xsl.mjs create mode 100644 packages/pretext-html/src/cli.ts create mode 100644 packages/pretext-html/src/index.ts create mode 100644 packages/pretext-html/src/mounts.ts create mode 100644 packages/pretext-html/src/publication.ts create mode 100644 packages/pretext-html/src/renderer.spec.ts create mode 100644 packages/pretext-html/src/renderer.ts create mode 100644 packages/pretext-html/src/xinclude.spec.ts create mode 100644 packages/pretext-html/src/xinclude.ts create mode 100644 packages/pretext-html/tsconfig.json create mode 100644 packages/pretext-html/tsconfig.lib.json create mode 100644 packages/pretext-html/tsconfig.spec.json create mode 100644 packages/pretext-html/vite.config.mts create mode 100644 packages/vscode-extension/.vscode-test/vscode-linux-x64-1.127.0/resources/app/node_modules.asar create mode 100644 packages/vscode-extension/src/instant-preview-worker.ts create mode 100644 packages/vscode-extension/src/instantPreview.ts diff --git a/CLAUDE.md b/CLAUDE.md index eb18d49b..7a321096 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -37,32 +37,39 @@ npm run lint # Refresh PreTeXt RNG schemas from upstream npm run refresh:schemas + +# Refresh vendored PreTeXt XSL stylesheets (pretext-html package) from upstream +npm run refresh:xsl ``` **Running the extension locally (VS Code):** + 1. `npm run build:dev` for an initial build 2. Press F5 to launch the "Run Extension + LSP" compound configuration 3. Reload the extension window to pick up TypeScript recompilation **LSP debugger:** The LSP server auto-attaches on port 6009 when launched via the compound config. Set breakpoints in `packages/vscode-extension/src/lsp-server/`. -**What `npm test` actually runs:** the root `test` script only covers `completions`, `prettier-plugin-pretext`, and a fixed list of "reliability" spec files (`remark-pretext`, `ptxast-util-to-mdast`, `latex-pretext`). It does **not** run `format`'s or `ptxast`'s own Vitest suites, nor `vscode-extension`'s integration tests — run those with `npm run test -w ` directly. `vscode-extension`'s test script (`vscode-test`) launches a real VS Code instance and is also runnable from the editor via the "Extension Tests" debug configuration. +**What `npm test` actually runs:** the root `test` script only covers `completions`, `prettier-plugin-pretext`, `schema`, `pretext-html`, `vscode-extension` unit specs, and a fixed list of "reliability" spec files (`remark-pretext`, `ptxast-util-to-mdast`, `latex-pretext`). It does **not** run `format`'s or `ptxast`'s own Vitest suites, nor `vscode-extension`'s integration tests — run those with `npm run test -w ` directly. `vscode-extension`'s test script (`vscode-test`) launches a real VS Code instance and is also runnable from the editor via the "Extension Tests" debug configuration. + +**JSPI note (`pretext-html`):** `@pretextbook/pretext-html` runs libxslt as WebAssembly and needs the `--experimental-wasm-jspi` Node flag, which is banned in `NODE_OPTIONS`. Its vitest config passes the flag via `test.execArgv`; its CLI (`cli.mjs`) re-launches itself with the flag; the VS Code extension forks `out/instant-preview-worker.mjs` with the flag in `execArgv`. ## Architecture ### Packages -| Package | Role | Build tool | -|---|---|---| -| `vscode-extension` (`pretext-tools`) | Main VS Code extension: extension host, LSP client, commands, webview | esbuild → `out/extension.js` + `out/lsp-server.js` | -| `visual-editor` | React/TipTap WYSIWYG editor (VS Code webview UI) | Vite | -| `prettier-plugin-pretext` | Prettier plugin for PreTeXt XML | esbuild (ESM + CJS) | -| `completions` | Completion/intellisense engine (consumed by LSP server) | None — exports raw `.ts` source directly (`main`/`types` point at `src/index.ts`) | -| `format` | PreTeXt document formatter library | Vite (ESM + CJS) | -| `latex-pretext` | LaTeX-to-PreTeXt conversion via `unified-latex` | Vite (ESM + CJS, via `vite-plugin-dts`) | -| `ptxast` | TypeScript types for the PreTeXt AST | Vite (ESM + CJS, via `vite-plugin-dts`) | -| `remark-pretext`, `ptxast-util-to-mdast` | AST conversion utilities (Markdown ⇄ PreTeXt AST) | Vite | -| `playground` | Dev-only web playground for testing conversions | Vite | +| Package | Role | Build tool | +| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `vscode-extension` (`pretext-tools`) | Main VS Code extension: extension host, LSP client, commands, webview | esbuild → `out/extension.js` + `out/lsp-server.js` | +| `visual-editor` | React/TipTap WYSIWYG editor (VS Code webview UI) | Vite | +| `prettier-plugin-pretext` | Prettier plugin for PreTeXt XML | esbuild (ESM + CJS) | +| `completions` | Completion/intellisense engine (consumed by LSP server) | None — exports raw `.ts` source directly (`main`/`types` point at `src/index.ts`) | +| `format` | PreTeXt document formatter library | Vite (ESM + CJS) | +| `latex-pretext` | LaTeX-to-PreTeXt conversion via `unified-latex` | Vite (ESM + CJS, via `vite-plugin-dts`) | +| `pretext-html` | PreTeXt→HTML in pure JS: official XSLT via `libxslt-wasm`; powers the extension's Instant Preview; vendored `assets/xsl/` + generated `assets/preview-html.xsl` (regenerate with `npm run refresh:xsl`) | Vite (ESM only; needs Node `--experimental-wasm-jspi`) | +| `ptxast` | TypeScript types for the PreTeXt AST | Vite (ESM + CJS, via `vite-plugin-dts`) | +| `remark-pretext`, `ptxast-util-to-mdast` | AST conversion utilities (Markdown ⇄ PreTeXt AST) | Vite | +| `playground` | Dev-only web playground for testing conversions | Vite | `extension/` (not a package) — extension manifest, TextMate grammar, snippets, and static assets that ship with the published extension. diff --git a/package-lock.json b/package-lock.json index 21b2a859..97019e56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3003,6 +3003,10 @@ "resolved": "packages/playground", "link": true }, + "node_modules/@pretextbook/pretext-html": { + "resolved": "packages/pretext-html", + "link": true + }, "node_modules/@pretextbook/ptxast": { "resolved": "packages/ptxast", "link": true @@ -10228,6 +10232,15 @@ "node": ">= 0.8.0" } }, + "node_modules/libxslt-wasm": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/libxslt-wasm/-/libxslt-wasm-0.0.14.tgz", + "integrity": "sha512-WmwD9GVMH3Rpw/4e118jReSRudo1jbV2F60ixJR2AQepo6nAq9k1/VRwaXYWjlNsd5wgOZhLwXHJOPEg4U6SsA==", + "license": "MIT", + "engines": { + "node": ">=19.2.0" + } + }, "node_modules/lie": { "version": "3.3.0", "dev": true, @@ -18990,7 +19003,7 @@ }, "packages/completions": { "name": "@pretextbook/completions", - "version": "0.0.3", + "version": "0.0.4", "license": "MIT", "dependencies": { "vscode-languageserver": "^9.0.1" @@ -18998,7 +19011,7 @@ }, "packages/format": { "name": "@pretextbook/format", - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "dependencies": { "xast-util-from-xml": "^4.0.0" @@ -19012,7 +19025,7 @@ }, "packages/latex-pretext": { "name": "@pretextbook/latex-pretext", - "version": "0.0.12", + "version": "0.0.13", "license": "MIT", "dependencies": { "@pretextbook/unified-latex-to-pretext": "^0.0.4", @@ -19044,6 +19057,22 @@ "vite": "*" } }, + "packages/pretext-html": { + "name": "@pretextbook/pretext-html", + "version": "0.1.0", + "license": "MIT", + "dependencies": { + "libxslt-wasm": "^0.0.14", + "xast-util-from-xml": "^4.0.0", + "xast-util-to-xml": "^4.0.0" + }, + "bin": { + "pretext-html": "cli.mjs" + }, + "engines": { + "node": ">=22" + } + }, "packages/prettier-plugin-pretext": { "version": "2.0.0", "license": "MIT", @@ -19058,7 +19087,7 @@ }, "packages/ptxast": { "name": "@pretextbook/ptxast", - "version": "0.0.7", + "version": "0.0.8", "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -19070,10 +19099,10 @@ }, "packages/ptxast-util-to-mdast": { "name": "@pretextbook/ptxast-util-to-mdast", - "version": "0.0.7", + "version": "0.0.8", "license": "GPL-3.0-or-later", "dependencies": { - "@pretextbook/ptxast": "^0.0.7", + "@pretextbook/ptxast": "^0.0.8", "@types/mdast": "^4.0.0", "mdast-util-directive": "^3.0.0", "mdast-util-math": "^3.0.0", @@ -19088,10 +19117,10 @@ }, "packages/remark-pretext": { "name": "@pretextbook/remark-pretext", - "version": "0.0.10", + "version": "0.0.11", "license": "MIT", "dependencies": { - "@pretextbook/ptxast": "^0.0.7", + "@pretextbook/ptxast": "^0.0.8", "@types/mdast": "^4.0.0", "mdast-util-directive": "^3.0.0", "remark-directive": "^4.0.0", @@ -19103,7 +19132,7 @@ }, "packages/schema": { "name": "@pretextbook/schema", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "dependencies": { "salve-annos": "^1.2.4", @@ -19114,11 +19143,11 @@ }, "packages/visual-editor": { "name": "@pretextbook/visual-editor", - "version": "0.0.6", + "version": "0.0.7", "license": "MIT", "dependencies": { "@floating-ui/dom": "^1.7.6", - "@pretextbook/format": "0.2.0", + "@pretextbook/format": "0.2.1", "@tiptap/extension-code-block": "^3.14.0", "@tiptap/extension-list": "^3.14.0", "@tiptap/extensions": "^3.14.0", diff --git a/package.json b/package.json index 6e3ad24f..9368dae2 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build": "npm run build:deps && npm run build -w pretext-tools", "build:deps": "npm run build:utils && npm run build:libs", "build:utils": "npm run build -w @pretextbook/ptxast && npm run build -w @pretextbook/remark-pretext && npm run build -w @pretextbook/ptxast-util-to-mdast", - "build:libs": "npm run build -w @pretextbook/format && npm run build -w @pretextbook/latex-pretext && npm run refresh-schema -w @pretextbook/completions && npm run build -w @pretextbook/completions && npm run compile-grammar -w @pretextbook/schema && npm run build -w @pretextbook/schema && npm run build:lib -w @pretextbook/visual-editor && npm run build -w prettier-plugin-pretext", + "build:libs": "npm run build -w @pretextbook/format && npm run build -w @pretextbook/pretext-html && npm run build -w @pretextbook/latex-pretext && npm run refresh-schema -w @pretextbook/completions && npm run build -w @pretextbook/completions && npm run compile-grammar -w @pretextbook/schema && npm run build -w @pretextbook/schema && npm run build:lib -w @pretextbook/visual-editor && npm run build -w prettier-plugin-pretext", "build:dev": "npm run build:deps && npm run build:dev -w pretext-tools", "build:packages": "npm run build:deps", "publish-packages": "changeset publish", @@ -26,10 +26,11 @@ "refresh:schemas": "node ./scripts/getSchemas.js && node ./packages/completions/scripts/generate-default-schema.mjs && npm run generate-types -w @pretextbook/ptxast && node ./packages/schema/scripts/compile-grammar.mjs", "check:schema-generated": "node ./scripts/check-schema-generated.mjs", "lint": "npm run lint -w prettier-plugin-pretext && npm run lint -w @pretextbook/visual-editor && npm run lint -w pretext-tools", - "test": "npm run test -w @pretextbook/completions && npm run test -w prettier-plugin-pretext && npm run test -w @pretextbook/schema && npm run test:reliability", + "test": "npm run test -w @pretextbook/completions && npm run test -w prettier-plugin-pretext && npm run test -w @pretextbook/schema && npm run test:unit -w pretext-tools && npm run test:reliability && npm run test -w @pretextbook/pretext-html", "test:reliability": "npm exec vitest run packages/remark-pretext/src/lib/remark-pretext.spec.ts packages/ptxast-util-to-mdast/src/lib/ptxast-util-to-mdast.spec.ts packages/latex-pretext/src/lib/latex-pretext.spec.ts", "pretest": "npm run build", - "format": "npx prettier -w $(git ls-files 'packages/vscode-extension/*.ts')" + "format": "npx prettier -w $(git ls-files 'packages/vscode-extension/*.ts')", + "refresh:xsl": "npm run refresh-xsl -w @pretextbook/pretext-html" }, "devDependencies": { "@changesets/cli": "^2.31.0", diff --git a/packages/pretext-html/README.md b/packages/pretext-html/README.md new file mode 100644 index 00000000..765450f7 --- /dev/null +++ b/packages/pretext-html/README.md @@ -0,0 +1,132 @@ +# @pretextbook/pretext-html + +Convert [PreTeXt](https://pretextbook.org) documents to HTML in pure +JavaScript — no Python, no PreTeXt installation. This runs the **official, +unmodified PreTeXt XSLT stylesheets** with +[libxslt-wasm](https://github.com/jeremy-code/libxslt-wasm), a WebAssembly +build of libxml2/libxslt/libexslt (the same C libraries the Python CLI uses +via lxml), so the HTML matches a real `pretext build`. + +The output is a single, standalone HTML page: PreTeXt's _portable HTML_ mode +is forced on, so theme css/js and MathJax load from public CDNs and the whole +document is rendered as one page. This is what powers the "Instant Preview" +in the PreTeXt-tools VS Code extension, and it is published so other tools +(e.g. pretext.plus) can render previews the same way. + +## Usage + +### CLI + +```sh +npx @pretextbook/pretext-html source/main.ptx \ + --project-dir . \ + --publication publication/publication.ptx \ + -o preview.html +``` + +HTML goes to stdout (or `--output`); diagnostics (`PTX:WARNING`, `PTX:ERROR`, +deprecation notices) go to stderr. Run `pretext-html --help` for all options. + +The CLI relaunches itself with `--experimental-wasm-jspi` automatically (see +[Requirements](#requirements)). + +### API (Node) + +```js +import { renderHtml } from "@pretextbook/pretext-html"; + +const { html } = await renderHtml({ + sourcePath: "source/main.ptx", // root document + projectDir: ".", // directory the transform may read from + publicationPath: "publication/publication.ptx", // optional + stringParams: {}, // optional extra XSLT stringparams +}); +``` + +- `sourceContent` lets you render unsaved editor text (with `sourcePath` still + anchoring relative `xi:include`s). +- The user's publication file is respected, except + `` is always forced — that is what + makes single-page in-memory output possible. +- The compiled stylesheet is cached per `xslDir` (~1s to compile, then + ~100ms–1s per render depending on document size). + +## Requirements + +- **Node ≥ 22** launched with **`--experimental-wasm-jspi`** (WebAssembly + stack switching). The flag is not allowed in `NODE_OPTIONS`; it must be on + the command line. The `pretext-html` CLI re-executes itself with the flag; + API users must supply it themselves (in tests, vitest's `execArgv` option + works — see `vite.config.mts`). +- Network access _for the rendered page_ (theme css/js and MathJax come from + `cdn.jsdelivr.net`). The transform itself runs fully offline. + +## How it works + +1. **Vendored stylesheets** — `assets/xsl/` is a snapshot of the upstream + [`pretext/xsl`](https://github.com/PreTeXtBook/pretext/tree/master/xsl) + tree (GPL-licensed; see `assets/xsl/LICENSE-pretext`). Refresh with + `npm run refresh:xsl` from the monorepo root. +2. **Generated wrapper** — `assets/preview-html.xsl` imports `pretext-html.xsl` + and overrides the `file-wrap` template with a verbatim copy minus its + `` wrapper, so the complete page (head, theme links, + masthead, content) lands on the main result tree instead of on disk. All + other file-writing templates are stubbed. The wrapper is **generated** by + `scripts/refresh-xsl.mjs`, which also audits every `exsl:document` site + reachable from `pretext-html.xsl` and fails if upstream adds a writer we + don't cover. +3. **Virtual-host fetch shim** — the WASM build has no filesystem + (`FILESYSTEM=0`); every resource load (stylesheet imports, `document()` + calls, the publication file) goes through the global `fetch`. We mount + fake origins like `http://mnt1.ptx.invalid` backed by local directories + and in-memory strings — no HTTP server involved. +4. **JS XInclude** — `xi:include` is resolved in JavaScript before parsing + (libxml2's own XInclude pass cannot suspend in the current WASM build). + Supports nested includes, `parse="text"`, and `xi:fallback`; `xpointer` is + not supported. + +## Limitations (current WASM build) + +| Limitation | Cause | Fix | +| ---------------------------------------------------------- | ------------------------------------------------- | --------------------------------------------------------------------------- | +| Whole-book documents crash ("memory access out of bounds") | ~64KB WASM stack vs. libxslt's per-node recursion | Rebuild libxslt-wasm with `STACK_SIZE=8MB` | +| No multi-file output (`exsl:document`) | Compiled with `FILESYSTEM=0` | Rebuild with `FILESYSTEM=1` (files land in MEMFS) | +| Node only, JSPI flag required | Loader fetches resources mid-transform via JSPI | Preload stylesheets into MEMFS at init, or wait for JSPI to ship unflagged | +| No generated images (latex-image, sageplot, …) | Produced by the Python toolchain, not XSLT | Out of scope; run `pretext generate` and the preview will pick the files up | +| `xi:include` with `xpointer` unsupported | JS resolver stands in for libxml2's | Rebuild adding `xmlXIncludeProcessFlags` to the JSPI export list | + +Missing generated assets degrade gracefully: the transform serves a stub for +missing files, PreTeXt emits its usual `PTX:ERROR` advice, and the preview +renders without the image. + +## Forking libxslt-wasm (phase 2) + +The limitations above are compile flags, not architecture. When ready: + +1. Fork [jeremy-code/libxslt-wasm](https://github.com/jeremy-code/libxslt-wasm) + (MIT). The Emscripten build configuration is in its `Makefile`/build + scripts. +2. Change the Emscripten link flags: + - `-sFILESYSTEM=1` — enables `exsl:document` writes into in-memory MEMFS, + readable back from JS; unlocks real multi-file builds. + - `-sSTACK_SIZE=8388608` (8MB, matching native defaults) and + `-sALLOW_MEMORY_GROWTH=1` — fixes whole-book stack overflows. +3. Add `xmlXIncludeProcessFlags` to the JSPI exports list (the + `Asyncify`/JSPI `exportPattern` — see `ASYNCIFY_EXPORTS` in the build) so + native XInclude can suspend for fetches; then the JS resolver in + `src/xinclude.ts` can be retired (or kept as a fallback). +4. Optional, to drop the JSPI requirement entirely (needed for + Firefox/Safari/browser use): preload `assets/xsl/` into MEMFS at module + init so no fetch ever happens mid-transform, and switch the entity loader + to synchronous MEMFS reads. +5. Publish as `@pretextbook/libxslt-wasm` (or vendor the artifacts) and swap + the dependency in this package's `package.json`. Everything else — + wrapper stylesheet, mounts, API — stays the same. + +## Development + +```sh +npm run build -w @pretextbook/pretext-html # vite build to dist/ +npm run test -w @pretextbook/pretext-html # vitest (JSPI via execArgv) +npm run refresh:xsl # re-vendor xsl + regenerate wrapper (from repo root) +``` diff --git a/packages/pretext-html/assets/preview-html.xsl b/packages/pretext-html/assets/preview-html.xsl new file mode 100644 index 00000000..835af483 --- /dev/null +++ b/packages/pretext-html/assets/preview-html.xsl @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:choose> + <xsl:when test="$title != ''"> + <xsl:value-of select="$title"/> + </xsl:when> + <xsl:otherwise> + <!-- Leading with initials is useful for small tabs --> + <xsl:if test="$docinfo/initialism"> + <xsl:apply-templates select="$docinfo/initialism" /> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:apply-templates select="." mode="title-plain" /> + </xsl:otherwise> + </xsl:choose> + + + + + + + + + + + + + + + + + + docHasLoaded() + + + + + + + + + + + pretext book + pretext article + + + + ignore-math + + + + + +
+
+ +
+

+ + + + + + + + + + + + + + + + + +

+ + + + +
+
+
+ + +
+ + +
+ + + + + +
+ + + + + + + + +
+ + + +
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
diff --git a/packages/pretext-html/assets/upstream.json b/packages/pretext-html/assets/upstream.json new file mode 100644 index 00000000..7bf973cb --- /dev/null +++ b/packages/pretext-html/assets/upstream.json @@ -0,0 +1,7 @@ +{ + "source": { + "repository": "PreTeXtBook/pretext", + "ref": "master" + }, + "refreshed": "2026-07-08T00:48:30.933Z" +} diff --git a/packages/pretext-html/assets/xsl/README.md b/packages/pretext-html/assets/xsl/README.md new file mode 100644 index 00000000..9abba3f8 --- /dev/null +++ b/packages/pretext-html/assets/xsl/README.md @@ -0,0 +1,32 @@ +eXtensible Stylesheet Language (XSL) Stylesheets +================================================ + +XSL stylesheets are the primary vehicle for converting PreTeXt XML +source into various output formats. As such, they are sometimes +simply called "conversions." Here we list **some** of the available +conversions, the list is not exhaustive. See _The PreTeXt Guide_ +for detailed documentation of use, in chapters of the part +titled _Publisher's Guide_. + +* `pretext-latex.xsl` - conversion to LaTeX, which can then +be converted to PDF, in print or electronic flavors. +* `pretext-html.xsl` - conversion to HTML for online use. +* `pretext-epub.xsl` - conversion to EPUB, which +requires significant additional processing. So this stylesheet +is not meant to be applied in isolation. See the `pretext/pretext` +Python script for an option to initiate the processing pipeline. +* `pretext-jupyter.xsl` - conversion to Jupyter notebooks. +* `pretext-revealjs.xsl` - conversion of slideshows to HTML. +* `pretext-beamer.xsl` - conversion of slideshows to PDF. +* `pretext-braille.xsl` - conversion to a precursor for braille output, which +requires significant further processing. So this stylesheet +is not meant to be applied in isolation. See the `pretext/pretext` +Python script for an option to initiate the processing pipeline. +* `pretext-common.xsl` - base templates, and not useful in isolation. +* `pretext-assembly.xsl` - pre-processing stylesheet, which creates an +enhanced version of source. Applied in a controlled way by other stylesheets. +See the `utilities\pretext-enhanced-source.xsl` stylesheet for a demonstration. +* `extract-*.xsl` - used to isolate particular parts of a PreTeXt +document, typically for subsequent processing by a script. + +(Updated: 2020-06-12) diff --git a/packages/pretext-html/assets/xsl/entities.ent b/packages/pretext-html/assets/xsl/entities.ent new file mode 100644 index 00000000..310cf11e --- /dev/null +++ b/packages/pretext-html/assets/xsl/entities.ent @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-asymptote.xsl b/packages/pretext-html/assets/xsl/extract-asymptote.xsl new file mode 100644 index 00000000..c700314b --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-asymptote.xsl @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + usepackage("amsmath"); + + + + + + texpreamble(" + + "); + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-biblio-csl.xsl b/packages/pretext-html/assets/xsl/extract-biblio-csl.xsl new file mode 100644 index 00000000..443d5039 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-biblio-csl.xsl @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BUG: PreTeXt "biblio" markup using a "" element is not implemented + + + + + + + + + [ + + ] + + + + + + + { + + + } + + , + + + + + + + + + + + + + + + + + " + + " + : + " + + + + + + + ", + + + + + + + + + " + + " + + : + " + + + + + + + + + " + + , + + + + + + + + + + + + + + + + + + + + + " + + " + : + [ + + ] + + , + + + + + + { + + + + + + } + + , + + + + + + + + + + + + " + + " + : + { + + + "date-parts": + [ + + ] + + } + + , + + + + + + + + + + + + + + + [ + + + + + , + + + + , + + + ] + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-datafile.xsl b/packages/pretext-html/assets/xsl/extract-datafile.xsl new file mode 100644 index 00000000..a1fc38dd --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-datafile.xsl @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-dynamic.xsl b/packages/pretext-html/assets/xsl/extract-dynamic.xsl new file mode 100644 index 00000000..ee3380bc --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-dynamic.xsl @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ { "exercise_id": null } + + ] + + + + , + { + "exercise_id": " + + + + + ", + "exercise_setup": + + , + "exercise_seed": " + + + + + + 1234 + + + ", + "exercise_evals": [ + + + , + + + + " + + " + + + " + + " + + + + ] + } + + + diff --git a/packages/pretext-html/assets/xsl/extract-identity.xsl b/packages/pretext-html/assets/xsl/extract-identity.xsl new file mode 100644 index 00000000..806b80f9 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-identity.xsl @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:FATAL: scratch directory provided ("") which is not supported. Please report the circumstances revealing this mistake. Quitting... + + + + + + + + + + + + + PTX:FATAL: xml:id provided ("") for restriction to a subtree does not exist. Quitting... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-interactive.xsl b/packages/pretext-html/assets/xsl/extract-interactive.xsl new file mode 100644 index 00000000..30ab2552 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-interactive.xsl @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-latex-image.xsl b/packages/pretext-html/assets/xsl/extract-latex-image.xsl new file mode 100644 index 00000000..80cb443a --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-latex-image.xsl @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \documentclass[ + + ]{ + + article} + \usepackage{geometry} + + + + 9.0in + + + + + pt + + + + + + + \geometry{letterpaper,total={ + + , + + }} + %% Custom Page Layout Adjustments (use publisher page-geometry) + + \geometry{ + + } + + \usepackage{amsmath,amssymb} + + \ifdefined\tikzset + \tikzset{ampersand replacement = \amp} + \fi + + \begin{document} + \pagestyle{empty} + + + + + + + + + + \resizebox{\width}{\height}{ + + } + \end{document} + + + + diff --git a/packages/pretext-html/assets/xsl/extract-mermaid.xsl b/packages/pretext-html/assets/xsl/extract-mermaid.xsl new file mode 100644 index 00000000..1335cb09 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-mermaid.xsl @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-mom.xsl b/packages/pretext-html/assets/xsl/extract-mom.xsl new file mode 100644 index 00000000..3e8f2071 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-mom.xsl @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-pg.xsl b/packages/pretext-html/assets/xsl/extract-pg.xsl new file mode 100644 index 00000000..1efd51a2 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-pg.xsl @@ -0,0 +1,2897 @@ + + + + + + + + + + + + + + + + + + + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + generated + + + webwork2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + .pg + + + + + + + + + + + + + + + + + + undefined + + + + + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + in + + + + + + + + + + + + + + + + + + + + + + ((( + + ))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DOCUMENT(); + + + + + COMMENT(' + + + + '); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DOCUMENT(); + + + + + COMMENT(' + + + + '); + COMMENT('This problem is scaffolded with multiple parts'); + + + + + + + + + + Body + + + + BEGIN_PGML + + + + + + + + + END_PGML + + + Scaffold + + + Scaffold::Begin( + numbered => 1, + is_open => "correct_or_first_incorrect", + can_open => + + + always, + + + when_previous_correct, + + + ); + + + + + + + + + + Scaffold::End(); + + + + + BEGIN_PGML + + + + END_PGML + + + + + + + + + + Section + + + Section::Begin(" + + + + "); + + + + + + + + + + + + + + + + Section::End(); + + + + + + + + + Section + + + Section::Begin(" + + + + "); + + + + + BEGIN_PGML + + + + END_PGML + + + Scaffold + + + Scaffold::Begin(numbered=>1); + + + + + + + + + + Scaffold::End(); + + + + + BEGIN_PGML + + + + END_PGML + + + + + Section::End(); + + + + + + + + + PG Setup Code + + + + + + Context('Numeric'); + + + + + + + + + + + + + + + + + + + + + + + Body + + + BEGIN_PGML + + + + + + + + + END_PGML + + + + + BEGIN_PGML + + + + END_PGML + + + + + + + Solution + + + BEGIN_PGML_SOLUTION + + + + END_PGML_SOLUTION + + + + + + + Hint + + + + #Set value of $showHint in PGcourse.pl for course-wide attempt threshhold for revealing hints + + BEGIN_PGML_HINT + + END_PGML_HINT + + + + + + + + + + + + + + COMMENT( + + + + + + , + + + + + + + + ); + + + + + + + + + + + + + + + q + + + + + + + + + + + + + + + + + + + ## DBsubject( + ) + ## DBchapter( + ) + ## DBsection( + ) + ## Level( + ) + ## KEYWORDS( + ) + ## TitleText1( + + + + ) + ## EditionText1( + + + + ) + ## AuthorText1( + + + + + , + + + + ) + + + ## Section1(not reported + + ) + + + ## Problem1( + + ) + + ## Author( + ) + ## Institution( + ) + ## Language( + + ) + + + + + + + Header + + + TEXT(beginproblem()); + + + + + + + + <div style="display:none;">\( + + \)</div> + + + + + + + + + + TEXT(MODES(PTX=>'',HTML=> + + q + + + + + )); + + + + + + + + + + + + + + + + End Problem + + + ENDDOCUMENT(); + + + + + + + + + + + + + + + + Load Macros + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + + PTX:WARNING: the WeBWorK PG macro is always included for every problem + + + + PTX:WARNING: the WeBWorK PG macro is always included for every problem as a dependency of PGstandard.pl + + + + PTX:WARNING: the WeBWorK PG macro is always included for every problem as a dependency of PGML.pl + + + + PTX:WARNING: the WeBWorK PG macro is implied by the problem construction and already included + + + + + + + + + + + + + + + + + + + + + + + .pl + + + + + + + + + + + + + + + + loadMacros( + + + + + + + + + + + ); + + + + + + + + $refreshCachedImages=1; + + + + + + + + + + " + + ", + + + + + + + + + + + + [ + + ] + + + ** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + [_] + + + * + + { + + + + + + + + + } + { + + } + + + + + + + + + [@ANS(essay_cmp()); + + + + + essay_box( + + + + + + 6 + + + , + + + + + + 76 + + + )@]* + + + + + + + + + + + + + + + + + + + + + [@essay_help()@]* + + + + ".AnswerFormatHelp(' + + ')." + + + [@AnswerFormatHelp(' + + ')@]* + + + + + + + + + + + + + angles + + + decimals + + + exponents + + + formulas + + + fractions + + + inequalities + + + numbers + + + intervals + + + logarithms + + + limits + + + numbers + + + points + + + syntax + + + units + + + vectors + + + none + + + + + + + + + + + + + + [@image(insertGraph( + + ), width=> + + + )@]* + + + + + + + , alt=>"" + + + + + + + + + + + + , alt=>qq + + + + + + + + + + + + + + + + + + + + = createLaTeXImage(); + + + ->addToPreamble(latexImagePreamble()); + + + + + + ->BEGIN_LATEX_IMAGE + + + + END_LATEX_IMAGE + + + + + + + + + $image_ + + + + + + + $introduction_image_ + + + + + + + + + + + + + + + + + + [@KeyboardInstructions( + + )@]** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + >> + + + + + + << + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [` + + + + + + + `] + + + + + + + + + + [``` + + + + + + + + ```] + + + + + + + + + + + + + + + + + + + + + + \begin{ + + } + + + + + + + + \end{ + + } + + + + + + + + + + + + + + gathered + + + alignedat + + + aligned + + + PTX:ERROR: display math @alignment attribute "" is not recognized (should be "aligned", "gathered", "alignedat") + + + + + + aligned + + + gathered + + + + + + + + + + + + [``` + + + + + + + + ```] + + + + + + + + + + + + + + + + + + + + + \\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: magnitude or units needed + + + + + + + + + + + + + + + + + + / + + + + + 1 + / + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: unit or per element should have parent quantity element + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: base unit needed + + + + + + ^ + + + + + + + + + + + [@htmlLink(" + + "," + + + + + + + + + ","TARGET='_blank'")@]* + + + + + + + + + + + + + + + + + _ + + _ + + + + + _ + + _ + + + + + * + + * + + + + + + + + [@MODES(HTML => '\(\mathrm\TeX\)', TeX => '\TeX', PTX => '<tex/>')@]* + + + [@MODES(HTML=>'\(\mathrm\TeX\)',TeX=>'\TeX', PTX=>'<tex/>')@]* + + + + + + + + + + [$LATEX]* + + + [$TEX]* + + + + + + + + + + + + + + + + + + + ' + + + + ' + + + + " + + + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ... + + + + + + + + + + + + + + + + + + + ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: the strings '[|' and '|]' are not supported within verbatim text ("") in WeBWorK problems + + + [| + + |]* + + + + + + + + + + + + + ``` + + + + + + + + + + + + ``` + + + + + + + + + + + + + + + + + ``` + + + + ``` + + + + + + + + + [$NBSP]* + + + + + [$NDASH]* + + + + + [$MDASH]* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + * + o + + + + + * + o + + + + + + + + + + 1 + a + A + i + I + + + + + a + i + A + 1 + + + + . + + + + + + + [$NBSP]* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [@DataTable( + + + + + + [ + + + + + + + + + + + ], + + + + + + + + + + + + + + + + bottom + + + middle + + + + + + + + + + + + + + + + + + + + + );@]* + + + + + + + + + + + + + + + + + + + *{ + + }{ + + } + + + + + + + + + + + + + + + + left + + + + + + + + + + + + + + + p{ + + } + + + + + + + + + + + + + + + + + left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + + + + ], + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + + + + + left + + + + + + + + + + left + + + + + + + + + + + + + left + + + + + + + + + + + + + left + + + + + + + + + + + + + + + none + + + + + + + + + + + + + + + + + + + + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PGML( + + ), + + + + + + [PGML( + + ), + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ], + + + + + + + + + + + + + + | + + + !{\vrule width 0.07em} + + + !{\vrule width 0.11em} + + + PTX:WARNING: left or right attribute not recognized: use none, minor, medium, major + + + + + + + + + + + 0 + + + 1 + + + 2 + + + 3 + + + PTX:WARNING: top or bottom attribute not recognized: use none, minor, medium, major + + + + + + + + + + + + + + + + + + => + + + => + + + ' + + ', + + + + + + + + + + + + + + ############################################################ + # + + + ############################################################ + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-prefigure.xsl b/packages/pretext-html/assets/xsl/extract-prefigure.xsl new file mode 100644 index 00000000..a4fcd637 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-prefigure.xsl @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reference to containing ancestor comes from PreTeXt context + + Serial number is from document-wide count of PreFigure diagrams + + + + + + + + + + + ( + + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-qrcode.xsl b/packages/pretext-html/assets/xsl/extract-qrcode.xsl new file mode 100644 index 00000000..39d4c4f0 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-qrcode.xsl @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-runestone-page-template.xsl b/packages/pretext-html/assets/xsl/extract-runestone-page-template.xsl new file mode 100644 index 00000000..d116f481 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-runestone-page-template.xsl @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + {% raw %} + + + {% endraw %} + + + + + + + + {% set using_ptx_base = "true" %} + + + {{base_url}} + + + + + + + + + + + + + + + {% block css %} + {% endblock %} + + + + + + ptx-runestone-template + + + + + + + {% include 'footer.html' %} + + + + + {% block js %} + {% endblock %} + + + + + + + + + + + + + + + + + + + _base.html + + + {% block title %} + + {% endblock %} + + + + {% block content %} + {% endblock %} + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-sageplot.xsl b/packages/pretext-html/assets/xsl/extract-sageplot.xsl new file mode 100644 index 00000000..4669bed7 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-sageplot.xsl @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + plot_ + + + + + + + + 2d + + + 2d + + + 3d + + + PTX:ERROR: a "sageplot" has a @variant attribute ("") for "" whose value is not "2d" nor "3d". The default ("2d") is being used, which could be incorrect + 2d + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + .save(' + + . + + ' + + + + + + , online=True + + ) + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-stack.xsl b/packages/pretext-html/assets/xsl/extract-stack.xsl new file mode 100644 index 00000000..c1b1bb09 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-stack.xsl @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/extract-trace.xsl b/packages/pretext-html/assets/xsl/extract-trace.xsl new file mode 100644 index 00000000..7491227f --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-trace.xsl @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + :||: + + + literal- + + + variable- + + + :||: + + + + + + + + :||: + + + + + + + + + + + !end_codelens_trace_group! + + + diff --git a/packages/pretext-html/assets/xsl/extract-youtube.xsl b/packages/pretext-html/assets/xsl/extract-youtube.xsl new file mode 100644 index 00000000..e326df58 --- /dev/null +++ b/packages/pretext-html/assets/xsl/extract-youtube.xsl @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + diff --git a/packages/pretext-html/assets/xsl/html-symbols.xsl b/packages/pretext-html/assets/xsl/html-symbols.xsl new file mode 100644 index 00000000..6dc945f6 --- /dev/null +++ b/packages/pretext-html/assets/xsl/html-symbols.xsl @@ -0,0 +1,3344 @@ + + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/latex/pretext-latex-AIM.xsl b/packages/pretext-html/assets/xsl/latex/pretext-latex-AIM.xsl new file mode 100644 index 00000000..5dd947fe --- /dev/null +++ b/packages/pretext-html/assets/xsl/latex/pretext-latex-AIM.xsl @@ -0,0 +1,56 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + enhanced, arc=2ex, colback=blue!5, colframe=blue!75!black, + colbacktitle=blue!20, coltitle=black, boxed title style={sharp corners, frame hidden}, + fonttitle=\bfseries, attach boxed title to top left={xshift=4mm,yshift=-3mm}, top=3mm, + + + + + + enhanced, sharp corners, colback=blue!3, colframe=blue!50!black, + add to width=-1ex, shadow={1ex}{-1ex}{0ex}{black!50!white}, + coltitle=black, fonttitle=\bfseries, attach title to upper, after title={\space}, + + + + diff --git a/packages/pretext-html/assets/xsl/latex/pretext-latex-CLP.xsl b/packages/pretext-html/assets/xsl/latex/pretext-latex-CLP.xsl new file mode 100644 index 00000000..eae6382e --- /dev/null +++ b/packages/pretext-html/assets/xsl/latex/pretext-latex-CLP.xsl @@ -0,0 +1,148 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + colback=white, colframe=black, colbacktitle=white, coltitle=black, + enhanced, + breakable, + attach boxed title to top left={xshift=7mm, yshift*=-\tcboxedtitleheight/2}, + frame hidden, + overlay unbroken={ + \draw[thick, \lt-, rounded corners] ([yshift=-3ex]interior.north west)--(interior.north west)--(title); + \draw[thick, -\gt, rounded corners] (title)--(interior.north east)--([yshift=-3ex]interior.north east); + \draw[thick, \lt-\gt, rounded corners] ([yshift=3ex]interior.south west)--(interior.south west)--(interior.south east)--([yshift=3ex]interior.south east); + }, + overlay first={ + \draw[thick, \lt-, rounded corners] ([yshift=-3ex]interior.north west)--(interior.north west)--(title); + \draw[thick, -\gt, rounded corners] (title)--(interior.north east)--([yshift=-3ex]interior.north east); + }, + overlay middle={}, + overlay last={ + \node[draw, thick, rectangle, rounded corners] (repeatTitle) at ([xshift=-12ex]interior.south east) {\textbf{Example~\thetcbcounter}}; + \draw[thick, \lt-, rounded corners] ([yshift=3ex]interior.south west)--(interior.south west)--(repeatTitle); + \draw[thick,-\gt,rounded corners] (repeatTitle)--(interior.south east)--([yshift=3ex]interior.south east); + }, + + + + + + colback=white, colframe=blue, colbacktitle=white, coltitle=blue, + enhanced, + breakable, + attach boxed title to top left={xshift=7mm, yshift*=-\tcboxedtitleheight/2}, + frame hidden, + overlay unbroken={ + \draw[blue, thick, square-, rounded corners] ([yshift=-3ex]interior.north west)--(interior.north west)--(title); + \draw[blue,thick, -square, rounded corners] (title)--(interior.north east)--([yshift=-3ex]interior.north east); + \draw[blue,thick, square-square, rounded corners] ([yshift=3ex]interior.south west)--(interior.south west)--(interior.south east)--([yshift=3ex]interior.south east); + }, + overlay first={ + \draw[blue,thick, square-, rounded corners] ([yshift=-3ex]interior.north west)--(interior.north west)--(title); + \draw[blue,thick, -square, rounded corners] (title)--(interior.north east)--([yshift=-3ex]interior.north east); + }, + overlay middle={}, + overlay last={ + \node[blue, draw, thick, rectangle, rounded corners] (repeatTitle) at ([xshift=-12ex]interior.south east) {\textbf{Example~\thetcbcounter}}; + \draw[blue, thick, square-, rounded corners] ([yshift=3ex]interior.south west)--(interior.south west)--(repeatTitle); + \draw[blue, thick, -square,rounded corners] (repeatTitle)--(interior.south east)--([yshift=3ex]interior.south east); + }, + + + + + + colback=white, colframe=red, colbacktitle=white, coltitle=red, + enhanced, + breakable, + attach boxed title to top left={xshift=7mm, yshift*=-\tcboxedtitleheight/2}, + frame hidden, + overlay unbroken={ + \draw[red, thick, |-, rounded corners] ([yshift=-3ex]interior.north west)--(interior.north west)--(title); + \draw[red,thick, -|, rounded corners] (title)--(interior.north east)--([yshift=-3ex]interior.north east); + \draw[red,thick, |-|, rounded corners] ([yshift=3ex]interior.south west)--(interior.south west)--(interior.south east)--([yshift=3ex]interior.south east); + }, + overlay first={ + \draw[red,thick, |-, rounded corners] ([yshift=-3ex]interior.north west)--(interior.north west)--(title); + \draw[red,thick, -|, rounded corners] (title)--(interior.north east)--([yshift=-3ex]interior.north east); + }, + overlay middle={}, + overlay last={ + \node[red, draw, thick, rectangle, rounded corners] (repeatTitle) at ([xshift=-12ex]interior.south east) {\textbf{Example~\thetcbcounter}}; + \draw[red, thick, |-, rounded corners] ([yshift=3ex]interior.south west)--(interior.south west)--(repeatTitle); + \draw[red, thick, -|,rounded corners] (repeatTitle)--(interior.south east)--([yshift=3ex]interior.south east); + }, + + + + + + + + + + + breakable, colframe=MidnightBlue, colback=MidnightBlue!5, colbacktitle=MidnightBlue!70, coltitle=black, enhanced, attach boxed title to top left={xshift=7mm, yshift*=-2ex},sharp corners=northwest, arc=10pt, + + + + + + + + + colbacktitle=red, sharp corners + + + colbacktitle=blue + + + + + diff --git a/packages/pretext-html/assets/xsl/latex/pretext-latex-chaos.xsl b/packages/pretext-html/assets/xsl/latex/pretext-latex-chaos.xsl new file mode 100644 index 00000000..d5b1116f --- /dev/null +++ b/packages/pretext-html/assets/xsl/latex/pretext-latex-chaos.xsl @@ -0,0 +1,317 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + \usepackage[geometry]{ifsym} %to get nice triangles + + \tikzset{weird fill/.style={append after command={ + \pgfextra + \draw[sharp corners, fill=#1]% + (\tikzlastnode.west)% + [rounded corners=0pt] |- (\tikzlastnode.north)% + [rounded corners=5pt] -| (\tikzlastnode.east)% + [rounded corners=0pt] |- (\tikzlastnode.south)% + [rounded corners=5pt] -| (\tikzlastnode.west)% + ; + \endpgfextra}}} + + + + \titleformat{name=\chapter} + {\normalfont} + {} + {8pt} + { + \begin{center}\begin{tikzpicture} + \draw node[ + inner sep=10pt, inner ysep=20pt, very thick, + weird fill=Green, text=white, minimum width={0.9\textwidth}, + text width={0.9\textwidth}, align=center + ](b) {\scshape\huge\filcenter\titleptx}; + \node[right=10pt, rounded corners=0pt, draw, fill=white] at (b.north west) + {\divisionnameptx\space\thechapter}; + \end{tikzpicture}\end{center} + } + [\hfill{\Large\authorsptx}] + %% + \titleformat{name=\chapter,numberless} + {\normalfont} + {} + {8pt} + { + \begin{center}\begin{tikzpicture} + \draw node[ + inner sep=10pt, inner ysep=20pt, very thick, + weird fill=Green, text=white, minimum width={0.9\textwidth}, + text width={0.9\textwidth}, align=center + ](b) {\scshape\huge\filcenter#1}; + \end{tikzpicture}\end{center} + } + + + + + \titleformat{\section} + {\titlerule + \vspace{.8ex}% + \Large\bfseries} + {\llap{\thesection}}{0.0em}{{\small\FilledSmallTriangleUp}\space\titleptx} + [\hfill{\large\authorsptx}] + \titleformat{name=\section,numberless} + {\titlerule + \vspace{.8ex}% + \Large\bfseries} + {}{0.0em}{{\small\FilledSmallTriangleUp}\space#1} + + + + \titleformat{\subsection}{\large\bfseries} + {\llap{\thesubsection}}{0.0em}{ {\small\FilledSmallTriangleRight\!\!\!\FilledSmallTriangleRight}\space\titleptx} + [\hfill{\normalsize\authorsptx}] + + + + \titleformat{\subsubsection}{\bfseries}{\llap{\thesubsubsection}}{0.0em}{{\small\FilledSmallTriangleRight\!\!\!\FilledSmallTriangleRight\!\!\!\FilledSmallTriangleRight}\space\titleptx} + [\hfill{\normalsize\authorsptx}] + + + + + + + \textcolor{-red}{#1} + + + + \textcolor{JungleGreen}{#1} + + + + \textcolor{LightCoral}{#1} + + + + + + + + + bwminimalstyle, fonttitle=\normalfont\bfseries, attach title to upper, after title={\qquad} + + + + + + size=minimal, attach title to upper, after title={\space}, fonttitle=\bfseries, coltitle=black, colback=green + + + + + + + + + + + + + enhanced, title engine=path, colback=red!5!white, + colframe=red!75!black, coltitle=blue!50!black,fonttitle=\bfseries, + title style={left color=blue!15!yellow, right color=red!85!black}, + + + + + + + + + + enhanced, arc=4mm,outer arc=1mm,colback=pink, + attach boxed title to top center={yshift=-\tcboxedtitleheight/2}, + boxed title style={size=small,colback=blue}, + + + + + + + + + colbacktitle=red, sharp corners + + + colbacktitle=blue + + + + + + + coltitle=red + + + coltitle=blue + + + coltitle=yellow + + + + + + + + enhanced jigsaw,fonttitle=\bfseries,opacityback=0.35,colback=blue!5!white, + frame style={left color=red!75!black,right color=red!10!yellow}, + overlay={\begin{tcbinvclipframe} + \draw[red,line width=1cm] ([xshift=-2mm,yshift=2mm]frame.north west) + --([xshift=2mm,yshift=-2mm]frame.south east); + \draw[red,line width=1cm] ([xshift=-2mm,yshift=-2mm]frame.south west) + --([xshift=2mm,yshift=2mm]frame.north east); + \end{tcbinvclipframe}} + + + + + + enhanced, arc=2ex, colback=blue!5, colframe=blue!75!black, + colbacktitle=blue!20, coltitle=black, boxed title style={sharp corners, frame hidden}, + fonttitle=\bfseries, attach boxed title to top left={xshift=4mm,yshift=-3mm}, top=3mm, + + + + + + enhanced, sharp corners, colback=blue!3, colframe=blue!50!black, + add to width=-1ex, shadow={1ex}{-1ex}{0ex}{black!50!white}, + coltitle=black, fonttitle=\bfseries, attach title to upper, after title={\space}, + + + + + + + + + + + + + + + + + + + + + + { + \setfoot[foot/even/empty][][] + {foot/odd or one-sided/empty}{}{} + } + + + + { + \setfoot[foot/even/plain][\thepage][] + {foot/odd or one-sided/plain}{\thepage}{} + } + + + + + + [\small\sffamily]{ + \sethead[\textbf{\thepage}] + [\ifthechapter{\textsl{Chapter \thechapter: \chaptertitle}}{\textsl{\chaptertitle}}] + [\ifthesection{\toptitlemarks\thesection--\bottitlemarks\thesection}{}] + {\ifthesection{\toptitlemarks\thesection--\bottitlemarks\thesection}{}} + {\ifthesection{\textsl{\sectiontitle}}{\chaptertitle}} + {\textbf{\thepage}} + \setfoot[foot/even/headings/book][][] + {foot/odd or one-sided/headings/book}{}{} + } + + + + [\small\sffamily]{ + \headrule + \sethead[\thepage][\sectiontitle][] + {}{\sectiontitle}{\thepage} + \setfoot[foot/even/headings/article][][] + {foot/odd or one-sided/headings/article}{}{} + } + + + + + + + + + plain + + + + + + + + + + + + + \usepackage[math]{iwona} + \usepackage[T1]{fontenc} + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/latex/pretext-latex-dyslexic-font.xsl b/packages/pretext-html/assets/xsl/latex/pretext-latex-dyslexic-font.xsl new file mode 100644 index 00000000..20fe0a3d --- /dev/null +++ b/packages/pretext-html/assets/xsl/latex/pretext-latex-dyslexic-font.xsl @@ -0,0 +1,76 @@ + + + + + + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + %% XeLaTeX font configuration from PreTeXt Dyslexic Font style + %% + + + + \setmainfont{OpenDyslexic} + + + + %% XeLaTeX font configuration from PreTeXt Dyslexic Font style + %% + + + + \setmonofont{OpenDyslexicMono} + + + diff --git a/packages/pretext-html/assets/xsl/latex/pretext-latex-guide.xsl b/packages/pretext-html/assets/xsl/latex/pretext-latex-guide.xsl new file mode 100644 index 00000000..26657af7 --- /dev/null +++ b/packages/pretext-html/assets/xsl/latex/pretext-latex-guide.xsl @@ -0,0 +1,104 @@ + + + + + + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + %% XeLaTeX font configuration from PreTeXt Guide style + %% We rely on a font installed at the system level, + %% so that we can exercise specific font features + %% + + + + \setmainfont{Libertinus Serif}[Numbers=OldStyle] + + + + + + + + + + + + + \renewfontfamily{\divisionfont}{Libertinus Sans}[Numbers=Lining] + \renewfontfamily{\contentsfont}{Libertinus Sans}[Numbers=Lining] + \renewfontfamily{\pagefont}{Libertinus Sans}[Numbers=Lining] + \renewfontfamily{\blocktitlefont}{Libertinus Serif}[Numbers=Lining] + \renewfontfamily{\tabularfont}{Libertinus Serif}[Numbers={Monospaced,Lining}] + \renewfontfamily{\xreffont}{Libertinus Serif}[Numbers=Lining] + \renewfontfamily{\titlepagefont}{Libertinus Serif}[Numbers=Lining] + \newfontfamily{\ornamental}{Libertinus Serif} + + + + %% Page style configuration from PreTeXt Guide style + %% + %% Plain pages should have the same font for page numbers + \renewpagestyle{plain}{% + \setfoot{}{\pagefont\thepage}{}% + }% + \renewpagestyle{headings}{% + \pagefont\headrule% + \sethead% + {\ifthesection{\pagefont\thesection}{\ifthechapter{\pagefont\thechapter}{}}}% + {{\ornamental ☙}{\pagefont\space\ifthesection{\sectiontitle}{\chaptertitle}\space}{\ornamental ❧}} + {\pagefont\thepage}}% + \pagestyle{headings} + + + diff --git a/packages/pretext-html/assets/xsl/latex/pretext-latex-texstyle.xsl b/packages/pretext-html/assets/xsl/latex/pretext-latex-texstyle.xsl new file mode 100644 index 00000000..d69c9671 --- /dev/null +++ b/packages/pretext-html/assets/xsl/latex/pretext-latex-texstyle.xsl @@ -0,0 +1,862 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: Unhandled texstyle element: + + + + + + + + + + + + + + + + + % This document was created with the texstyle file " + + .xml" to satisfy the requirements of the journal " + + ." % % + + + + + + + + + + + \documentclass + + [ + + ] + + { + + } % + + + + +% Required packages: + + + + + + + + + + % TexStyle preamble additions: + + + + % End TexStyle preamble addioions. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + % + \theoremstyle{ + + }% + + + + + + + \newtheorem{theorem}{ + + }[section] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \\ + + {\small + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ + + + [ + + + + ] + + { + + + } + + + + + + + + + + + + + + + + + + + + \ + + { + + + + + + + + + + } + + + + + \ + + + [ + + + + + + + + + ] + + + { + + + + + + + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: The @authority attribute on a keyword element (in a texstyle file) is required and must be "author" or "msc". Found "@authority="". + + + + + + + + + + + \ + + + [ + + ] + + { + + + + } + + + + + + + + \noindent\textbf{ + + + Keywords + + + + + + + Math Subject Classification + + + }. + + + + + + + + + + + + + + + + + + + + + \maketitle + + + + + + + + + + + + + + + + + + + PTX:WARNING: Supplements are not yet available in PreTeXt so this feature is not available currently. + + % + % Supplement sections + + % % + + + + + + % + % acknowledgement section + + % % + + + + + PTX:WARNING: Declarations are not yet available in PreTeXt so this feature is not available currently. + + % + % Declarations sections + + % % + + + + + + + + % + % Appendices + + \begin{ + + } + % % + + + + \end{ + + }% + + + + + + + PTX:WARNING: Bibliographies are not implemented correctly yet. + + + + + + + % % + %*********************************% + %* Begin Main Document *% + %*********************************% + % + \begin{document} + % + + + + % \end{document} + + + + + + + \par\medskip + + + + + + + + + + + + + + + + + + + + + + + + + + \begin{ + + } + + + + \end{ + + } + + + \ + + + + + + + + + + + + + + + + + + + + + + + [ + + + + ] + + + + + { + + + + } + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/README.md b/packages/pretext-html/assets/xsl/localizations/README.md new file mode 100644 index 00000000..5fb28fdd --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/README.md @@ -0,0 +1,56 @@ + + +PreTeXt Localizations +===================== + +Each file in this directory provides translations of various strings used in titles and headings (and other places) to a specific language. Filenames reflect the code for language (lowercase) and then the code for the region (uppercase). This is a requirement. + +For each file of translations, the "language" attribute of the "locale" element used to reference the language code and the "string-id" of each "localization" element is the lookup key. Element content is the language-specific string. The English version ("en-US") is carefully documented, so additions of new languages do not necessarily require new documentation, though it could help other implementers. See `xsl/pretext-common.xsl` for the two routines which make use of this information, one is a named template and the other (largely) uses the name of an element as the string-id. + +Some items peculiar to LaTeX are explained [here](http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fixnam) + +There is a [general overview of language tags](http://www.w3.org/International/articles/language-tags/) and the [Subtag Registry](http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry). + +Contibutions of new languages are always welcome and especially encouraged! Search on "Translation needed" to see where you can help. Use the en-US file as a template for a new language file, since it is always most complete. It is understood that certain English words and phrases have subtleties that can be very hard to capture in another language. Do your best to concoct a close approximation -- something should be better than nothing. And it might improve with additions from others later. We try to address some of this in the en-US file, so do be certain to look there for explanations of how these strings are employed. Comments about your own decisions, within the relevant language file, can be very helpful later. + +NEW LANGUAGES: for a new file to be effective, a single line needs to be added to the `xsl/localizations/localizations.xml` file. It should be obvious what to do by looking at the other lines of that file. If you create a new file, please include a "commented-out" line for any words you do not translate, and please use the **exact** style of commenting as elsewhere (one line per comment, indented). Including these, and using teh same style, greatly aids in maintenance and reliability. + +Additions to incomplete files, or new files for additional languages, are very welcome and are a huge help in making PreTeXt useable for more authors. A GitHub pull request is preferable. If you do not know GitHub well, then emailing the entire language file (as an attachment) is very welcome and just as easy to deal with on our end. Please respect the order in the en-US file, it saves us time when we add new terms to each and every file. Thanks. + +To test, or use: place `xml:lang="es-ES"`, or similar, as an attribute on your `` element. `en-US` is the default if no `@xml:lang` attribute is given on the `pretext` element. + +Current (partially) implemented language codes and contributors +* af-ZA, Afrikaans (South Africa), Dirk Basson +* bg-BG, Bulgarian (Bulgaria), Boyko Bantchev +* ca-ES, Catalan (Spain), Jordi Saludes +* cs-CZ, Czech (Czechia), Jiří Lebl +* de-DE, German (Germany), Karl-Dieter Crisman +* es-ES, Spanish (Spain), Juan José Torrens +* en-US, English (United States), Robert A. Beezer +* fi-FI, Finnish (Finland), Lasse M. Manninen +* fr-CA, French (Canada), Jean-Sébastien Turcotte +* fr-FR, French (France), Thomas W. Judson, Julien Giol, Jean-Sébastien Turcotte +* hu-HU, Hungarian (Hungary), Sándor Czirbusz +* it-IT, Italian (Italy), Valerio Monti +* ku-CKB, Rebin Muhammad, Kurdish (Central Kurdish) +* nl-NL, Dutch (Netherlands), Gosia Wrzesinska +* pt-BR, Portugese (Brazil), Igor Morgado, Vinicius Monego, Leon Silva +* pt-PT, Portugese (Portugal), António Pereira +* zh-HANS, Chinese Simplified (China), Hongqi Wang diff --git a/packages/pretext-html/assets/xsl/localizations/af-ZA.xml b/packages/pretext-html/assets/xsl/localizations/af-ZA.xml new file mode 100644 index 00000000..3482064a --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/af-ZA.xml @@ -0,0 +1,276 @@ + + + + + + + + + + + + + Stelling + Gevolg + Hulpstelling + Algoritme + Stelling + Aanvoering + Feit + Identiteit + + Bewys + + + + + Geval + + + + Aksioma + Vermoede + Beginsel + Heuristiek + Hipotese + Aanname + + Definisie + + Vergelyking + Vertoon Wiskunde + + Volume + Boek + Artikel + Brief + Skyfie Vertoning + Memo + Aanbieding + + Voorsake + Deel + Hoofstuk + Bylaag + + Afdeling + Onderafdeling + Onderonderafdeling + Skyfie + Inleiding + Slot + Oefeninge + Werkblad + + Leesvrae + Oplossings + Woordelys + Verwysings + Nasake + Paragrawe + Onderparagrawe + + + + + Opmerking + Konvensie + Nota + Waarneming + Waarskuwing + Insig + + Berekening + Tegnologie + + + Ter Syde + Biografiese Ter Syde + Geskiedkundige Ter Syde + + Voorbeeld + Vraag + Probleem + + Projek + Aktiwiteit + Verkenning + Taak + Ondersoek + Samevatting + Gedig + Doelstellings + Doelstelling + Uitkomstes + Uitkoms + + + + + + + + + Figuur + Tabel + Lys + Voetnota + Bydraer + + Lys + Item + Term + Paragraaf + Aanhaling + + Fragment + + + Oefening + Kontrolepunt + Werkbladoefening + Leesvraag + WeBWorK + Wenk + Antwoord + Oplossing + + Oefening Groep + Bibliografiese Inskrywing + + Inhoudsopgawe + Abstrak + Voorwoord + Erkennings + Skrywer Biografie + Oor die skrywer + Oor die skrywers + Voorwoord + Toewyding + Kolofon + + + + + + + + + + + ActiveCode + + CodeLens + + Indeks + Spring na + + Sien + Sien ook + + Simbool + Beskrywing + Plek + Bladsy + Voortgesit op volgende bladsy + + Slaan oor na hoofinhoud + Vorige + Op + Volgende + Vorig + Op + Volg + + Aantekeninge + Terugvoer + Geskryf in + + + + + + Aan + Van + Onderwerp + Datum + cc + bylae + + Om Te Doen + Redakteur + Uitgawe + Webtuiste + Kopiereg + + + perma-skakel + In Konteks + + + + + + + + + + Copy heading and permalink for + + Evalueer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/bg-BG.xml b/packages/pretext-html/assets/xsl/localizations/bg-BG.xml new file mode 100644 index 00000000..c803a292 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/bg-BG.xml @@ -0,0 +1,276 @@ + + + + + + + + + + + + + Теорема + Следствие + Лема + Алгоритъм + Предложение + Твърдение + Факт + Тъждество + + Доказателство + + + + + Случай + + + + Аксиома + Хипотеза + Принцип + Heuristic + Хипотеза + Постулат + + Определение + + Уравнение + Изнесена формула + + Том + Книга + Статия + Писмо + + Паметна записка + Презентация + + Титулни страници + Част + Глава + Приложение + + Параграф + Точка + Подточка + + Увод + Заключение + Упражнения + Worksheet + Handout + Reading Questions + Решения + Речник на термините + Библиография + Издателско каре + Paragraphs + Subparagraph + + + + + Remark + Convention + Забележка + + + + + + + + + Странична бележка + Библиографична бележка + Историческа бележка + + Пример + Въпрос + Задача + + Задание + Дейност + Проучване + Задача + Изследване + Сборник + Стихотворение + Цели + Цел + Резултати + Резултат + + + + + + + + + Фигура + Таблица + Списък + Бележка под линия + Contributor + + Списък + Точка + Термин + Абзац + Цитат + + + + + Упражнение + Checkpoint + Worksheet Exercise + Reading Question + WeBWorK + Подсказка + Отговор + Решение + + Exercise Group + Bibliographic Entry + + Съдържание + Резюме + Предговор + Благодарности + Биография на автора + За автора + За авторите + Предговор + Посвещение + Библиографско каре + + + + + + + + + + + ActiveCode + + CodeLens + + Азбучен показалец + Jump to: + + Виж + Виж също + + Означение + Описание + Местоположение + Страница + Продължава на следващата страница + + Главна + Предишна + Нагоре + Следваща + Пред + Наг + След + + Annotations + Feedback + Направено с + + + + + + До + От + Тема + Дата + Също до + Прикачено + + To Do + Editor + Edition + Website + Copyright + + + permalink + In Context + + + + + + + + + + Copy heading and permalink for + + Evaluate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/ca-ES.xml b/packages/pretext-html/assets/xsl/localizations/ca-ES.xml new file mode 100644 index 00000000..4258b44b --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/ca-ES.xml @@ -0,0 +1,285 @@ + + + + + + + + + + + + + Teorema + Corol·lari + Lema + Algorisme + Proposició + Postulat + Fet + Identitat + + Demostració + + + + + Cas + + + + Axioma + Conjectura + Principi + Heurística + Hipótesi + Hipótesi + + Definició + + Equació + Ecuació destacada + + Volum + Llibre + Article + Carta + + Memorándum + Presentació + + Págines preliminars + Part + Capítol + Apéndix + Apèndixs + Secció + Subsecció + Subsubsecció + Diapositiva + Introducció + Conclusió + Exercicis + Full de treball + + Preguntes de comprensió lectora + Solucions + Glossari + Referències + + Material posterior + Paràgraf + Subparàgraf + + + + + Nota + Convenció + Nota + Observació + Advertiment + + + Computació + Tecnologia + + + + + + + Exemple + Pregunta + Problema + + Projecte + Activitat + Exploració + Tasca + Recerca + + + + + + + + + + + + + + + Figura + Quadre + Llistat + Nota al peu + + + + + Llista + Ítem + Terme + Paràgraf + Cita + + Fragment + + + Exercici + + + Punt de control + + + WeBWorK + Pista + Resposta + Solució + + + + + + Índex + Resum + Prefaci + Agraïments + Biografia de l'autor + Sobre l'autor + Sobre els autors + Pròleg + Dedicatòria + Colofó + + + + + + + + + + + ActiveCode + + CodeLens + + Índex alfabètico + Passeu a: + + Vegeu + Vegeu també + + Símbol + Descripció + Ubicació + Página + Continua a la página següent + + Salta al contingut principal + Anterior + Amunt + Següent + + Anterior + Amunt + Següent + + Anotacions + Comentari + Fet amb PreTeXt + + + + + + A + De + Assumpte + Data + Còpia a + Adjunt + + A fer + Editor + Edició + + Drets d'autor + + + enllaç permanent + En Context + + + + + + + + + + Copy heading and permalink for + + + + Avaluar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/cs-CZ.xml b/packages/pretext-html/assets/xsl/localizations/cs-CZ.xml new file mode 100644 index 00000000..13ab5e92 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/cs-CZ.xml @@ -0,0 +1,280 @@ + + + + + + + + + + + + + Teorém + Důsledek + Lemma + Algoritmus + Věta + Tvrzení + Fakt + Rovnost + + Důkaz + Argument + Odůvodnění + Argumentace + Vysvětlení + Případ + + + + Axiom + Domněnka + Princip + Heurestika + Hypotéza + Předpoklad + + Definice + + Rovnice + Zobrazená matematika + + Díl + Kniha + Článek + Dopis + Prezentace + Sdělení + Prezentace + + Úvodní část + Část + Kapitola + Dodatek + Dodatky + Sekce + Podsekce + Podpodsekce + Slajd + Úvod + Závěr + Cvičení + Pracovní list + Handout + Otázky ze čtení + Řešení + Vysvětlivky + Odkazy + Závěrečná část + Odstavce + Pododstavec + + Skupina + + + Poznámka + Konvence + Poznámka + Postřeh + Varování + Nahléd + + Výpočet + Technologie + Data + + Poznámka stranou + Biografická poznámka + Historická poznámka + + Příklad + Otázka + Problém + + Projekt + Aktivita + Průzkum + Úkol + Výzkum + Soustava + Báseň + Cíle + Cíl + Výsledky + Výsledek + Nevyřešená otázka + Nevyřešený problém + Nevyřešená domněnka + Kontext + Diskuse + Názor + Status + Návrh + Obrázek + Tabulka + Výpis + Vysvětlivka + Přispěvatel + + Seznam + Bod + Termín + Odstavec + Citát + Blok kódu + Fragment + + + Cvičení + + + Zkouška + Cvičení pracovního listu + Otázka ze čtení + WeBWorK + Nápověda + Odpověď + Řešení + Dílčí cvičení + Skupina cvičení + Bibliografický údaj + + Obsah + Abstrakt + Předmluva + Poděkování + Životopis autora + O autoru + O autorech + Předmluva + Věnování + Kolofon + + Video + Program + + Pravda + Nepravda + Nebo + Buď + Nezařazeno + Otázka + ActiveCode + + CodeLens + + Rejstřík + Skoč na: + + Viz + Viz také + + Symbol + Popis + Pozice + Stránka + Pokračuje na další straně + + Přeskočit na hlavní obsah + Předchozí + Nahoru + Další + Zpět + Výš + Dál + + Anotace + Odezva + Napsáno v PreTeXt + + + Výsledky hledání + Žádné výsledky + + Komu + Od + Předmět + Datum + Kopie + Příloha + + To Do + Editor + Edice + Webová stránka + Copyright + Kličová slova + + permalink + V Souvislosti + + + + + + + + + + Copy heading and permalink for + + + + Ohodnotit + + Instrukce + Správně + Nesprávně + Prázdné + Podat + Zkontrolvat odpovědi + Odkrýt + Randomizovat + Aktivovat + Reset + pole + Velikost papíru + Další možnosti tisku + Zakrýt nápovědu + Zakrýt odpovědi + Zakrýt řešení + Tisknout záhlaví + Tisknout zápatí + První strana + Živé + Zvýraznit pracovní plochu + Tisk + Náhled tisku + Zavřít + Otevřít v nové kartě + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/de-DE.xml b/packages/pretext-html/assets/xsl/localizations/de-DE.xml new file mode 100644 index 00000000..34912d84 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/de-DE.xml @@ -0,0 +1,281 @@ + + + + + + + + + + + + Satz + Korollar + Hilfssatz + Algorithmus + Proposition + Behauptung + Fakt + Identität + + Beweis + + + + + Fall + + + + Axiom + Vermutung + Prinzip + + Hypothese + Voraussetzung + + Definition + + Gleichung + + + Band + Buch + Artikel + Brief + + Memo + Vortrag + + + Teil + Kapitel + Anhang + + Abschnitt + Unterabschnitt + Unterunterabschnitt + + Einleitung + Schluss + Übungen + Arbeitsblatt + + Lesefragen + Lösungen + + Glossar + + Literaturverzeichnis + + Absätze + Unterabsatz + + + + + Bemerkung + + Vermerk + + Bemerkung + Warnung + + + + Technologie + + + + + + + Beispiel + Frage + Problem + + + + + Aufgabe + + + Gedicht + + + + + + + + + + + + + Figur + Tabelle + + Anmerkung + + + Liste + + + Absatz + Zitat + + + + + Übung + + Arbeitsübung + Lesefrage + WeBWorK + Andeutung + Antwort + Lösung + + Übungsgruppe + + + + Inhalt + Zusammenfassung + Einleitung + + + + + Vorwort + + + + + + + + + + + + + ActiveCode + + CodeLens + + + Register + + + + siehe + siehe auch + + Symbol + Beschreibung + Stelle + Seite + Nächste Seite weiter + + Weiter zum Hauptinhalt + + Zurück + Oben + Weiter + + Zu + Ob + We + + + + Mit PreTeXt gebaut + + + + + + An + Von + + + + + + + + Redakteur + Auflage + Website + Urheberrechte + + + Permalink + Im Zusammenhang + + + + + + Kopiere Bezeichnung und Link zu + + + Ausführen + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/en-US.xml b/packages/pretext-html/assets/xsl/localizations/en-US.xml new file mode 100644 index 00000000..384b9676 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/en-US.xml @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Theorem + Corollary + Lemma + Algorithm + Proposition + Claim + Fact + Identity + + + + + + Proof + Argument + Justification + Reasoning + Explanation + + Case + + + + Axiom + Conjecture + Principle + Heuristic + Hypothesis + Assumption + + Definition + + + + + + Equation + Display Mathematics + + Volume + Book + Article + Letter + Slideshow + Memo + Presentation + + + Front Matter + Part + Chapter + Appendix + + Appendices + Section + Subsection + Subsubsection + + Slide + Introduction + Conclusion + Exercises + Worksheet + Handout + Reading Questions + Solutions + Glossary + References + Back Matter + + Paragraphs + Subparagraph + + + + Group + + + + Remark + Convention + Note + Observation + Warning + Insight + + Computation + Technology + Data + + Aside + Biographical Aside + Historical Aside + + Example + Question + Problem + + Project + Activity + Exploration + Task + Investigation + + Assemblage + Poem + + Objectives + Objective + + + Outcomes + Outcome + + Open Question + Open Problem + Open Conjecture + + Context + Discussion + Opinion + Status + Suggestion + + Figure + Table + Listing + Footnote + Contributor + + List + Item + + Term + + Paragraph + Quotation + + + Code Block + + Fragment + + + + + + + + + + + + + + + + + + + Exercise + Checkpoint + Worksheet Exercise + Reading Question + WeBWorK + Hint + Answer + Solution + + Subexercises + + Exercise Group + + Bibliographic Entry + + Contents + Abstract + Preface + Acknowledgements + Author Biography + + About the Author + About the Authors + Foreword + Dedication + Colophon + + + + + Video + Program + + + + True + False + Or + Either + Uncategorized + Query + + + ActiveCode + Scratch ActiveCode + CodeLens + + + + Index + Jump to: + + See + See also + + Symbol + Description + Location + Page + Continued on next page + + + Skip to main content + Previous + Up + Next + + Prev + Up + Next + Top + + Annotations + Feedback + + + Authored in PreTeXt + + + + + + + + Search Book + Search Results + + No results + + To + From + Subject + Date + cc + encl + + To Do + Editor + Edition + Website + Copyright + Keywords + + permalink + In Context + + + + Standalone + Embed + Embed this page + Copy + Profile + + + + + + + + + Copy heading and permalink for + Calculator + + + + + + Evaluate + + + Instructions + + + + Correct + Incorrect + + Blank + + Submit + Check Responses + + Reveal + + Randomize + + Activate + + Reset + + array + + Paper size + + Additional printing options + + Hide hints + Hide answers + Hide solutions + + Print headers + Print footers + First page + Running + + Highlight workspace + + Print + + Print preview + + Close + Open in new tab + + Readability settings + Line height + Content font size + Theme + System + Light + Dark + Assistive technologies + Expose permalinks + Reset All + diff --git a/packages/pretext-html/assets/xsl/localizations/es-ES.xml b/packages/pretext-html/assets/xsl/localizations/es-ES.xml new file mode 100644 index 00000000..021c8787 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/es-ES.xml @@ -0,0 +1,287 @@ + + + + + + + + + + + + + + + + Teorema + Corolario + Lema + Algoritmo + Proposición + Postulado + Hecho + Identidad + + Demostración + Argumento + Justificación + Razonamiento + Explicación + Caso + + + + Axioma + Conjetura + Principio + Heurística + Hipótesis + Hipótesis + + Definición + + Ecuación + Ecuación resaltada + + Volumen + Libro + Artículo + Carta + Diapositivas + Memorándum + Presentación + + Páginas preliminares + Parte + Capítulo + Apéndice + Apéndices + Sección + Subsección + Subsubsección + Diapositiva + Introducción + Conclusión + Ejercicios + Hoja de trabajo + Folleto + Preguntas de comprensión + Soluciones + Glosario + Referencias + Paratexto final + Párrafo + Subpárrafo + + Grupo + + + Nota + Convención + Nota + Observación + Advertencia + Perspectiva + + Computación + Tecnología + Datos + + Comentario + Nota biográfica + Nota histórica + + Ejemplo + Pregunta + Problema + + Proyecto + Actividad + Exploración + Tarea + Investigación + Colección + Poema + Objetivos + Objetivo + Resultados + Resultado + Pregunta abierta + Problema abierto + Conjetura abierta + Contexto + Discusión + Opinión + Estado + Sugerencia + Figura + Cuadro + Listado + Nota a pie de página + + Contribuyente + + + Lista + Ítem + Término + Párrafo + Cita + Bloque de código + Fragmento + + + Ejercicio + + + Punto de control + Ejercicio de hoja de trabajo + Pregunta de lectura + WeBWorK + Pista + Respuesta + Solución + + Subejercicios + Grupo de ejercicios + Entrada bibliográfica + + Índice + Resumen + Prefacio + Agradecimentos + Biografía del autor + Sobre el autor + Sobre los autores + Prólogo + Dedicatoria + Colofón + + Vídeo + Programa + + Verdadero + Falso + O + Cualquiera + Sin categoría + Consulta + ActiveCode + + CodeLens + + Índice alfabético + Ir a: + + Véase + Véase también + + Símbolo + Descripción + Ubicación + Página + Continúa en la página siguiente + + Salta al contenido principal + Anterior + Arriba + Siguiente + + Ant. + Subir + Sig. + + Anotaciones + Comentario + Realizado con PreTeXt + + + Resultados de la búsqueda + Sin resultados + + A + De + Asunto + Fecha + Copia a + Adjunto + + Para hacer + Editor + Edición + Sitio web + Derechos de autor + Palabras clave + + enlace permanente + En Contexto + + + + + + + + + + Copiar encabezado y enlace permanente para + + + + Evaluar + + Instrucciones + Correcto + Incorrecto + En blanco + Enviar + Comprobar respuestas + Revelar + Aleatorizar + Activar + Reiniciar + Arreglo + Tamaño del papel + Opciones de impresión adicionales + Ocultar pistas + Ocultar respuestas + Ocultar soluciones + Imprimir encabezados + Imprimir pies de página + Primera página + En ejecución + Resaltar espacio de trabajo + Imprimir + Vista previa de impresión + Cerrar + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/fi-FI.xml b/packages/pretext-html/assets/xsl/localizations/fi-FI.xml new file mode 100644 index 00000000..2bb88466 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/fi-FI.xml @@ -0,0 +1,275 @@ + + + + + + + + + + + + + Lause + Seuraus + Lemma + Algoritmi + Propositio + Väite + Fakta + Identiteetti + + Todistus + + + + + Tapaus + + + + Aksiooma + Konjektuuri + Periaate + Heuristiikka + Hypoteesi + Oletus + + Määritelmä + + Yhtälö + Rivitetty yhtälö + + Osa + Kirja + Artikkeli + Kirje + Diaesitys + Muistio + Esitelmä + + Nimiösivut + Osa + Luku + Liite + Liitteet + Alaluku + Alaluku + Alaluku + Dia + Johdanto + Päätäntä + Harjoitustehtävät + Tehtävämoniste + + Luetun ymmärtäminen + Ratkaisut + Sanasto + Lähdeluettelo + Lisäykset + Kappaleet + Alakappale + + + + + Huomautus + Konventio + Huomautus + Havainto + Varoitus + Oivallus + + Lasku + Teknologia + + + Sivuhuomautus + Elämäkerrallinen sivuhuomautus + Historiallinen sivuhuomautus + + Esimerkki + Kysymys + Ongelma + + Projekti + Aktiviteetti + Tutkimus + Tehtävä + Tutkimus + Kokoelma + Runo + Tavoitteet + Tavoite + Lopputulokset + Lopputulos + + + + + + + + + Kuva + Taulukko + Lista + Alaviite + Edistäjä + + Lista + Nimike + Termi + Kappale + Lainaus + + Koodinpala + + Harjoitustehtävä + Harjoitus + Tehtävämonisteen tehtävä + Luetunymmärtämistehtävä + WeBWorK + Vihje + Vastaus + Ratkaisu + + Tehtäväsetti + Bibliografinen nimike + + Sisällys + Tiivistelmä + Johdanto + Kiitokset + Kirjoittajan tausta + Kirjoittajasta + Kirjoittajista + Esipuhe + Omistus + Kolofoni + + + + + + + + + + + ActiveCode + + CodeLens + + Hakemisto + Mene kohtaan: + + Ks. + Ks. myös + + Symboli + Kuvaus + Paikka + Sivu + Jatkuu seuraavalla sivulla + + Siirry pääasiaan + Edellinen + Ylös + Seuraava + Ed + Yl + Seur + + Huomautukset + Palaute + Tuotettu PreTeXtillä + + + + + + Vastaanottaja + Lähettäjä + Aihe + Pvm + cc + liite + + To Do + Toimittaja + Painos + Nettisivu + Tekijänoikeus + + + linkki + In Context + + + + + + + + + + Copy heading and permalink for + + Aja + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/fr-CA.xml b/packages/pretext-html/assets/xsl/localizations/fr-CA.xml new file mode 100644 index 00000000..3757d4ae --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/fr-CA.xml @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + + + Théorème + Corollaire + Lemme + Algorithme + Proposition + Affirmation + Fait + Identité + + Démonstration + Argument + Justification + Raisonnement + Explication + Cas + + + + Axiome + Conjecture + Principe + Heuristique + Hypothèse + Supposition + + Définition + + Équation + Mathématiques en évidence + + Volume + Livre + Article + Lettre + Présentation + Mémo + Présentation + + Pages Liminaires + Partie + Chapitre + Appendice + Appendices + Section + Sous-section + Sous sous-section + Diapositive + Introduction + Conclusion + Exercices + Feuille d'activités + Document + Questions de compréhension de la lecture + Solutions + Glossaire + Références + Annexes + Paragraphes + Sous-paragraphe + + Groupe + + + Remarque + Convention + Note + Observation + Mise en garde + Aperçu + + Calcul + Technologie + Données + + Digression + Note biographique + Note historique + + Exemple + Question + Problème + + Projet + Activité + Exploration + Tâche + Enquête + Assemblage + Poème + Objectifs + Objectif + Résultats + Résultat + Question ouverte + Problème ouvert + Conjecture ouverte + Contexte + Discussion + Opinion + Statut + Suggestion + Figure + Table + Listing + Note de bas de page + Contribution de + + Liste + Point + Terme + Paragraphe + Citation + Bloc de code + Fragment + + + Exercice + + + Mise au point + Activité + Question de compréhension + WeBWorK + Indice + Réponse + Solution + Sous-exercices + Groupe d'exercices + Entrée bibliographique + + Table des matières + Résumé + Préface + Remerciements + Biographie + À propos de l'auteur + À propos des auteurs + Avant-propos + Dédicace + Colophon + + Vidéo + Programme + + Vrai + Faux + Ou + Soit + Non catégorisé + Requête + ActiveCode + + CodeLens + + Index + Aller à : + + Visiter + Voir aussi + + Symbole + Description + Emplacement + Page + Suite à la page suivante + + Sauter au contenu + Précédent + Haut + Suivant + Préc. + Haut + Suiv. + + Annotations + Commentaires + Rédigé avec PreTeXt + + + Résultats de la recherche + Aucun résultat + + À + De + Sujet + Date + Copie + Pièce jointe + + À Faire + Éditeur + Édition + Site Web + Copyright + Mots-clés + + + Contexte + + + + + + Copier le titre et le lien permanent pour + + + + Évaluer + + Instructions + Correct + Incorrect + Vide + Soumettre + Vérifier les réponses + Dévoiler + Générer une nouvelle version aléatoire + Activer + Réinitialiser + Tableau + Format de papier + Options d'impression supplémentaires + Masquer les indices + Masquer les réponses + Masquer les solutions + Imprimer les en-têtes + Imprimer les pieds de page + Première page + En cours + Mettre en évidence l'espace de travail + Imprimer + Aperçu avant impression + Fermer + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/fr-FR.xml b/packages/pretext-html/assets/xsl/localizations/fr-FR.xml new file mode 100644 index 00000000..ace7db26 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/fr-FR.xml @@ -0,0 +1,280 @@ + + + + + + + + + + + + + + + + Théorème + Corollaire + Lemme + Algorithme + Proposition + Affirmation + Fait + Identité + + Démonstration + Argument + Justification + Raisonnement + Explication + Cas + + + + Axiome + Conjecture + Principe + Heuristique + Hypothèse + Supposition + + Définition + + Équation + Mathématiques en évidence + + Volume + Livre + Article + Lettre + Présentation + Mémo + Présentation + + Pages Liminaires + Partie + Chapitre + Appendice + Appendices + Section + Sous-section + Sous sous-section + Diapositive + Introduction + Conclusion + Exercices + Feuille d'activités + + Questions de compréhension de la lecture + Solutions + Glossaire + Références + Annexes + Paragraphes + Sous-paragraphe + + + + + Remarque + Convention + Note + Observation + Mise en garde + + + Calcul + Technologie + + + Digression + Digression biographique + Digression historique + + Exemple + Question + Problème + + Projet + Activité + Exploration + Tâche + Enquête + Assemblage + Poème + Objectifs + Objectif + Résultats + Résultat + + + + + + + + + Figure + Table + Listing + Note de bas de page + Contribution de + + Liste + Point + Terme + Paragraphe + Citation + + + + + Exercice + + + Mise au point + Activité + Question de compréhension + WeBWorK + Indication + Réponse + Solution + + Groupe d'exercices + + + Table des matières + Résumé + Préface + Remerciements + Biographie + À propos de l'auteur + À propos des auteurs + Avant-propos + Dédicace + Colophon + + Vidéo + + + + + + + + + ActiveCode + + CodeLens + + Index + Aller à : + + Visiter + Voir Aussi + + Symbole + Description + Emplacement + Page + Suite à la page suivante + + Sauter au contenu + Précédent + Haut + Suivant + + Précédent + Haut + Suivant + + Annotations + Commentaires + Rédigé avec PreTeXt + + + Résultats de la recherche + Aucun résultat + + À + De + Sujet + Date + Copie + Pièce Jointe + + À Faire + Éditeur + Édition + Site Web + Copyright + + + + Contexte + + + + + + + + + + Copy heading and permalink for + + + + Évaluer + + Instructions + Correct + Incorrect + Vide + Soumettre + Vérifier les réponses + Dévoiler + Générer une nouvelle version aléatoire + Activer + Réinitialiser + + + + + + + + + + + + Imprimer + + Fermer + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/hu-HU.xml b/packages/pretext-html/assets/xsl/localizations/hu-HU.xml new file mode 100644 index 00000000..9afff7b6 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/hu-HU.xml @@ -0,0 +1,280 @@ + + + + + + + + + + + + + Tétel + Következmény + Lemma + Algoritmus + Állítás + Állítás + Tény + Azonosság + + Bizonyítás + + + + + Eset + + + + Axióma + Sejtés + Elv + Heurisztikus + Hipotézis + Feltevés + + Definíció + + Egyenlet + Matematikai megjelenítés + + Kötet + Könyv + Cikk + Letter + + Emlékeztető + Prezentáció + + Bevezető rész + Rész + Fejezet + Függelék + + Pont + Alpont + alpont + + Bevezetés + Következtetés + Feladatok + + + + + + Hivatkozások + Záró rész + Paragrafusok + Al-paragrafus + + + + + Megjegyzés + Konvenció + Megjegyzés + Megfigyelés + Figyelmeztetés + Bepillantás + + Számítás + Technológia + + + Kiegészítés + Életrajzi kiegészítés + Történeti kiegészítés + + Példa + Kérdéa + Probléma + + Projekt + Aktivitás + Kutatás + Feladat + Vizsgálat + Összeállítás + Vers + Célkitűzések + Célkitűzés + + + + + + + + + + + Ábra + Táblázat + Felsorolás + Lábjegyzet + Résztvevő + + Lista + Tétel + + Paragrafus + Idézet + + + + + Feladat + + + + + + WeBWorK + Tipp + Vélasz + Megoldás + + Feladatcsoport + Életrajzi bejegyzés + + Tartalom + Absztrakt + Előszó + Köszönetnyilvánítás + Szerzői életrajz + A szerzőről + A szerzőkről + Előszó + Ajánlás + Záradék + + + + + + + + + + + ActiveCode + + CodeLens + + Index + Ugrás ide: + + Lásd + Lásd még + + szimbólum + Leírás + Hely + Lap + Folytatás a következő lapon + + Ugrás a fő tartalomjegyzékre + Előző + Fel + Következő + El. + Fel + Köv. + + Magyarázatok + Visszacsatolás + Authored in + + + + + + Kinek: + Kitől: + Tárgy + Dátum + cc + beleértve + + Tennivaló + Szerkesztő + Kiadás + Weboldal + Szerzői jog + + + permalink + Szövegkörnyezet + + + + + + + + + + Copy heading and permalink for + + + + Evaluate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/it-IT.xml b/packages/pretext-html/assets/xsl/localizations/it-IT.xml new file mode 100644 index 00000000..13da7433 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/it-IT.xml @@ -0,0 +1,276 @@ + + + + + + + + + + + + + Teorema + Corollario + Lemma + Algoritmo + Proposizione + Affermazione + Fatto + Identità + + Dimostrazione + Argomento + Giustificazione + Ragionamento + Spiegazione + Caso + + + + Assioma + Congettura + Principio + Processo euristico + Ipotesi + Assunzione + + Definizione + + Equazione + Matematica in display + + Volume + libro + Articolo + Lettera + + Memo + Presentazione + + Materiale iniziale + Parte + Capitolo + Appendice + Appendici + Paragrafo + Sottoparagrafo + Sotto-sottoparagrafo + Diapositiva + Introduzione + Conclusione + Esercizi + Scheda didattica + + Domande di comprensione del testo + Soluzioni + Glossario + Bibliografia + Materiale finale + Capoversi + Sottocapoverso + + + + + Osservazione + Convenzione + Nota + + Attenzione + Intuizione + + Computazione + Tecnologia + Dati + + Inciso + Inciso biografico + Inciso storico + + Esempio + Domanda + Problema + + Progetto + Attività + Esplorazione + Compito + Investigazione + Raccolta + Poema + Obiettivi + Obiettivo + Risultati + Risultato + Domanda aperta + Problema aperto + Congettura aperta + Contesto + Discussione + Opinione + Stato + Idea + Figura + Tabella + Listato + Nota a piè di pagina + Contributore + + Elenco + Punto + Termine + Capoverso + Citazione + Blocco di codice + Porzione + + + Esercizio + Punto di controllo + Esercizio in scheda didattica + Domanda di comprensione del testo + WeBWorK + Suggerimento + Risposta + Soluzione + + Gruppo di esercizi + Riferimento bibliografico + + Indice + Sommario + Prefazione + Ringraziamenti + Biografia dell'autore + Sull'autore + Sugli autori + Presentazione + Dedica + Colophon + + Video + Programma + + + + + + + + ActiveCode + + CodeLens + + Indice analitico + Vai a: + + Vedi + Vedi anche + + Simbolo + Descrizione + Posizione + Pag. + Continua alla pagina successiva + + Vai all'indice generale + Precedente + Su + Successivo + Prec + Su + Succ + + Annotazioni + Feedback + Redatto in PreTeXt + + + Risultati + Nessun risultato + + Per + Da + Oggetto + Data + e p.c. + allegati + + Da fare + Curatore + Edizione + Sito web + Copyright + Parole chiave + + permalink + Nel Contesto + + + + + + + + + + Copy heading and permalink for + + Calcola + + Istruzioni + Giusto + Sbagliato + Spazio vuoto + Invia + Controlla le risposte + Mostra + Casuale + Attiva + Azzera + tabella + Formato carta + + + + + + + + + + Stampa + Anteprima di stampa + Chiudi + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/ku-CKB.xml b/packages/pretext-html/assets/xsl/localizations/ku-CKB.xml new file mode 100644 index 00000000..6dd4f465 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/ku-CKB.xml @@ -0,0 +1,275 @@ + + + + + + + + + + + + + بیردۆز + ئاکام + لێما + ئەلگۆریزم + دەستەواژە + بانگەشە + ڕاستی + بێلایەن + + سەلماندن + ئەرگویمينت + پاساو + لێکدانەوە + ڕوونکردنەوە + ‌‌دۆخ + + + + بەڵگەنەویست + کۆنجێکچەر + پرەنسەپڵ + ئیرشادی + گریمانە + گریمانکردن + + پێناسە + + هاوکێشە + بیرکاری پیشانبدە + + بەرگ + کتێب + مەقالە + نامە + سلاید + یادنامە + پێشكه‌شكاری + + بەرگی پشتەوە + بەش + بەش + پاشکۆ + پاشکۆکان + بەش + کەرتەبەش + کەرتەبەش + سلاید + پێشەکی + دەرئەنجام + مەشق + پەڕەیکار + + پرسیاری خوێندنەوە + شیکار + فەرهەنگۆک + سەرچاوەکان + بەرگی پشتەوە + پەڕەگرافەکان + بەشە پەرەگراف + + + + + تێبینی + ڕێکەوتن + تيبینی + لێ وردبوونەوە + وریاکردنەوە + دووربینی + + کۆمپیوتەیشن + تەکنەلۆجی + بەروار + + بەجیا + ژیاننامە بە جیا + مێژووی بە جیا + + نموونە + پرسیار + کێشە + + پڕۆژە + چالاکی + کنەکردن + ئەرک + پشکنین + پێکەوەنان + هۆنراوە + ئامانجەکان + ئامانج + دەرهاویشتەکان + دەرهاویشتە + پرسیاری کراوە + کێشەی کراوە + کۆنجێکچەری کراوە + کۆنتێکست + گفتووگۆ + بۆچوون + ‌‌دۆخ + پێشنیاز + وێنە + خشتە + لیستەگرتن + پەراوێز + بەژداربوو + + لیست + بڕگە + تێرم + پەرەگراف + ووتەی وەرگیراو + بلۆکی کۆد + پارچە + + مەشق + خاڵی پشکنین + پەڕەکاری ڕاهێنانەکان + پرسیارەکانی خوێندنەوە + WeBWorK + یارمەتی + وەڵام + شیکار + بەشە-ڕاهێنانەکان + گروپی ڕاهێنانەکان + پيڕستی بایۆلۆگرافیا + + ناوەڕۆک + پوختە + پێشەکی + پێزانین + ژیاننامەی نووسەر + دەربارەی نوسەر + دەربارەی نوسەرەکان + پێشەکی + پێشکەشە + هاوپلان + + ڤیدیۆ + پرۆگرام + + + + + + + + کۆد-چالاکردن + + CodeLens + + پێرست + بچۆرە سەر + + تەماشا بکە + تەماشای ئەمەیش بکە + + سیمبول + وەسفکردن + شوێن + پەڕە + بەردەوەمبە بۆ سەر پەڕەی داهاتوو + + بازبدە بۆ سەر بابەتە سەرەکیەکە + پێشووتر + سەرەوە + داهاتوو + پێشوو + سەرەوە + داهاتوو + + په‌راوێزنووسینەکان + فیدباک + بەرهەمهاتووە PreTeXt لەڕیگای + + + ئەنجامی گەڕان + ەنجامی-گەڕانەکان-نیە + + بۆ + لە + بابەت + بەروار + cc + پیچانەوە + + بۆ کردنی + دەستکاریکار + چاپ + وێبسایت + مافی پاراستن + + + بەستەری چەسپاو + ناو-کۆنتێکستدا + + + + + + + + + + Copy heading and permalink for + + نرخ دۆزینەوە + + ڕێنماییەکان + ڕاست + ناڕاست + بەتاڵ + پشتڕاستی بکەوە + وەڵامەکەت ساغبکەرەوە + پیشانی بدە + هەرەمەکیکردن + چالاکردن + ڕێکخستنەوە + ڕیزکراو + + + + + + + + + + + پرنت + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/localizations.xml b/packages/pretext-html/assets/xsl/localizations/localizations.xml new file mode 100644 index 00000000..f8fad4c6 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/localizations.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + af-ZAaf-ZA.xml + bg-BGbg-BG.xml + cs-CZcs-CZ.xml + ca-ESca-ES.xml + de-DEde-DE.xml + en-USen-US.xml + es-ESes-ES.xml + fi-FIfi-FI.xml + fr-CAfr-CA.xml + fr-FRfr-FR.xml + hu-HUhu-HU.xml + it-ITit-IT.xml + ku-CKBku-CKB.xml + nl-NLnl-NL.xml + pt-BRpt-BR.xml + pt-PTpt-PT.xml + zh-HANSzh-HANS.xml + diff --git a/packages/pretext-html/assets/xsl/localizations/nl-NL.xml b/packages/pretext-html/assets/xsl/localizations/nl-NL.xml new file mode 100644 index 00000000..f6ce10c9 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/nl-NL.xml @@ -0,0 +1,275 @@ + + + + + + + + + + + + + Stelling + Gevolg + Lemma + Algoritme + Propositie + Claim + Feit + Identiteit + + Bewijs + Argument + Verantwoording + Redenering + Uitleg + Geval + + + + Axioma + Vermoeden + Principe + Heuristiek + Hypothese + Aanname + + Definitie + + Formule + + + Boekdeel + Boek + Artikel + Brief + Diavoorstelling + Notitie + Presentatie + + Voorpagina + Deel + Hoofdstuk + Bijlage + Bijlagen + Sectie + Subsectie + Subsubsectie + Dia + Inleiding + Slot + Oefeningen + Werkblad + + + Oplossingen + Begrippenlijst + Verwijzingen + Achterpagina + Alinea's + Subalinea + + + + + Opmerking + Conventie + Notitie + Observatie + Waarschuwing + Inzicht + + Berekening + Technologie + + + Aside + Biographical Aside + Historical Aside + + Voorbeeld + Vraag + Probleem + + Project + Activiteit + Verkenning + Taak + Onderzoek + Verzameling + Gedicht + Doelstellingen + Doelstelling + Uitkomsten + Uitkomst + + + + + + + + + Afbeelding + Tabel + + Voetnoot + + + Lijst + Lijstelement + Begrip + Alinea + Citaat + Codeblok + Fragment + + Oefening + Controlepunt + Werkblad-oefening + Leesvraag + WeBWorK + Tip + Antwoord + Oplossing + + + + + Inhoudsopgave + Samenvatting + Voorwoord + Dankbetuigingen + Schrijversbiografie + Over de schrijver + Over de schrijvers + Voorwoord + + Colofon + + Video + Program + + + + + + + + ActiveCode + Scratch ActiveCode + CodeLens + + Index + Jump to: + + Zie + Zie ook + + Symbool + Omschrijving + Locatie + Pagina + Vervolg op de volgende pagina + + Naar de hoofdinhoud + Vorig + Omhoog + Volgend + Vorig + Omhoog + Volgend + + Annotations + Feedback + Opgesteld met PreTeXt + + + Zoekresultaten + Geen resultaten + + Aan + Van + Onderwerp + Datum + kopie + bijgevoegd + + Takenlijst + Redacteur + Uitgaven + Website + Copyright + + + + In Context + + + + + + + + + + Copy heading and permalink for + + Evalueer + + + Correct + Niet correct + Blanco + Indienen + Controleren + Onthullen + Randomiseren + Activeren + Resetten + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/pt-BR.xml b/packages/pretext-html/assets/xsl/localizations/pt-BR.xml new file mode 100644 index 00000000..0afa5b47 --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/pt-BR.xml @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + Teorema + Corolário + Lema + Algoritmo + Proposição + Afirmação + Fato + Identidade + + Demonstração + Argumento + Justificativa + Raciocínio + Explicação + Caso + + + + Axioma + Conjectura + Princípio + Heurística + Hipótese + Suposição + + Definição + + Equação + Matemática em Destaque + + Volume + Livro + Artigo + Carta + + Apresentação de Slides + Memorando + Apresentação + + Pré-textual + Parte + Capítulo + Apêndice + Apêndices + Seção + Subseção + Subsubseção + Transparência + Introdução + Conclusão + Exercícios + + Lista de Exercícios + + Exercícios de Interpretação + Soluções + Glossário + Referêcias + + Pós-textual + Parágrafos + Subparágrafo + + + + + Nota + Convenção + Nota + Observação + Atenção + + Ideia + + Cálculo + Tecnologia + Dados + + Nota + Nota Biográfica Aside + Nota Histórica + + Exemplo + Questão + Problema + + Projeto + Atividade + Exploração + Tarefa + Investigação + + Coleção + Poema + Objetivos + Objetivo + Resultados + Resultado + + + + + + + + + Figura + Tabela + Listagem + Nota de rodapé + Contribuidor + + Lista + Item + Termo + Parágrafo + Citação + Bloco de Código + Fragmento + + + Exercício + + + Exercício de Verificação + Exercício da Lista + Exercício de Interpretação + WeBWorK + Dica + Resposta + Solução + + Grupo de exercícios + Referência bibliográfica + + Sumário + Resumo + Prefácio + Agradecimentos + Biografia do autor + Sobre o autor + Sobre os autores + Preâmbulo + Dedicatória + Ficha técnica + + Vídeo + Programa + + + + + + + + ActiveCode + + CodeLens + + Índice + Ir para: + + Veja + Veja também + + Símbolo + Descrição + Posição + Página + Continua na próxima página + + Ir ao conteúdo principal + Anterior + Acima + Próximo + + Anterior + Acima + Próximo + + Anotações + Comentários + Feito com PreTeXt + + + Buscando por + Não encontrado + + Para + De + Assunto + Data + Cópia + Anexo + + Para fazer + Editor + Edição + Endereço eletrônico + XXXCopyright + + + link permanente + Em Contexto + + + + + + + + + + Copy heading and permalink for + + + + Executar + + Instruções + Correto + Incorreto + Em brancoBlank + Enviar + Conferir Respostas + Revelar + Aleatoriza + Ativar + Redefinir + lista + Formato do papel + Opções de impressão + Esconder dicas + Esconder respostas + Esconder soluções + Imprimir cabeçalho + Imprimir rodapé + Primeira página + Página atual + Destacar área para solução + Imprimir + Pré-visualização da impressão + Fechar + Abrir em nova aba + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/pt-PT.xml b/packages/pretext-html/assets/xsl/localizations/pt-PT.xml new file mode 100644 index 00000000..6a30a2ce --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/pt-PT.xml @@ -0,0 +1,292 @@ + + + + + + + + + + + + + Teorema + Corolário + Lema + Algoritmo + Proposição + Afirmação + Facto + + + Demonstração + + + + + + + + + Axioma + Conjectura + Princípio + + + + + Definição + + Equação + + Equação + + Volume + Livro + Artigo + Carta + + Memorando + Apresentação + + + Pré Texto + Parte + Capítulo + Apêndice + + Secção + Subsecção + Subsubsecção + + Introdução + Conclusão + Exercícios + + + + + + Referências + Pós Texto + Parágrafos + Subparágrafo + + + + + Observação + + Nota + + + + + + + + + + + + + Exemplo + + + + + + + + + + + + + + + + + + + + + + + Figura + Tabela + + + Nota de rodapé + + + + + + + + Parágrafo + + + + + + Exercício + + + + + + WeBWorK + Dica + Resposta + Solução + + + + + Referência Bibliográfica + + + Sumário + Resumo + Prefácio + Agradecimentos + Biografia do Autor + + + + Prefácio + Dedicatória + Ficha técnica + + + + + + + + + + + ActiveCode + + CodeLens + + Índice Remissivo + + + Veja + Veja também + + Símbolo + Descrição + + + Página + Continua na página seguinte + + + Anterior + Acima + Seguinte + + Anterior + Acima + Seguinte + + Anotações + Comentário + Produzido com PreTeXt + + + + + + Para + De + Assunto + Data + Cópia + Anexo + + Para fazer + Editor + + + Copyright + + + + + + + + + + + + + + + Copy heading and permalink for + + + + Evaluate + + + + + + + + + + + + + Formato do papel + Opções de impressão + Esconder dicas + Esconder respostas + Esconder soluções + Imprimir cabeçalho + Imprimir rodapé + Primeira página + Página atual + Destacar área para solução + Imprimir + Pré-visualização da impressão + Fechar + Abrir em nova aba + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/localizations/zh-HANS.xml b/packages/pretext-html/assets/xsl/localizations/zh-HANS.xml new file mode 100644 index 00000000..92b11cdf --- /dev/null +++ b/packages/pretext-html/assets/xsl/localizations/zh-HANS.xml @@ -0,0 +1,269 @@ + + + + + + + + + + + + 定理 + 推论 + 引理 + 算法 + 命题 + 断言 + 事实 + 恒等 + + 证明 + 论证 + 论证 + 推理 + 解释 + 情形 + + + + 公理 + 猜想 + 原理 + 启发 + 假设 + 假设 + + 定义 + + + + + 卷册 + 书籍 + 论文 + 书札 + 幻灯片 + 备忘录 + 演示文稿 + + 前置页 + 部分 + + 附录 + 附录 + + 子节 + 子子节 + 幻灯片 + 绪言 + 结论 + 练习 + 工作单 + + 问题 + 解答 + 术语 + 参考文献 + 后置页 + 段落 + 子段落 + + + + + 备注 + 约定 + 备注 + 观察 + 警告 + 洞察 + + 计算 + 技术 + 数据 + + 旁注 + 传记旁注 + 历史旁注 + + + 问题 + 问题 + + 工程 + 活动 + 探究 + 任务 + 调查 + + + 目标清单 + 目标 + 成果清单 + 成果 + 开放问题 + 开放问题 + 开放猜想 + 上下文 + 讨论 + 见解 + 状态 + 建议 + + + 清单 + 脚注 + 贡献者 + + 列表 + + 术语 + 段落 + 引用 + 代码块 + 代码片段 + + 练习 + 检查点 + 工作单练习 + 问题 + WeBWorK + 提示 + 答案 + 解答 + 子练习 + 练习组 + 书目项 + + 目录 + 摘要 + 前言 + 致谢 + 作者简介 + 关于作者 + 关于作者 + 前言 + 致谢 + 版权 + + Video + Program + + + + + + + + ActiveCode + + CodeLens + + 索引 + 跳转: + + + 另见 + + 符号 + 描述 + 位置 + + + + 主要内容 + 向前 + 向上 + 向后 + 向前 + 向上 + 向后 + + 注释 + 反馈 + PreTeXt写就 + + + 搜索结果 + 没有结果 + + + 来自 + 主题 + 日期 + 抄送 + 附件 + + 待办 + 编辑器 + 版本 + 网站 + 版权 + + + 永久链接 + 文中 + + + + + + + + 求解 + + 说明 + 正确 + 错误 + 空白 + 提交 + 校验 + 显示 + 随机 + 激活 + 重置 + 数组 + + + + + + + + + + + 打印 + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/pretext-assembly.xsl b/packages/pretext-html/assets/xsl/pretext-assembly.xsl new file mode 100644 index 00000000..5bf5584c --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-assembly.xsl @@ -0,0 +1,4795 @@ + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + yes + + + no + + + PTX:BUG: the internal parameter assembly.version-only received an unrecognized value of "" (possible values are "yes" and "no") + + + + + + + + + + no + + + yes + + + no + + + PTX:BUG: the internal parameter assembly.assembly-id-only received an unrecognized value of "" (possible values are "yes" and "no") + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [MISSING CUSTOM CONTENT HERE] + PTX:WARNING: lookup for a "custom" element with @name set to "" has failed, while consulting the customization file "". Output will contain "[MISSING CUSTOM CONTENT HERE]" instead + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:DEBUG: @assembly-id / @unique-id mismatch on < + + >: assembly-id=" + + " unique-id=" + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @xml:id of <biblio> in bibliography file: + + + + Located this <biblio> cited in original source + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + + + + + + + + + + no + + + yes + + PTX:WARNING: your publisher file indicates the use of one Citation Stylesheet Language (CSL) specification for references (""), but your file of generated references and citations at "" was built using a different CSL style file (""). We will fall back to default processing in order to proceed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + + no + + + no + + + + + + + + + + + yes + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + the @copy attribute points to nothing, check the spelling? + + + the @copy attribute points to a " + + " element, not another "webwork". + + + the @copy attribute points a "webwork" with a @source attribute. (Replace the @copy by the @source?) + + + the @copy attribute points to "webwork" with a @copy attribute. Sorry, we are not that sophisticated. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ A WeBWorK problem right here was meant to be a copy of another problem, + but potentially with different randomization, but there was a failure. + The @copy attribute was set to . + Please report me, so the publisher can get more details by searching the + runtime output for PTX:ERROR. +

+
+
+ + PTX:ERROR: A WeBWorK problem has a @copy attribute with value "". + However, the problem did not render: + + A placeholder problem will appear in your output instead. +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + webwork-task + + + + + + + webwork + + + myopenmath + + + stack + + + + + + + + + + + static + + + + truefalse + + + + multiplechoice + + + + parson + + + parson-horizontal + + + cardsort + + + matching + + + clickablearea + + + select + + + + fillin-basic + + + + + fillin + + + + coding + + + dual + + + shortanswer + + + + + + + + + container + + + + + + static + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + static + + + + + + + + + + + + + + + + + + + + + + + static + + + + + + + + + + static + + + + + + + + + + + + + + + + + + + + + + static + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: no WeBWorK representations directory configured in the publication file; WeBWorK exercise with @assembly-id "" will be empty. + + + + + + + PTX:ERROR: could not load WeBWorK representation file "" for @assembly-id ""; re-generate the WeBWorK representations. A "webwork-representations.xml" in that directory indicates old-format files that need replacing. + + + + + + + + + + PTX:WARNING: the WeBWorK problem with @assembly-id "" has a stored "" failure recorded when the WeBWorK representations were last generated. A placeholder is being rendered in its place. Re-generate the WeBWorK representations (and watch for errors) to retry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + static + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + square + + + circle + + + square + + + + +
+
+ + +
    + + + + + + + +
+
+ + +
+ + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + static + + + + + + + + problems/mom- + + .xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + static + + + + + + + + stack/ + + .ptx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + play-button/play-button.png + + + + + + + + + + + + + + + + + + + + + preview/ + + -preview.png + + + + + + + + youtube/ + + .jpg + + + + + + + + play-button/play-button.png + + + + + +

No static image provided via @preview attribute

+
+ + +

BUG: PREVIEW NOT HANDLED

+
+
+ + + + + + qrcode/ + + .png + + + + + + + + +

+ + + +

+
+ + + + + +

+ + + +

+
+ + + + + +

+ + + + +

+
+ +
+
+
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + type-global + + + global + + + title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + codelens + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \begin{tikzpicture} + + + + + + + + \end{tikzpicture} + + + + + + + + + + + + + + + + + + + + + < + + + + > + + + + + + + # + + + + & + + + + $ + + + + % + + + + ^ + + + + _ + + + + { + + + + } + + + + ~ + + + + \ + + + + + + + [ + + + + ] + + + + * + + + + / + + + + ` + + + + + + + { + + + } + + + + [ + + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + front-colophon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:apply-templates select="node()|@*" mode="repair"/> + + + + + + + + + + + + + + desmos + geogebra + calcplot3d + circuitjs + iframe + unknown + + + + + + + + + + + + + + + + + + + +

There was once a (temporary) Runestone exercise here, which would only render in HTML output, and never in static output forms. That (temporary) device is no longer supported as of 2025-11-04, since the exercise should now be authored in supported syntax. You might alert the author to this situation.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + + yes + + + no + + + + + + + + yes + + + no + + + + no + + + + + + + + + + + + + + + + + + no + + + yes + + + no + + + + + + yes + + + + yes + + + no + + + + + + + + yes + + + no + + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + no + + + + + + + + + + + last + + + intermediate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 800 + + + + + + + + + + + + + + + + + + + + + + + + geogebra + + + + + + + + + + + + + + -ggb-slate + + + geogebra + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + en-US + + + en-US + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: the @ value "" should be unique, but is authored multiple times. + + + Results will be unpredictable, and likely incorrect. Information on the locations follows: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + a + A + i + I + + + + PTX:ERROR: ordered list label () not recognized + + + + + + 1 + a + i + A + + PTX:ERROR: ordered list is more than 4 levels deep (at level ) or is inside an "exercise" and is more than 3 levels deep (at level ) + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + + + + + + + + ) + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: asking if a non-traditional division () is structured or not + + + + + + + + + + + + + + + + + + + true + + + false + + + PTX:ERROR: encountered a specialized division ("") as a child of "backmatter" that was unexpected. Results will be unpredictable + + true + + + + + + + + + + + + PTX:BUG: asking if a non-specialized division () is numbered or not + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: the "assembly-id" template was applied to an element it did not expect-- + + . + + . + + + unexpected-assembly-id-template-use-here + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -if.html + + + + + .html + + + + + .html + + + + + .html + + + + + -ERROR-no-standalone-filename.html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \&start= + + + + \&end= + + + + + + + + + + + + + + + + https://www.youtube.com/ + + + playlist?list= + + + + watch_videos?video_ids= + + + + watch?v= + + + + + + + + https://vimeo.com/ + + + + + + + + + + + + + + + + + + + + + + + + datafile/ + + + + .xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/packages/pretext-html/assets/xsl/pretext-basic-html.xsl b/packages/pretext-html/assets/xsl/pretext-basic-html.xsl new file mode 100644 index 00000000..a86d9372 --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-basic-html.xsl @@ -0,0 +1,86 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/pretext-beamer.xsl b/packages/pretext-html/assets/xsl/pretext-beamer.xsl new file mode 100644 index 00000000..8c1fc006 --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-beamer.xsl @@ -0,0 +1,662 @@ + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Conversion to Beamer presentations/slideshows is experimental Requests for additional specific constructions welcome Additional PreTeXt elements are subject to change + + + + + + + + + + + + + + + + + + + \begin{document} + + + + \begin{frame} + \frametitle{ + + + + } + \tableofcontents + \end{frame} + + + \end{document} + + + + + + + + + + + \title{ + + } + + \subtitle{ + + } + + + \author[ + + + + , + + + ]{ + + + + + \\ {\small + + } + + + \and + + + } + \date{ + + + + \\ + + + + + + } + \begin{frame}[plain] + \titlepage + \end{frame} + + + + + \begin{frame} + \frametitle{ + + } + + \end{frame} + + + + + + + + + + \section{ + + } + \begin{frame} + \sectionpage + \end{frame} + + + + + + + + \begin{frame} + + [fragile] + + + \frametitle{ + + } + + \end{frame} + + + + + + + + + + \uncover<+(1)->{% + + }% + + + + + \uncover<+(1)->{% + + }% + + + + + + + + + + + + + + + + + \begin{enumerate} + + [<+->] + + + [ + + ] + + + + \end{enumerate} + + + + + + \begin{itemize} + + [<+->] + + + + \end{itemize} + + + + + \begin{description} + + [<+->] + + + + \end{description} + + + + + + \begin{multicols}{ + + } + + + + + + \end{multicols} + + + + + \item{} + + \lititle{ + + }\par + + + + + + + + + \item[ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \begin{block}{ + + + : + + + } + + \end{block} + + + + + + + + \begin{ + + } + + [ + + ] + + + + \end{ + + } + + + + + \begin{proof} + + \end{proof} + + + + + + + + + + + + + + + + + + + + \begin{center} + + + + \par\smallskip{}{\small{} + + } + + + \par\smallskip{}{\small{} + + } + + + + \end{center} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \documentclass[11pt, compress]{beamer} + + %% Custom Preamble Entries, early (use latex.preamble.early) + + + + \usetheme{ + + } + \usefonttheme[onlymath]{serif} + %% quash navigation symbols + \setbeamertemplate{navigation symbols}{} + %% every "section" gets a section-title frame via \sectionpage + %%%% Start PreTeXt generated preamble %%%% + \usepackage{amsmath} + %% fonts: the inherited templates emit T1-encoded glyph names + %% (such as \textquotedbl), so match the LaTeX conversion's setup + \ifPDFTeX + \usepackage[T1]{fontenc} + \else + \usepackage{fontspec} + \fi + %% Some aspects of the preamble are conditional, + %% the LaTeX engine is one such determinant + \usepackage{ifthen} + \newcommand{\tabularfont}{} + \usepackage[xparse, raster]{tcolorbox} + \tcbset{colback=white, colframe=white} + %% tcolorbox styles used by images and side-by-side panels + \tcbset{ bwminimalstyle/.style={size=minimal, boxrule=-0.3pt, frame empty, + colback=white, colbacktitle=white, coltitle=black, opacityfill=0.0} } + + %% "tcolorbox" environment for a single image, as in the LaTeX conversion + \tcbset{ imagestyle/.style={bwminimalstyle} } + \NewTColorBox{tcbimage}{mmm}{imagestyle,left skip=#1\linewidth,width=#2\linewidth} + \NewDocumentEnvironment{image}{mmmm}{\notblank{#4}{\leavevmode\nopagebreak\vspace{#4}}{}\begin{tcbimage}{#1}{#2}{#3}}{\end{tcbimage}% } + + + + %% Multiple column lists + \usepackage{multicol} + + + %% Program listing support: for listings, programs, consoles, and Sage code + \ifthenelse{\boolean{xetex} \or \boolean{luatex}}% + {\tcbuselibrary{listings}}% + {\tcbuselibrary{listingsutf8}}% + %% A null language, free of any formatting or style + \lstdefinelanguage{none}{identifierstyle=,commentstyle=,stringstyle=,keywordstyle=} + + %% Colors match a subset of Google prettify "Default" style + \definecolor{identifiers}{rgb}{0.375,0,0.375} + \definecolor{comments}{rgb}{0.5,0,0} + \definecolor{strings}{rgb}{0,0.5,0} + \definecolor{keywords}{rgb}{0,0,0.5} + \lstdefinestyle{programcodestyle}{identifierstyle=\color{identifiers},commentstyle=\color{comments},stringstyle=\color{strings},keywordstyle=\color{keywords}, breaklines=true, breakatwhitespace=true, columns=fixed, extendedchars=true, aboveskip=0pt, belowskip=0pt} + \lstdefinestyle{programcodenumberedstyle}{style=programcodestyle, numbers=left} + \tcbset{ programboxstyle/.style={left=3ex, right=0pt, top=0ex, bottom=0ex, middle=0pt, toptitle=0pt, bottomtitle=0pt, boxsep=0pt, + listing only, fontupper=\small\ttfamily, + colback=white, sharp corners, boxrule=-0.3pt, leftrule=0.5pt, + parbox=false, + } } + \tcbset{ programboxnumberedstyle/.style={programboxstyle, left=6ex} } + %% Arguments: language, left margin, width, right margin (latter ignored) + \newtcblisting{program}[4]{programboxstyle, left skip=#2\linewidth, width=#3\linewidth, listing options={language=#1, style=programcodestyle}} + \newtcblisting{programnumbered}[4]{programboxnumberedstyle, left skip=#2\linewidth, width=#3\linewidth, listing options={language=#1, style=programcodenumberedstyle}} + \newcommand{\programfragment}[2]{\lstinline[language=#1, style=programcodestyle, basicstyle=\ttfamily]#2} + + + %% Console session with prompt, input, output + \newcommand{\consoleinput}[1]{\textbf{#1}} + \lstdefinestyle{consolecodestyle}{language=none, escapeinside={(*}{*)}, identifierstyle=, commentstyle=, stringstyle=, keywordstyle=, breaklines=false, breakatwhitespace=false, columns=fixed, extendedchars=true, aboveskip=0pt, belowskip=0pt} + \tcbset{ consoleboxstyle/.style={left=0pt, right=0pt, top=0ex, bottom=0ex, middle=0pt, toptitle=0pt, bottomtitle=0pt, boxsep=0pt, + listing only, fontupper=\small\ttfamily, + colback=white, boxrule=-0.3pt, + parbox=false, + } } + %% Arguments: left margin, width, right margin (latter ignored) + \newtcblisting{console}[3]{consoleboxstyle, left skip=#1\linewidth, width=#2\linewidth, listing options={style=consolecodestyle}} + + + %% The listings package as tcolorbox for Sage code + \definecolor{sageblue}{HTML}{} + \tcbset{ sagestyle/.style={left=0pt, right=0pt, top=0ex, bottom=0ex, middle=0pt, toptitle=0pt, bottomtitle=0pt, + boxsep=4pt, listing only, fontupper=\small\ttfamily, + parbox=false, + listing options={language=Python,breaklines=true,breakatwhitespace=true, extendedchars=true, aboveskip=0pt, belowskip=0pt}} } + \newtcblisting{sageinput}{sagestyle, colback=sageblue, sharp corners, boxrule=0.5pt, } + \newtcblisting{sageoutput}{sagestyle, colback=white, colframe=white, frame empty, before skip=0pt, after skip=0pt, } + + + + %% tcolorbox styles for sidebyside layout + \tcbset{ sbsstyle/.style={raster before skip=2.0ex, raster equal height=rows, raster force size=false} } + \tcbset{ sbspanelstyle/.style={bwminimalstyle} } + %% "xparse" environment for entire sidebyside + \NewDocumentEnvironment{sidebyside}{mmmm} + {\begin{tcbraster} + [sbsstyle,raster columns=#1, + raster left skip=#2\linewidth,raster right skip=#3\linewidth,raster column skip=#4\linewidth]} + {\end{tcbraster}} + %% "tcolorbox" environment for a panel of sidebyside + \NewTColorBox{sbspanel}{mO{top}}{sbspanelstyle,width=#1\linewidth,valign=#2} + + + %% For improved tables + \usepackage{array} + \setlength{\extrarowheight}{0.2ex} + %% Variable thickness horizontal rules, full and partial + \newcommand{\hrulethin} {\noalign{\hrule height 0.04em}} + \newcommand{\hrulemedium}{\noalign{\hrule height 0.07em}} + \newcommand{\hrulethick} {\noalign{\hrule height 0.11em}} + \let\oldsetlength\setlength + \newlength{\Oldarrayrulewidth} + \newcommand{\crulethin}[1]% + {\noalign{\global\oldsetlength{\Oldarrayrulewidth}{\arrayrulewidth}}% + \noalign{\global\oldsetlength{\arrayrulewidth}{0.04em}}\cline{#1}% + \noalign{\global\oldsetlength{\arrayrulewidth}{\Oldarrayrulewidth}}}% + \newcommand{\crulemedium}[1]% + {\noalign{\global\oldsetlength{\Oldarrayrulewidth}{\arrayrulewidth}}% + \noalign{\global\oldsetlength{\arrayrulewidth}{0.07em}}\cline{#1}% + \noalign{\global\oldsetlength{\arrayrulewidth}{\Oldarrayrulewidth}}} + \newcommand{\crulethick}[1]% + {\noalign{\global\oldsetlength{\Oldarrayrulewidth}{\arrayrulewidth}}% + \noalign{\global\oldsetlength{\arrayrulewidth}{0.11em}}\cline{#1}% + \noalign{\global\oldsetlength{\arrayrulewidth}{\Oldarrayrulewidth}}} + %% Single letter column specifiers defined via array package + \newcolumntype{A}{!{\vrule width 0.04em}} + \newcolumntype{B}{!{\vrule width 0.07em}} + \newcolumntype{C}{!{\vrule width 0.11em}} + + + \newcommand{\tablecelllines}[3]% + {\begin{tabular}[#2]{@{}#1@{}}#3\end{tabular}} + + \newcommand{\lt}{<} + \newcommand{\gt}{>} + \newcommand{\amp}{&} + %% Begin: Semantic Macros + \newcommand{\mono}[1]{\texttt{#1}} + + + + + + \newcommand{\alert}[1]{\textbf{\textit{#1}}} + + + \newcommand{\terminology}[1]{\textbf{#1}} + + + \newcommand{\pubtitle}[1]{\textsl{#1}} + + + + + + + + + \newcommand{\swungdash}{\raisebox{-2.25ex}{\scalebox{2}{\~{}}}} + + + %% Used for units and number formatting + \usepackage[per-mode=fraction]{siunitx} + \sisetup{inter-unit-product=\cdot} + \ifxetex\sisetup{math-micro=\text{µ},text-micro=µ}\fi + \ifluatex\sisetup{math-micro=\text{µ},text-micro=µ}\fi + %% Common non-SI units + + \DeclareSIUnit\ + + { + + + + + + + + + } + + + + %% Arrows for iff proofs, with trailing space + \newcommand{\forwardimplication}{($\Rightarrow$)} + \newcommand{\backwardimplication}{($\Leftarrow$)} + + + %% Style of a title on a list item, for ordered and unordered lists + \newcommand{\lititle}[1]{{\slshape#1}} + + + %% Font for cross-reference numbers, a no-op on slides + \newcommand{\xreffont}{} + + %% End: Semantic Macros + + %% Custom Preamble Entries, late (use latex.preamble.late) + + + + + %% Custom macros (docinfo/macros) + + + + + %% Graphics Preamble Entries + + + %%%% End of PreTeXt generated preamble %%%% + + + diff --git a/packages/pretext-html/assets/xsl/pretext-braille-preprint.xsl b/packages/pretext-html/assets/xsl/pretext-braille-preprint.xsl new file mode 100644 index 00000000..f0bef523 --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-braille-preprint.xsl @@ -0,0 +1,2249 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ** Some PreTeXt elements lack full implementation in the braille conversion. + ** Smaller items will simply be missing from your output. + ** Larger items may have all-caps placeholders in your output. + ** These will all be reported as "Overlooked" in the log. + ** Please report the complete list in the PreTeXt support forum, + ** so we can prioritize making the output for your project complete. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BUG: the braille conversion has encountered three "run-in" titles in a row, + which we had not expected. Please report me. Thank-you. + First: + Second: + Third: + + + + + + + + + + + + + + + + + + + + + + Transcriber Notes + + + + + + Literal, or verbatim, computer code used in sentences is indicated by a set of transcriber-defined emphasis given by the following indicators, which all begin with the two cells dot-4 and dot-3456. Single letter: 4-3456-23. Begin, end word: 4-3456-2, 4-3456-3. Begin, end phrase: 4-3456-2356, 4-3456-3. + + + + + + Images are replaced by authors' descriptions, and then in an embossed version, a full (numbered) page comes next, which can be manually replaced by a tactile version of the image. + + + + + + A "side-by-side" is a horizontal layout of document elements. The components of a side-by-side are called "panels". Typically panels are images or figures, but can also be items like program listings, tables, or paragraphs. For braille, we let each panel use the full width of the page, so we announce the start, indicating the total number of panels. Then we preface each panel with its number in the sequence. Finally we announce the end because it may be hard to distinguish a final panel from the ensuing text. + + + + + + + A "side-by-side group" is a sequence down the page of "side-by-side" (see previous note). We announce the start with the number of side-by-side in the group to expect, and let the beginning and ending notes for each side-by-side delineate the sequence. + + + + + + Tabular material is always implemented using a "linear table format". A human transcriber may be able to improve small tables, or larger tables that could use multiple pages when embossed, by using a different format. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + no + + + + + + + + yes + + + + no + + + + + + + + 4 + + + 6 + + + + 0 + + + + + + + + + + + + + + + + + + 1 + + + + + 1 + + + 1 + + + 1 + + + + + + + + 1 + + + + + 1 + + + 0 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + newpage + + + + + + cell5 + + + centered + + + + + + + + centered + + + cell5 + + + cell7 + + + + + + + + cell5 + + + cell7 + + + + + + cell7 + + + + UNDEFINED + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An exercise group follows. + + + It begins with an introduction. + + The exercises run from number + + to number + + . + + + It finishes with a conclusion. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + . + + + ( + + ) + + + + + + + + + + + + + + + + + + + . + + + ( + + ) + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Replace this page with + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Replace this page with + + + + + + + + + + + + + + + + + + + + + + + Image: + + . + + + + + + + + + + + + + + + + + + + + + + + + + side-by-side: + + + panels + + + + + + + + panel: + + / + + + + + + + + + + + side-by-side: end + + + + + + + + + side-by-side group: + + sbs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The first + + rows are columm headings, described next. + + + + + + + The first column of this table contains headings for the rows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + : + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + Column + + s + + + + + - + + + + + + + + : + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + PreTeXt + + + + TeX + + + + LaTeX + + + + + WeBWorK + + + + i.e. + + + + etc. + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + © + + + + + + ® + + + + + + + + + + + + ° + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + · + + + + + + + ~ + + + + + + + + + + + + § + + + + + + + + + + + + × + + + + + + + / + + + + + + ÷ + + + + + + ± + + + + + + + + + + + + + + + + + + + + + + WARNING: "icon" with @name attribute value "" does not have an implementation for braille. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + < + + > + + + + < + + /> + + + + @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ⠰⠔ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --------------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ----------------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + + + + + + + + + + 0 + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NOTATIONLIST + + + + INDEXLIST + + + + POEM + + + + + + QUANTITY + + + + KBD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unimplemented: ( times) + + + + Overlooked: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ⠈⠨⠣ + + + + ⠈⠨⠜ + + + + + diff --git a/packages/pretext-html/assets/xsl/pretext-common.xsl b/packages/pretext-html/assets/xsl/pretext-common.xsl new file mode 100644 index 00000000..8b27aee8 --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-common.xsl @@ -0,0 +1,12018 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + no + + + yes + + + no + + + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + unset + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: the whitespace parameter can be 'strict' or 'flexible', not ' + + '. Using the default ('flexible'). + + flexible + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + 0 + + + 1 + 1 + 1 + 1 + + PTX:BUG: Level offset undefined for this document type + + + + + + + + + + + + + + + + + + + part + chapter + section + subsection + subsubsection + + PTX:ERROR: Level computation is out-of-bounds (input as , normalized to ) + + + + + + + + + + + + + + + + + + + + + + + + + + + chapter + + + + + + + + + + section + + + section + + + subsection + + + subsubsection + + + paragraph + + + + + + + chapter + + + section + + + + + + + + + section + + + subsection + + + + + + + + PTX:BUG: Asking for the name of an element () that is not a division + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: a bare "#" inside \text{} in math must be escaped as "\#" + + + + + + + + + PTX:WARNING: a bare "%" inside \text{} in math must be escaped as "\%" + + + + + + + + + PTX:WARNING: a bare "&" inside \text{} in math must be escaped as "\&" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: the "wrapper" modal template for inline math needs an implementation in the current conversion + [[[ + + ]]] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \displaystyle + + + \displaystyle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \begin{ + + + + } + + + + + + + + + + + + + \end{ + + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: the modal "tag" template needs an implementation for "mrow" in the current conversion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \end{cases} + + + + + + + + + + + + + + + + + + + + + + + + + + \notag + + + + + \\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gather + + + alignat + + + align + + + bad-alignment-choice + + + + + equation + + + + + align + + + gather + + + + + + * + + + + + + + + + + + + + + + + + + + + + + + + + + + { + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \newcommand{\lt}{<} + \newcommand{\gt}{>} + \newcommand{\amp}{&} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \newcommand{\fillinmath}[1]{\mathchoice + {\underline{\displaystyle \phantom{\ \,#1\ \,}}} + {\underline{\textstyle \phantom{\ \,#1\ \,}}} + {\underline{\scriptstyle \phantom{\ \,#1\ \,}}} + {\underline{\scriptscriptstyle\phantom{\ \,#1\ \,}}}} + + + \newcommand{\fillinmath}[1]{\mathchoice + {\boxed{\displaystyle \phantom{\,#1\,}}} + {\boxed{\textstyle \phantom{\,#1\,}}} + {\boxed{\scriptstyle \phantom{\,#1\,}}} + {\boxed{\scriptscriptstyle\phantom{\,#1\,}}}} + + + \definecolor{fillinmathshade}{gray}{0.9} + \newcommand{\fillinmath}[1]{\mathchoice + {\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}} + {\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}} + {\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}} + {\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}} + + + + + + + + \fillinmath{ + + } + + + \fillinmath{ + + + + + } + + + \fillinmath{XXX} + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + + + + + + + ) + + + + + + + + + + + + + + + + + + + + sagecell + - + + + sage + + + + + + + - + autoeval + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: current conversion needs an implementation of the "code-wrapper" template + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \text{ + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .?!:;, + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + **** + O: + + :O + M: + + :M + F: + + :F + B: + + :B + M: + + :M + **** + + + + + + + + + + + + + + + + + + + + + month-day-year + + + + + + + + + , + + + + + / + + / + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: asking if a "frontmatter" is a leaf, for a document that is not a "book" nor an "article" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: asking if a non-division () is a specialized division + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + subnumber + + + panel + + + block + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: Structural determination () failed for is-intermediate at + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: Structural determination () failed for is-chunk at + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: the $chunk-level variable is empty, so must have been set improperly, perhaps when overridden in a conversion. The "containing-filename" template is likely to act incorrectly. Please report me + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + false + + + + + + + + + +   + + Math Subject Classification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + + ' + + ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + PTX:WARNING: a "width" attribute should be given as a percentage (such as "40%", not as ", using 100% instead" + + + 100% + + + + + + + + + + + + + + 100% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: the @aspect attribute should be a ratio, like 4:3, or a positive number, not "" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Close + + + + Reveal + + + + + + + + + + + + [ + + ] + PTX:WARNING: could not translate string with id "" into language for code "" + + + + + + + + + + + + + + + + + + + + + + + + + objective + + + outcome + + + + + + + + + divisionalexercise + + + + + worksheetexercise + + + + + readingquestion + + + + + + + + + inlineexercise + + + + + + + + appendix + + + solutions + + + + + + + + + + equation + + + + displaymath + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \textquotedblleft{} + + + \textquotedblright{} + + + + + \textquoteleft{} + + + \textquoteright{} + + + + + \guillemotleft{} + + + \guillemotright{} + + + + + \guilsinglleft{} + + + \guilsinglright{} + + + + \guillemotleft\thinspace{} + + + \thinspace\guillemotright{} + + + \guilsinglleft\thinspace{} + + + \thinspace\guilsinglright{} + + + + \quotedblbase{} + + + \textquotedblright{} + + + + \quotesinglbase{} + + + \textquoteright{} + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: the quotation style " + + " ( + + ) was not recognized + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: parent of a "" element in your PreTeXt source is not an "image". If you think this is a programming error (not an error in your source), please report me. + + + + + + + + + + + + + PTX:WARNING: you are encouraged to place a @label attribute on every "prefigure" element. Otherwise, associated image files will have unreliable filenames. + + + + + + + PTX:BUG: a "prefigure" element is confused about where its @label came from + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: While building for a Runestone server, a PreTeXt " + + " element + has been encountered without a @label attribute and without a @xml:id attribute. + This will cause this Runestone component to fail to perform and there will be no + identification of this component in the Runestone database. You must add a + @label attribute with a unique value. (It is not necessary to add a @xml:id, + it is consulted as part of a backward-compatibility arrangement you do not need). + [You may get more than one message about this instance.] + + + + + + PTX:WARNING: While building for a Runestone server, a PreTeXt " + + " element + has been encountered without a @label attribute. For reasons of backward-compatibility + we have used the value of an @xml:id. This may not be what you want, and as of 2024-02-15 + is no longer best practice. You can copy the @xml:id value exactly into a new @label + attribute and this warning will stop AND your project's entries in any Runestone database + will be preserved and function exactly as before. + [You may get more than one message about this instance.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ + + _ + + + rs- + + + + + + + + + + + + + + + + + + + + .js + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: A "case" has "direction" equal to either "forward" or "cycle", but the conversion for this output target does not have a double right arrow symbol defined. + + + + PTX:BUG: A "case" has "direction" equal to "backward", but the conversion for this output target does not have a double left arrow symbol defined. + + + + + + + + + PTX:BUG A "case" has "direction" equal to "cycle", but the conversion for this output target does not have a "delimiter space" symbol defined. The maintainer for this output target may wish to know about this (or may wish to set the "delimiter space" symbol to be a null string to suppress this warning message). + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + +   + +   + + + + + + + + + + + | + + + + PTX:WARNING: a "case" with @direction "cycle" should be one of several + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: a cross-reference ("ref") from a "" containing at least one "case" with "direction" set to "cycle" uses a reference [] that does not point to an element that contains an "ol". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + + ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + auto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: left margin () should be given as a percentage (such as "40%"), or as the string "auto" + + + + + PTX:ERROR: width () should be given as a percentage (such as "40%"), or as the string "auto" + + + + + PTX:ERROR: right margin () should be given as a percentage (such as "40%"), or as the string "auto" + + + + + + + + PTX:ERROR: left margin () must be in the interval [0%, 100%] + + + + + + PTX:ERROR: width () must be in the interval [0%, 100%] + + + + + + PTX:ERROR: right margin () must be in the interval [0%, 100%] + + + + + + PTX:ERROR: margins (, ) must not have a sum exceeding 100% + + + + + + PTX:ERROR: margins and width (, , ) must not have a sum exceeding 100% + + + + + + PTX:ERROR: margins and width (, , ) must sum to 100% + + + + + + + + PTX:ERROR: the @aspect attribute should be a ratio, like 4:3, or a positive number, not "" + + + + PTX:FATAL: an @aspect attribute equal to zero will cause serious errors. + + Quitting... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OOOPS1111 + + + + + + + + + + + + + + + + + + + + OOOPS22222 + + + + + + + + + + + + + + + + + + + + OOOPS33333 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + N::N + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VA::VA + + + + + + PTX:FATAL: a <sidebyside> or <sbsgroup> does not have enough "@valigns" (maybe you did not specify enough?) + + That's fatal. Sorry. Quitting... + + + PTX:WARNING: a <sidebyside> or <sbsgroup> has extra "@valigns" (did you confuse singular and plural attribute names?) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + auto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100 + + + + + + + + + + + + + + + + + + + + + + 0% + + + + % + + + + + + + + + + + 0% + + + + % + + + + + + + + + M:::M + + + + + + + PTX:ERROR: it appears that a <sidebyside> has a @margins attribute with three or more values (""). There should be at most two values (a left margin and a right margin). Results may be unpredictable. + + + + PTX:ERROR: left margin of a <sidebyside> ("") is outside the interval [0%, 100%], (this may be computed, check consistency of "@margins" and "@widths") + + + + PTX:ERROR: right margin of a <sidebyside> ("") is outside the interval [0%, 100%], (this may be computed, check consistency of "@margins" and "@widths") + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + W::W + + + + + + PTX:FATAL: a <sidebyside> or <sbsgroup> does not have enough "@widths" (maybe you did not specify enough?) + + That's fatal. Sorry. Quitting... + + + PTX:WARNING: a <sidebyside> or <sbsgroup> has extra "@widths" (did you confuse singular and plural attribute names?) + + + + + + + + + + + + + + + + + + + 0 + + + + + + % + + + SW::SW + + + + + PTX:ERROR: computed space between panels of a <sidebyside> ("") is negative (this value is computed, check consistency of "@margins" and "@widths") + + + + PTX:ERROR: computed space between panels of a <sidebyside> is not a number (this value is computed, check that margins (", ") and widths ("") are percentages of the form "nn%") + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: panel width ("") in a <sidebyside> or <sbsgroup> is negative (this may be computed, check "@margin(s)" and "@width(s)") + + + + PTX:ERROR: panel width ("") in a <sidebyside> or <sbsgroup> is bigger than 100% (this may be computed, check "@margin(s)" and "@width(s)") + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: Unstructured content within a list item is being ignored ("") + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + disc + circle + square + none + + ptx:ERROR: unordered list label () not recognized + + + + + + + + + disc + circle + square + disc + + PTX:ERROR: unordered list is more than 4 levels deep (at level ) + + + + + + + + + + + + + + + + + cols + + multicolumn + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + X + + + + + + + + + + + + + + + + + + + X + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + X + + + + + + + + + + + + + + X + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: as of 2020-03-17 worksheet exercises' workspace should be specified in 'in' or in 'cm'. Approximating a page fraction of by . + + + + + + + + + + PTX:WARNING: a worksheet exercises', project-likes' or tasks' workspace should be specified with units of 'in' or 'cm', and not as "". Using a default of "2in". + 2in + + + + + + + + + + + + + + + + + + + + project + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: can't determine exercise type + + + + + + + + + + + + + + + + + + + + + + + + + backmatter + + + mainmatter + + + + + + + + + + + + + all + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: unresolved @scope ("") for a <solutions> division + + + + PTX:ERROR: the @scope ("") of a <solutions> division is not a supported division. If you think your attempt is reasonable, please make a feature request. Results now will be unpredictable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + H + + + A + + + S + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inline + + + divisional + + + divisional + + + worksheet + + + reading + + + project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of the template with match="*" and mode="present-solutions-container" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of the template with match="*" and mode="present-exercise-statement" + + + + PTX:BUG: a conversion to a new output format requires implementation of the template with match="*" and mode="present-exercise-statement-bare" + + + + PTX:BUG: a conversion to a new output format requires implementation of the template with match="*" and mode="present-exercise-solutions" + + + + PTX:BUG: a conversion to a new output format requires implementation of the template with match="*" and mode="present-task-item" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("titlepage-items") in order to specify which bibliographic information to include in the titlepage. + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("colophon-items") in order to specify which bibliographic information to include in the front colophon. + + + + + + + + + + + + + + Primary + + + Secondary + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-notation-list") in order to structure a notation list. + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a modal template ("present-notation-item") in order to structure an explanation of a single "notation" element. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + 1 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-index") in order to structure the overall index. + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-letter-group") in order to structure a group of entries all leading with the same letter. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: an index entry should not have both a locator and a "see" reference. Results may be unpredictable. Perhaps you meant to employ a "seealso" reference? Heading is: "; ; " + + + PTX:WARNING: an index entry should not have a "seealso" reference without also having a locator. Results may be unpredictable. Perhaps you meant to employ a "see" reference? Heading is: "; ; " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-index-heading") in order to format a single heading of an index entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; + + + + + ) + + + + + + + + . + + + + + + + + + ( + + + + + + + + + + + + + + + + + + + + + + + + + + + ; + + + + + + ) + + + + + + + + + + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-index-locator") in order to format a locator at the end of an index entry. + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-index-see") in order to format a "see" cross-reference at the end of an index entry. + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-index-see-also") in order to format a "see also" coross-reference at the end of an index entry. + + + + + + PTX:BUG: a conversion to a new output format requires implementation of a named template ("present-index-italics") in order to format italic text at the end of an index entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: the "list-of-begin" template needs an implementation in the current conversion + [[[BEGINLIST]]] + + + + PTX:BUG: the "list-of-end" template needs an implementation in the current conversion + [[[ENDLIST]]] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 1 + + + 2 + + + 3 + + + + + + + + + + + + + + + + + l + + + c + + + r + + + + + + + + + + + + + + + + t + + + m + + + b + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + left + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + none + + + + + + + + + + + + + + + + + + + + + + none + + + + + + + + + none + + + + + + + + + none + + + + + + + + + + + + + none + + + + + + + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [LINESEP] + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + left + + + + + + + + + + + + + + + + + + + + + + + + + \text{ + + } + + + + + {} + + + + ^ + + + + + + + + + + + + + + + _{ + + } + + + + + + + \hat{ + + } + + + + + + + \begin{smallmatrix} + + \\ + + \end{smallmatrix} + + + + + \left. + + + + + + \text{ + + } + + ^ + + + + + {} + + + + \text{ + + } + + + + + + + + + + + + + ^ + + + + + + {} + + + + + + + + + + + + + + + + + + ^{ + + } + _{ + + } + + + + ^{ + + } + + + + + + + \text{sus} + + + + + + + \left. + + + \left( + + + + + + \begin{smallmatrix} + + + + \end{smallmatrix} + + + + \right. + + + \right) + + + + + + + \middle/ + + + + + \text{ + + } + + ^{ + + + + } + + + + + \text{ + + } + + + + \right. + + + + + + \text{ + + } + + + \\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \text{ + + } + + + + + + + + + [DOUBLESHARP] + + + + + [SHARP] + + + + + [NATURAL] + + + + + [FLAT] + + + + + [DOUBLEFLAT] + + + + + + + + + + + + + + + + + + ^ + + {} + + + ^ + + {} + + + + + \text{ + + } + + + + + + + + + {+} + + + + + {\Delta} + + + + + {-} + + + + + \text{\o} + + + + + {\circ} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \text{ + + + [ + + + + + + + + + + + + + + + , + + + + + + PTX:WARNING: <xref @detail="" /> only implemented for single references to <biblio> elements + + + + + + ] + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + global + + + local + + + + + + + + + + + + PTX:ERROR: <xref @first="" @last="" /> references two elements with different tags ( vs. ), so are incompatible as endpoints of a range. Rewrite using two <xref> elements + + + + + + + + + + + + + + + + + + + + + + \text{ + + + [ + + + + + + + + + + + + + + + + ] + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + + \text{ + + , + + } + + + + + + + \text{ + + + + + + + } + + + + + + + + + + + + + + + + + + + + ] + + + + + + + + + + + + + + + + + + [provisional cross-reference: + + ] + + + + + + + + + PTX:WARNING: A cross-reference (<xref>) must have a @ref attribute, a @first/@last attribute pair, or a @provisional attribute + + + + xref without ref, first/last, or provisional attribute (check spelling) + + + + + xref, no recognized attribute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: an "xref" lacks a @ref, @first/@last, or @provisional; check your source + + + + + + + + + + + + + + + + + + PTX:ERROR: a cross-reference ("xref") uses references [] that do not point to any target, or perhaps point to multiple targets. Maybe you typed an @xml:id value wrong, maybe the target of the @xml:id is nonexistent, or maybe you temporarily removed the target from your source, or maybe an auxiliary file contains a duplicate. Your output will contain some placeholder text that you will not want to distribute to your readers. + + + [cross-reference to target(s) " + + " missing or not unique] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + X + + + + + + PTX:DEBUG: xref/@ref "" points to a "" element. (1) we made a mistake, and we need to add this element to a list of potential targets of a cross-reference, or (2) you made a mistake and really did not mean this particular construction, or (3) we need to have a discussion about the advisability of this element being a target. (4) If you are trying to cross-reference a "p" element, perhaps using a "paragraphs" element is a good alternative. If (1) or (3) could you please report me! + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + global + + + local + + + hybrid + + + type-global + + + type-local + + + type-hybrid + + + type-global-title + + + type-local-title + + + + phrase-global + + + phrase-hybrid + + + title + + + custom + + + + + + + + + + + global + + + local + + + hybrid + + + type-global + + + type-local + + + type-hybrid + + + type-global-title + + + type-local-title + + + + phrase-global + + + phrase-hybrid + + + title + + + custom + + + + + + + + type-global + + + global + + + type-global + + + title + + + PTX:BUG: NO TEXT STYLE DETERMINED + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: + An <xref> wants to build text using a title to identify the target, but the target (which has @xml:id " + + ") has no title, not even a default title. + + + + + + + + PTX:WARNING: + An <xref> wants to use custom text to describe the target, but no custom text was provided as the content of the "xref". + + + + + + + + + + + + + + + + + + + + PTX:WARNING: + An <xref> wants to build text using a number to identify the target, but the target (which has @xml:id " + + ") does not have a number. You could try 'text="title"' or 'text="custom"' on the "xref". + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: a cross-reference to a list item of an anonymous list ("") with 'phrase-global' and 'phrase-hybrid' styles for the xref text will yield no text at all, and possibly create unpredictable results in output + + + + + + PTX:WARNING: providing content ("") for an "xref" element is ignored for 'phrase-global' and 'phrase-hybrid' styles for xref text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: + An <xref> requests a 'title' as its text but also provides alternate content. The construction is deprecated as of 2020-02-18. Instead, specify that xref/@text should be 'custom', either globally or on a per-xref basis. + + + + + + + + + + + + + + + + PTX:BUG: NO XREF TEXT GENERATED + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: a cross-reference ("ref") from a "" uses a reference [] that does not point to any target. Maybe the @ref and @xml:id values do not match? + + + + PTX:ERROR: a cross-reference ("ref") from a "" uses a reference [] that does not point to an element that is THEOREM-LIKE (target is a "" element). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + true + + + + + + + + + + + + + + + + + + + of + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: Looks like a [] element has an ambiguous number, found while making cross-reference text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + of + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [XREFNUM] + + + + + + + PTX:BUG: a new conversion needs an implementation of the modal "xref-link" template. Search your output for "[LINK:" + [LINK: + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PreTeXt + + + + + PreFigure + + + XeTeX + + + XeLaTeX + + + + + + + + + + + + + + . + + + + + + AD + + + + + AM + + + + + BC + + + + + + ca + + + + + e.g + + + + + et al + + + + + etc + + + + + i.e + + + + + + NB + + + + + PM + + + + + PS + + + + + vs + + + + + viz + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: the character named "" needs an implementation in the current conversion + [[[ + + ]]] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + < + + > + + + + + + + + + < + + /> + + + + + + + + + @ + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: current conversion needs an implementation of the italic font + + + + PTX:BUG: current conversion needs an implementation of the bold font + + + + PTX:BUG: current conversion needs an implementation of the monospace font + + + + PTX:BUG: current conversion needs an implementation of a bibliographic period + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: current conversion needs an implementation of the "bibentry-wrapper" template + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + no + + + + + + + + Ibid + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + (ed.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pp + + + - + + + + + + + + + + + + PTX:WARNING: a child of "biblio" () is not being processed. Please report me so this can be fixed. + + + + + + + + + + + + , + + + + (eds.) + + + (ed.) + + + + + + + , + + (trans.) + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + and + + + ; + + + + + + + + , + + + + + + + + + , + + + + + + + , + + + + + + + , + + + + + + + + , + + + + + + + , + + + + + + + + , + + edition + + + + + + + + + + + + + no. + + + + + + + + ( + + ) + + + + + + + , accessed + + + - + + + + - + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + , + + pages + + + + + + , doi: + + + + + , ISBN + + + + + , ISSN + + + + + + + . + + + + + + + + + + + + + + + + + + + WeBWorK + + + + + + + + + + + + + + + + + + + + + + ******************************************************************************** + + + + ******************************************************************************** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + located at: + + + / + + + @ + + + + + + + + + + + + + + + + located within: + + " + + " (xml:id) + + + , + + + " + + " (title) + + + + + + + + + + + + + + + + + + + + + + + + + PTX:DEBUG: + f: + + + + + + + + + + + + + |e: + + |i: + + |t: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Literate Programming support is incomplete + + 1. Code generation is functional, but does not respect indentation + 2. LaTeX generation is functional, could be improved, 2020-11-11 + 2. HTML generation is functional, could be improved, 2020-11-11 + + + + + + + + + + + + PTX:WARNING: + Your <book> does not have any chapters. Maybe you forgot the '--xinclude' switch on your 'xsltproc' command line? + + + + + PTX:WARNING: + Your <article> does not have any sections, worksheets, or handouts, nor any top-level paragraphs. Maybe you forgot the '--xinclude' switch on your 'xsltproc' command line? + + + + + + + + + + + + + + + + mainmatter logo-link latex-macros + papersize-select highlight-workspace-checkbox + hide-hint-checkbox hide-answer-checkbox hide-solution-checkbox + print-first-page-header-checkbox print-running-header-checkbox + print-first-page-footer-checkbox print-running-footer-checkbox + + + + inst_peer_link ip_dropdown_link subchapterprogress + scprogresscontainer scprogressposs scprogresstotal + + + + + + + + + + + + + + + PTX:ERROR: + The @ + + " + + " is invalid. Use only letters, numbers, hyphens and underscores. + + + + + + + PTX:FATAL: + The @ + + " + + " is invalid since it will conflict with a unique HTML id in use by the user interface. Please use a different string. Quitting... + + + + + + PTX:FATAL: + The @ + + " + + " is invalid because PreTeXt reserves all ptx-* ids for internal use. Quitting... + + + + + + + PTX:ERROR: + The @ + + " + + " is invalid since it will conflict with the construction of an automatic HTML "index.html" page. Use some alternative for the real index - sorry. + + + + + + + + + + + + + + + + + + + PTX:WARNING: + There are apparent XML elements in locations that should be text only ( + + times). + + + + + PTX:WARNING: + There is an apparent XML element (< + + >) inside an < + + > element, which should only contain text. Using an escaped "less than" ('&lt;') might be the solution, or using a CDATA section. + + + + + + + + + + + + + + PTX:WARNING: + In a chapter containing sections, any content that is not inside a section needs to be inside an <introduction> and/or <conclusion>. + + + + + + + + PTX:WARNING: + In a section containing subsections, any content that is not inside a subsection needs to be inside an <introduction> and/or <conclusion>. + + + + + + + + PTX:WARNING: + In a subsection containing subsubsections, any content that is not inside a subsubsection needs to be inside an <introduction> and/or <conclusion>. + + + + + + + + + + PTX:WARNING: a <tabular> has at least one paragraph (<p>) inside a <cell>, yet there are no <col> elements with a @width attribute. Default widths will be supplied. + + + + + + + + + + + + + + + + + + + + + + + P100Y + + + P4Y + + + P100Y + PTX:WARNING: "author.deprecations.all" should be "yes" or "no", not "", using the default value of "yes" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:DEPRECATE: ( + + ) + + ( + + time + + s + + ) + + + + + + + + + + -------------- + + + + + + + + + + + + + + + + + + + + + + + + PTX:INFO: checking all deprecated elements. + + + PTX:INFO: checking ONLY the last FOUR YEARS of element deprecations. Rerun with the string parameter "author.deprecations.all" set to "yes" to check your source against all deprecations. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:FATAL: a "commentary" without a @component attribute is a fatal error from 2024-02-16 onward. Read preceding error messages (2023-02-13, 2024-02-16, 2025-03-08), and make the suggested changes. Quitting... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ******************************************** + * Generated from PreTeXt source * + + * on + * + * A recent stable commit (2022-07-01): * + * 6c761d3dba23af92cba35001c852aac04ae99a5f * + + * * + * https://pretextbook.org * + * * + ******************************************** + + + + + + + + + ******************************************** + * Generated from PreTeXt source * + * * + * https://pretextbook.org * + * * + ******************************************** + + + + + + + + + + + + + + + + + + + + + <!-- + + + --> + + + + + + + + <!-- + + + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:FATAL: percentage attributes sum to over 100% + + + + + + + + + + + + + + + + + + + + PTX:FATAL: expecting a percentage ending in '%'; got + + + + + + PTX:FATAL: expecting a numerical value preceding '%'; got + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/pretext-dynamic.xsl b/packages/pretext-html/assets/xsl/pretext-dynamic.xsl new file mode 100644 index 00000000..5ef78ff8 --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-dynamic.xsl @@ -0,0 +1,65 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/pretext-html/assets/xsl/pretext-epub.xsl b/packages/pretext-html/assets/xsl/pretext-epub.xsl new file mode 100644 index 00000000..ca70fd0c --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-epub.xsl @@ -0,0 +1,1483 @@ + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + EPUB + + + css + + + xhtml + + + package.opf + + + endnotes.xhtml + + + + + + + + + + pub-id + +mock-123456789-0-987654321 + + + + + + + + + + 3 + 2 + + 1 + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + display + + + none + + + + + + + + + + + + + + + + + + + + + + + true + + + true + + + true + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:FATAL: EPUB creation is only implemented for a "book" or an "article", not a "", and we cannot recover + + Quitting... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + / + + + + + + + + + + + + + + + + + + <xsl:apply-templates select="." mode="type-name-number" /> + + + + + + + + + + + + + + + + + + + + + + + + .xhtml + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + application/epub+zip + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dcterms:modified + + + Z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nav mathml + + + nav svg + + + + + nav + + + + + + + + + + + + + + image/png + + + image/jpeg + + + + + + + + + + + + + + + + + + + + + + mathml + + + svg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + / + + / + + + + + + true + + + false + + + + + + + + + mathml + + + svg + + + + + + + + / + + + + application/xhtml+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + no + + + + + + + <xsl:apply-templates select="$document-root" mode="title-simple"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:apply-templates select="$document-root" mode="title-full"/> + + + + + + + + +
+ + cover image +
+
+ +
+

+ + + + : + + + + + + + + +

+
+
+ +
+
+
+
+
+ + +
+ + + + + + + Table of Contents + + + + + + +
+ + + + + + + +
+            
+        
+
+ +
+            
+        
+
+
+ + + + + + +
+            
+        
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + latex-image/ + + + + + + sageplot/ + + + + + + + + + sageplot/ + + .png + + + asymptote/ + + + + + mermaid/ + + + + + prefigure/ + + + + + + + PTX:BUG: image filename not determined in EPUB conversion + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + image/png + + + image/jpeg + + + image/svg+xml + + + + + + + + + + + image/png + + + + image/jpeg + + + image/svg+xml + + + + image/svg+xml + + + + + + + image/png + + + PTX:BUG: EPUB image media-type not determined + + + + + + + + + + + + + + + + + + + + .png + + + .svg + + + + + + + + image/png + + + image/svg+xml + + + + + + + + + + + + + + + width: + + ; margin: 0 auto; + + + + +
+ + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + para + + + + + + + + + + + -kindle-return + + + + + + + + + + + + + + + + + + + # + + -kindle-return + + + + + + + + + + + + + + + + + + + + + + + + + + + + -kindle-return + + + + + + + + + + + + + + + + + + + + + + + + + + + + Endnotes + + + +

Endnotes

+ + + + +
+
+
+ + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mjpage + + + mjpage mjpage__block + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -title + + + + -desc + + + + + + + img + + + + + + + + + + + + + Math Expression + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/packages/pretext-html/assets/xsl/pretext-fo.xsl b/packages/pretext-html/assets/xsl/pretext-fo.xsl new file mode 100644 index 00000000..2460283d --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-fo.xsl @@ -0,0 +1,4593 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Latin Modern Roman 12 + + + Latin Modern Roman + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + start + + + justify + + + + + + + + + + + + + + + + + + + + + + + + + url('watermark.svg') + + + no-repeat + + + center + + + center + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 227% + 182% + + + + + 30pt + 20pt + + + + + center + + + + + + + + + + + + + + + + + + + + + + + + + 127% + 109% + 100% + + + + + 1.75em + 1.6em + + + + + 1.15em + 1.5em + 0.75em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + odd-page + + + page + + + + + + page + + + page + + + + + + + + + + + + + + + + + + + + + + + + page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em + + + + + + + + justify + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + . + + + + + + + + + + + + + + . + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 227% + 182% + 127% + 109% + 100% + 100% + + + + + + + + + + + + + + + + + + + + + · + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6em + 14em + + 10em + + + + + + + + + + + start + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + url( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .svg + + + + + + + + + + + + + + latex-image/ + + + sageplot/ + + + asymptote/ + + + prefigure/ + + + mermaid/ + + + + + + + -11.svg + + + .svg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100 + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pt + + + + + + % + + + + % + + + + % + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + center + + + after + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.5pt + + + 1pt + + + 2pt + + + + + + + solid + + #000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + 1 + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + solid 0.5pt #888888 + + + 3pt + + + + # + + + + + + + 3.5pt + + + 3.5pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + center + + + after + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #00FF00 + + + + + + + + + red + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TeX + + + LaTeX + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + · + + + + + + + + + + + + + + + + § + + + + + + × + + + + + + ÷ + + + ± + + + © + + + + + + + + + + + + + + ( + + + + ) + + + ® + + + + + + + + + + + ° + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #000080 + + + + + underline + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , p.  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + left + center + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: a display + + ( + + ) + + is wider than the text and overruns the right margin in the XSL-FO output + + + + + + + + + + + + + - + + pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pt + + + + pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Root of file: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:FO-TODO: (child of "") + + + + diff --git a/packages/pretext-html/assets/xsl/pretext-html.xsl b/packages/pretext-html/assets/xsl/pretext-html.xsl new file mode 100644 index 00000000..5dd10550 --- /dev/null +++ b/packages/pretext-html/assets/xsl/pretext-html.xsl @@ -0,0 +1,14791 @@ + + + + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://cdn.jsdelivr.net/gh/PreTeXtBook/html-static@ + + /dist/ + + + + + + + + + theme- + + .min.css + + + theme.css + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Hypothes.is annotation is experimental + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:FATAL: the @xml:id given as a subtree root ("") does not specify any element. (Check spelling?) Quitting... + + + PTX:FATAL: the element with the @xml:id given as a subtree root ("") is not division that can be chunked into HTML page(s). Quitting... + + + + + + + + + PTX:FATAL: the element with @xml:id given as a subtree root ("") is only a partial HTML page at the current chunking level. Quitting... + + + + + + + + + + + + + + + + + + + + + + + + + PTX:FATAL: HTML conversion does not support the "letter" document type. Quitting... + + + + + + PTX:FATAL: HTML conversion does not support the "memo" document type. Quitting... + + + + + + + + + + + + + + + + + + + + + + PTX:BUG the $chunk-level variable has been left undefined due to a change in a stylesheet that imports the HTML conversion and the computation of an index page may fail spectacularly (infinite recursion?)" + + + + + + + + + + + + + + + + + + + + + PTX:WARNING: the requested HTML index page cannot be constructed since "" is not a complete web page at the current chunking level (level ). Defaults will be used instead + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + + + + + + + +
  • + + + + + + + + + + + + + +
  • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + groupwork + + + + + + + + + + + + + + + + + + +

    + Watermark text: + + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: an "exercises" division cannot simultaneously be a timed exam AND group work + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + heading + + + + heading hide-type + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + + + + + +

    +
    + + + + +
    +
    + +
    + +
    +
    + + + +
    + +
    +
    + + + + + + +
    +
    + + + , + + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + + + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    + + + + + + + + + + + + +
    + + + + + . +
    +
    + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + +
    + + + + + +
    +
    + + + +
    + + + + + + + + + +
    +
    + + + + +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + hide-type + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + + + + + + + + +
    + + + + + indexitem + + + subindexitem + + + subsubindexitem + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ./knowl/ + + + xref/ + + + + + + + index/ + + + + list-of/ + + + + notation/ + + + + + + + .html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + h + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:BUG: "hN" template reached without a $heading-level parameter on element <> at /; defaulting to h2 + 2 + + + + + + h6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + heading + + + + + + + + + + + + + + + Back to + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +  ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Style arrows in CSS? + + + + + Style arrows in CSS? + + + + + + + + +  ⁠ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + born-hidden-knowl + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + article + + + + + + remark-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + computation-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + openproblem-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + definition-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + aside + + + + + + aside-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + +
    + + author + + + + +
    +
    + + +
    + + +
    +
    + + + + + + + + +
    + + line + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + figure + + + + + + figure-like + + + + + + table-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + + + + + +
    +
    +
    + + + + + + + + false + + + + + article + + + + + + assemblage-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + blockquote + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + goal-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + example-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + +
    +
    + + + + + + + false + + + + + + div + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + exercisegroup-exercises + + + + + + + + + + + + + +
    + + + + +
    + + + + + + + +
    + + + + + +
    + + exercisegroup-exercises + + + + + + + + + + +
    + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + article + + + + + + exercise-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + +
    +
    +
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + project-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + exercise-like + + + project-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + exercise-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + false + + + true + + + + + + + div + + + + + + solution-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + div + + + + + + discussion-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + article + + + + + + theorem-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + article + + + + + + + + + hiddenproof + + + proof + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + div + + + + + ptx-footnote__contents + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + div + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    + + + + + + + false + + + + + article + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + +
    +
    + +
    + + + + + + + +
    +
    + + + +
    +
    +
    +
    + + + + + + + false + + + + + article + + + + + bib + + + + + + + + + + + + + + + + + +
    + + + + [ + + ] + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + true + + + + + div + + + + + + solution-like + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + div + + + + + + fragment + + + + + + + + + + + + + + + + + + + Root of file: + +
    +
    +
    + + + + + + + + + + + + + +
    +        
    +    
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + knowl__content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + para + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    + + para + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + para + + intertext + + + +
    +
    +
    + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    + + + + + +
    +
    + + + + + + + + + + + + + + + article + + + + + li + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + p-derived- + + + + + + + +
    +
    +
    + + + + +
    +
    +
    +
    + + + + + + + + + +
    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \( + + \) + + + + + + + + + + + + + + + +
    + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \tag{ + + } + + + + \tag{ + + } + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + decimal + decimal + lower-alpha + upper-alpha + lower-roman + upper-roman + + PTX:BUG: bad ordered list label format code in HTML conversion + + + + + + + + + + disc + circle + square + no-marker + + PTX:BUG: bad unordered list label format code in HTML conversion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + lower-alpha-level-1 + + + + + + + + + + + + ol-marker- + + + + + + + + + ol. + + > li::marker { content: " + + "counter(list-item, + + )" + + "; } + + + + + + + + + + + + + + + + + + + + +
    + + + + description-list narrow + + + description-list wide + + + + description-list + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + +
    + + width: + + %; + margin-left: + + %; + margin-right: + + %; + + +
    +
    + + +
    +        
    +    
    +
    + + + + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .svg + + + + + + + + + + + + + + + + + contained + + + + + + + + + + + + + + described in detail following the image + + + + + + + + + transform: rotate( + + deg) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + latex-image/ + + + prefigure/ + + + + + + + + + + + + + + + + + + + + + + +
    + + + -diagcess.svg + + + + -annotations.xml + +
    + + + + + + + + + + +
    + + +
    + + + + + + +
    + + + + + + + sageplot/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + asymptote/ + + + + + + + + + + + asymptote/ + + + .html + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: the Asymptote diagram produced in "" needs to be available relative to the primary source file, or if available it is perhaps ill-formed and its width cannot be determined (which you might report as a bug). We might be able to proceed as if the diagram is square, but results can be unpredictable. + + 400 + + + + + + + + + + + + + + + + + + + + PTX:ERROR: the Asymptote diagram produced in "" needs to be available relative to the primary source file, or if available it is perhaps ill-formed and its height cannot be determined (which you might report as a bug). We might be able to proceed as if the diagram is square, but results can be unpredictable. + + 400 + + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + img + + + contained + + + + + + + + + + + + + + described in detail following the image + + + + + + + + + + + + + + + + + + + + latex-image/ + + + prefigure/ + + + + + .svg + + + + + + + + + + + + + + + + + 0 0 + + + + + + + + + img + + + contained + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + +
    + + + + + +
    + + + + +
    +
    +
    +
    + + + + + -description + + + + + +
    + Diagram Exploration Keyboard Controls +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyAction
    Enter, AActivate keyboard driven exploration
    BActivate menu driven exploration
    EscapeLeave exploration mode
    Cursor downExplore next lower level
    Cursor upExplore next upper level
    Cursor rightExplore next element on level
    Cursor leftExplore previous element on level
    XToggle expert mode
    WExtra details if available
    SpaceRepeat speech
    MActivate step magnification
    CommaActivate direct magnification
    NDeactivate magnification
    ZToggle subtitles
    CCycle contrast settings
    TMonochrome colours
    LToggle language (if available)
    KKill current sound
    YStop sound output
    OStart and stop sonification
    PRepeat sonification output
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image-archive + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sbsgroup + + + + + + + + + + + + + + + + % + + + + + + + + + + + + + + + + + + + sbspanel + + fixed-width + + + + + + sbspanel--top top + + + sbspanel--middle middle + + + sbspanel--bottom bottom + + + + + + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + border: 2px solid black; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sidebyside + + + + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + border: 2px solid purple; + + + + + + + + + sbsrow + + + + margin-left: + + ; + margin-right: + + ; + grid-template-columns: + + ; + column-gap: + + ; + + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + border: 2px solid green; + background: LightGray; + background-clip: content-box; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + width: + + %; + + + padding-top: + + %; + + margin-left: + + %; + margin-right: + + %; + + + + + + + + + + + + + + + +
    + + + + + +
    + + + + + + + + + + + + + +
    + + width: + + %; + margin-left: + + %; + margin-right: + + %; + + +
    + + + + + +
    + + + + + + + + + +
    Reloading this page will reset a start location
    +
    + + + + audio-box + + + video-box + + + + + width: + 100%; + + + + + + + + + + + + padding-top: + + %; + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + <!-- Leading with initials is useful for small tabs --> + <xsl:if test="$docinfo/initialism"> + <xsl:apply-templates select="$docinfo/initialism" /> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:apply-templates select="." mode="title-plain" /> + + + + + + + + + + + + + + + + + + + pretext book + pretext article + + + ignore-math + standalone-page + + + + + +
    +
    + +
    +

    + + + + + + + + + + + + + + + + + +

    + + + + +
    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%2014%2096%2068%22%20style%3D%22cursor%3Apointer%3B%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23e62117%22%20d%3D%22M94.98%2C28.84c0%2C0-0.94-6.6-3.81-9.5c-3.64-3.81-7.72-3.83-9.59-4.05c-13.4-0.97-33.52-0.85-33.52-0.85s-20.12-0.12-33.52%2C0.85c-1.87%2C0.22-5.95%2C0.24-9.59%2C4.05c-2.87%2C2.9-3.81%2C9.5-3.81%2C9.5S0.18%2C36.58%2C0%2C44.33v7.26c0.18%2C7.75%2C1.14%2C15.49%2C1.14%2C15.49s0.93%2C6.6%2C3.81%2C9.5c3.64%2C3.81%2C8.43%2C3.69%2C10.56%2C4.09c7.53%2C0.72%2C31.7%2C0.89%2C32.54%2C0.9c0.01%2C0%2C20.14%2C0.03%2C33.54-0.94c1.87-0.22%2C5.95-0.24%2C9.59-4.05c2.87-2.9%2C3.81-9.5%2C3.81-9.5s0.96-7.75%2C1.02-15.49v-7.26C95.94%2C36.58%2C94.98%2C28.84%2C94.98%2C28.84z%20M38.28%2C61.41v-27l25.74%2C13.5L38.28%2C61.41z%22%2F%3E%3C%2Fsvg%3E + + + + + + + + + + + + + + + background-image:url('data:image/svg+xml;charset=utf-8, + + + + + '); + background-position:center top;background-repeat:repeat-y; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + audio + + + + + + + + + + + + + + + + + + + + + + + + + + + .ogg + + + + + audio/ogg + + + + + + + + + + .mp3 + + + + + audio/mp3 + + + + + + + + + + .wav + + + + + audio/wav + + + + + Your browser does not support the <audio> tag. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + video + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .ogv + + + + + video/ogg + + + + + + + + + + .webm + + + + + video/webm + + + + + + + + + + .mp4 + + + + + video/mp4 + + + + + + + + + + + + + + .ogg + + + + + video/ogg + + + + + Your browser does not support the <video> tag. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #t= + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + true + + + + + + + + + + + + + +
    + + + + + + Video cover image + + + + + + + + +
    +
    + + + +
    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + https://www.youtube-nocookie.com/embed + + + https://www.youtube.com/embed + + + + + + ?listType=playlist&list= + + + + + + ?playlist= + + + + + / + + ? + + + + &modestbranding=1 + + &rel=0 + + + &start= + + + + &end= + + + + + &autoplay=1 + + + + + + + + + + https://player.vimeo.com/video/ + + ?color=ffffff + + + + &autoplay=1 + + + + + + + + + + 0 + + + + autoplay; + + fullscreen + + + + + + + + + + + + + + + 100% + + + 500 + + + + + + + https://musescore.com/user/ + + /scores/ + + /embed + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + + +
    + + width: + + %; + margin-left: + + %; + margin-right: + + %; + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + header-horizontal + + + header-vertical + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + th + + + th + + + th + + + + + td + + + + + + + + + + + + + + + + + + col + + + row + + + + + + + + + + j + + + + + + + + + + + + + + b + + + + + r + + + + + l + + + + + t + + + + + + lines + + + + + + + + + + max-width: + + + + + + + + + px; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + xref + + + + + + + + + + + + + + + + + + + + + + + + + + internal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \knowl{ + + + + + + \href{ + + + + }{ + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + © + + + + + + + + + + + + 🄯 + + + + + + + + + ® + + + + + + + + + + + + + + + ° + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \# + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + -character blank + + + width: + + em; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mailto: + + + + + + + + + + + + + + + + + + + + + + + clipboardable + + + + + + + + + + + + + + + + + + + + + + code-display tex2jax_ignore + + + + + + + + + + + + + + + + + + + + + code-display tex2jax_ignore + + + + + + + + + + + + + + + + + + + +
    +        
    +            code-block tex2jax_ignore
    +            
    +        
    +        
    +    
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + · + + + + + + + + + + + + + + + + + + + + + + + + § + + + + + + + + + + + + + + + + times-sign + + × + + + + + + + + + + + + + ÷ + + + + + + ± + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: the symbol name is not a known symbol. It will not render correctly. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fas + + + + fab + + + + + fa- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 𝄪 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 𝄫 + + + + + + + + ø + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ptx-sagecell + + + + + + + + + text/x-sage + + + + + + + + + + + +
    +        
    +            
    +            
    +            ptx-sagecell sage-display
    +        
    +        
    +    
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + width: + + %; + margin-left: + + %; + margin-right: + + %; + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + code-inline tex2jax_ignore + + + language- + + + + + language-none + + + + + + + + + + + + + + + + + + +
    +            
    +            
    +                program
    +                
    +                
    +                
    +                     line-numbers
    +                
    +            
    +            
    +            
    +                
    +                    
    +                    
    +                
    +            
    +            
    +                
    +                
    +                
    +                
    +                    
    +                        
    +                    
    +                
    +                
    +                
    +                
    +                    
    +                        
    +                            language-
    +                            
    +                        
    +                        
    +                        
    +                            language-none
    +                        
    +                    
    +                
    +                
    +                
    +                
    +                    
    +                        
    +                    
    +                    
    +                    
    +                        
    +                    
    +                
    +                
    +                
    +                    
    +                
    +            
    +        
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +        
    +            console
    +            
    +        
    +        
    +    
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + +
    +
    +
    + + + + + +
    + + + + +
    +
    + + + + + + +
    +
    + + + + +
    +
    +
    + + +
    + +
    + + + + +
    + + + + + + + + + + + + + +
    +
    +
    +
    + + + + +
    + + + +
    +
    +
    + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + https://c3d.libretexts.org/CalcPlot3D/index.html + + + https://c3d.libretexts.org/CalcPlot3D/dynamicFigureWCP/index.html + + + https://c3d.libretexts.org/CalcPlot3D/dynamicFigure/index.html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + described in detail following the image + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + aspect-ratio: + + ; + + + + +
    +
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://d3js.org/d3.v + + + + + + + 5 + + + .min.js + + + + + + + + + + + + + + + + latest + + + + + https://cdn.jsdelivr.net/npm/@doenet/standalone@ + + /style.css + + + https://cdn.jsdelivr.net/npm/@doenet/standalone@ + + /doenet-standalone.js + + + + + + + + + + + + + + + + + + + + +
    + + + + + + aspect-ratio: + + ; + + +
    +
    + + +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + jxgbox process-math + + +
    +
    + + + + + + + +
    +      
    +    
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ggb_ + + + + + + _params + + + + + _onload + + + + + + _applet + + + + + -container + + + + +
    + +
    + +
    +
    +
    + + + + + + + + + + + + + + + + jxgbox + + + + + + + + + text/jessiecode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/javascript + + function parseJessie(code) { + let board = JXG.JSXGraph.initBoard(' + + ', { + + boundingbox:[ + + ], + + + axis: + + , + + + grid: + + , + + keepaspectratio:true}); + board.jc = new JXG.JessieCode(); + board.jc.use(board); + board.suspendUpdate(); + board.jc.parse(code); + board.unsuspendUpdate(); + } + fetch(' + + + + ').then(function(response) { response.text().then( function(text) { parseJessie(text); }); }); + + + + + + +
    + + + + true + + +
    +

    +

    Waiting on the page to load...

    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + max-width: + + ; + width: 100%; + aspect-ratio: + + + + + + + + + + + + + + + + + + + + + + + + + + px + + + + + + + + + + + + max-width: + + ; + width: 100%; + aspect-ratio: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + max-width: + + px; + + width: 100%; + aspect-ratio: + + ; + + + + + + + + + aspect-ratio: + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + width: + + px; + height: + + px; + display: block; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jxgbox + + + width: + + px; height: + + px; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -ww-rs + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ****************************************** + * Authored with PreTeXt * + * pretextbook.org * + * Theme: + * Palette: + ****************************************** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:choose> + <xsl:when test="$title != ''"> + <xsl:value-of select="$title"/> + </xsl:when> + <xsl:otherwise> + <!-- Leading with initials is useful for small tabs --> + <xsl:if test="$docinfo/initialism"> + <xsl:apply-templates select="$docinfo/initialism" /> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:apply-templates select="." mode="title-plain" /> + </xsl:otherwise> + </xsl:choose> + + + + + + + + + + + + + + + + + + docHasLoaded() + + + + + + + + + + + pretext book + pretext article + + + + ignore-math + + + + + +
    +
    + +
    +

    + + + + + + + + + + + + + + + + + +

    + + + + +
    +
    +
    + + +
    + + +
    + + + + + +
    + + + + + + + + +
    + + + +
    +
    + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + .html + + + + + + + + + + <xsl:apply-templates select="." mode="title-plain" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + Authored in PreTeXt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + book + + + article + + + + + + + + + + + + + + + + + + + + + + + + + + Document Logo + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + summary_large_image + + + summary + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + assistive + + + #ptx-content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: descending into first node of an intermediate page () that is non-structural; maybe your source has incorrect structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PTX:ERROR: descending into last node of an intermediate page () that is non-structural + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + previous-button button + + + + + + + + + + + + + + + + + + + + + previous-button button disabled + + + + + + + + + + + + + + + + + + + + + index-button button + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + A + B + C + D + E + F + G + H + I + J + K + L + M +
    + N + O + P + Q + R + S + T + U + V + W + X + Y + Z +
    +
    +
    + + + + + + + + + + + + + + + + next-button button + + + + + + + + + + + + + + + + + + + + + next-button button disabled + + + + + + + + + + + + + + + + + + + + + + up-button button + + + + + + + + + + + + + + + + + + + + + up-button button disabled + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    + +

    + +
    +
    + + +
    +
    + + +
    + +
    + + + + + + + + +
    +
    +
    + + + + + + +
    +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    Copy the code below to embed this page in your own website or LMS page.

    + +
    +
    + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + +
    + + + +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    + +
    + + +
    +
    + +
    + + +
    +
    +
    +
    +
    + + + + + + +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + + + + + + + + + +
      + +
    +
    + + + +
  • + + + + +
      + + + ptx-toc-group- + + + + + + + + structural toc-item-list + + +
    +
    +
  • +
    + + + + + + + + + + + + + + + + + + toc-item + toc- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + contains-active + + + active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + Main Matter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + <xsl:apply-templates select="." mode="title-short"/> + + + + + + + + + + + + + _static/ + + lunr-pretext-search-index.js + + + + + + + + + + + + + + + + + + + + + + + + + var ptx_lunr_search_style = " + + "; + + + + + var ptx_lunr_docs = [ + + + + ] + + + var ptx_lunr_idx = lunr(function () { + this.ref('id') + this.field('title') + this.field('body') + this.metadataWhitelist = ['position'] + + ptx_lunr_docs.forEach(function (doc) { + this.add(doc) + }, this) + }) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + + "id": " + + + + + + ", + + "level": " + + ", + + "url": " + + + + + + ", + + "type": " + + + + + + + (with a defined term) + + ", + + "number": " + + + + + + ", + + "title": " + + + + + + + + + + + + ", + + "body": " + + + + + + + + + + + + + + + + + + " + + }, + + + + + + + + + + + + + + + + + + + latex + + + tex + + + copyright + + + copyleft + + + + + + + + + < + + + / + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% if show_ethical_ad %} +
    +
    +
    + {% endif %} + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + // Make *any* div with class ' + + + + + ' an executable Sage cell + // Their results will be linked, only within language type + sagecell.makeSagecell( + + + + + div. + + + + + + true + + linked- + + + + + + + + + + + + + + + ( + + ) + + + + evalButton + + + + + + ); + + + + + + + // Make *any* div with class 'sage-display' a visible, uneditable Sage cell + sagecell.makeSagecell( + + + + div.sage-display + codemirror-readonly + + evalButton + editorToggle + language + + + + + ); + + + + + + + + // Make *any* div with class 'sagecell-practice' an executable Sage cell + // Their results will be linked, only within language type + sagecell.makeSagecell( + + + + div.sagecell-practice + true + + + + + + + sagecell.allLanguages + + + + ); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sage + + + Sage + + + + + + + sage + + + Sage + + + + + + + gap + + + GAP + + + + + + + gap + + + GAP + + + + + + + gp + + + GP + + + + + + + gp + + + GP + + + + + + + html + + + HTML + + + + + + + html + + + HTML + + + + + + + macaulay2 + + + Macaulay2 + + + + + + + macaulay2 + + + Macaulay2 + + + + + + + maxima + + + Maxima + + + + + + + maxima + + + Maxima + + + + + + + octave + + + Octave + + + + + + + octave + + + Octave + + + + + + + python + + + Python + + + + + + + python + + + Python + + + + + + + r + + + R + + + + + + + r + + + R + + + + + + + singular + + + Singular + + + + + + + singular + + + Singular + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +