Overview
@jaxzhou/dsh-mathmatic-symbol
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- **Text is outlines.** Labels are not selectable or searchable inside the image; that is the price of rendering without fonts. - **`math_convert` PNG input is pass-through.** Existing PNGs are not re-encoded, and JPEG/WebP/GIF dimensions are not parsed; file input accepts only `.svg` and `.png`. - **PNG needs the native binding.** Without a prebuilt `@resvg/resvg-js` for the platform, only SVG output is available. - **`aspect: "equal"` adjusts the view.** With both ranges given, the narrower axis is widened so the scale stays uniform, so axes may extend slightly past the ranges you asked for. Use `aspect: "stretch"` for a wide function plot. - **One figure per call.** No multi-panel/subplot syntax; draw several elements on one canvas or make several calls. - **No 3-D and no implicit curves.** Planar explicit functions, parametric curves and polar curves only. - **Default output directory is `math/`.** Point `path` elsewhere, or set `outputDir`, if you keep assets in a different tree. - **Documents are generated whole.** `math_document` writes a complete file and overwrites it on re-run; there is no incremental edit, and hand-edits to a generated document are lost if you regenerate it. Use it to produce final output, not to maintain a living document. - **Native math in HTML pulls a CDN script.** The MathJax bootstrap is a `<script>` from jsDelivr; use `mathjax: false` to supply your own, or `math: "image"` for a fully offline document. - **Inline math images in Markdown sit on the baseline.** Only HTML and LaTeX get explicit baseline correction (`vertical-align`, `\raisebox`); Markdown renderers decide image alignment themselves.
