fea (crossref): add axiom and assumption theorem types, fix algorithm style - #14800
Open
luifrancgom wants to merge 5 commits into
Open
fea (crossref): add axiom and assumption theorem types, fix algorithm style#14800luifrancgom wants to merge 5 commits into
luifrancgom wants to merge 5 commits into
Conversation
… style - Add axm (Axiom) and asm (Assumption) to theorem_types table in theorem. lua - Set alg (Algorithm) style to definition - Add axm and asm Typst colors (orange and fuchsia) - Register constants and wire title-to-prefix inheritance for alg, axm, and asm - Add English and Spanish language defaults
…ypes - Add crossref-*-title and crossref-*-prefix to format-language schema - Add title, prefix, and labels options to document-crossref schema - Rebuild schema artifacts and TypeScript types via build-artifacts
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
Author
|
The existing smoke test in Since this PR wires title-to-prefix inheritance so that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
According to the AMS documentation Using the
amsthmPackageaxiomandassumptionare standard mathematical environments used in mathematics (e.g. Zermelo-Frankel axioms in set theory) and statistics (e.g Gauss-Markov assumptions of linear regression model)This PR adds native cross-referencing for
axiomandassumption, fixesalgorithmtypography and wires full localisation.Related issues
Documentation PR in
quarto-webSummary of changes
axm(Axiom) andasm(Assumption) totheorem_typestable intheorem.luaalg(Algorithm) style todefinitionand mapped colors (orange,fuchsia) foraxmandasm*-title,*-prefixand*-labelsoptions todefinitions.ymlanddocument-crossref.ymlbuild-artifactstheorem-types.qmdand assertions inthereoms.test.tsTesting and verification
smoke/crossref/thereoms.test.tspassed locallydocs/smoke-all/typst/theorem/*.qmdpassed locally across all appereancesodt), Word (docx), EPub (epub)lang:es(Axioma,Supuesto,Algoritmo)Example 1
Example 2
Checklist
I have (if applicable):
AI-assisted PR
quarto-cliquarto-cli(navigating Lua custom AST filters, TypeScript parameter passing, YAML schema validation and test runners) to identify and correctly update the relevant files.