Skip to content

Spanish chemistry readings from school material and the ONCE braille chemistry code - #972

Open
pablgonz wants to merge 1 commit into
daisy:mainfrom
pablgonz:es-chemistry
Open

pablgonz wants to merge 1 commit into
daisy:mainfrom
pablgonz:es-chemistry

Conversation

@pablgonz

@pablgonz pablgonz commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Readings inside chemical formulas follow Spanish school material (SEP México, EcuRed) and the ONCE braille chemistry code (B 6-1, Signografía braille para química lineal). Only Spanish files are touched.

input before after
2H₂ + O₂ → 2H₂O reacciona para formar (Terse: forma) produce (Terse: da)
CO₂↑ flecha arriba desprendimiento gaseoso
CaCO₃↓ flecha abajo precipitado
CaCO₃ →(Δ) CaO + CO₂ reacciona para formar con delta encima produce con calor
N₂ + 3H₂ ⇄ 2NH₃ flecha hacia la derecha por encima de flecha hacia la izquierda está en equilibrio con
CH₂=CH₂ doble enlace enlace doble
Na₂SO₄·5H₂O por punto
  • The changes apply only inside chemistry (MathCAT already marks these operators as chemical); outside it ↑ is still "flecha arriba" and · is still "por".
  • Also fixes ⧸ (U+29F8), which was translated as "sólido grande" instead of "barra oblicua grande".
  • Tests: updated expectations in tests/Languages/es/chemistry.rs and a new test for these cases. cargo test passes.

The state "(ac)" (Spanish for aqueous) needs a change in src/chemistry.rs; see #971 .

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Linux library size: 0.59 MiB (0.00%)
Revision Release liblibmathcat.so
Base (598020b) 0.59 MiB (618,920 bytes)
PR (f2a5b83) 0.59 MiB (618,920 bytes)
Change 0 bytes (0.00%)

Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant