coqdocjs
coqdocjs copied to clipboard
Upstreaming improvements?
Hi all,
we recently added a few improvements to the vendored version of CoqdocJS included in PROSA.
- Updates to the style sheet, in particular to use Inconsolata as the font for code.
- Ability to do unicode replacement for things that coqdoc emits non-atomically.
- Replacement of common MatchComp syntax (boolean operators like
&&, bigop like\sum,\in, etc.). This depends on (2). - Consider variables in binders for unicode replacement.
- Use unicode italics for single-letter variables (e.g.,
i➔ 𝘪). - Extended subscript detection.
- Allow for
(**comments in folded proofs. - Include the web fonts in the repo, to avoid leaking IP addresses of visitors to Google (we're forced to do this for GDPR compliance).
You can see examples of all this in action in the PROSA spec:
If there is interest in any of this, I would be happy to submit PRs to upstream the changes. Please let me know if you would consider merging this.