Skip to content

Conversation

@maranget
Copy link
Member

@maranget maranget commented Jan 9, 2026

Prerequsite : install hevea (hevea.inria.fr) preferably from sources.
Then run sh ./zyva.sh in asllib/doc, this will produce a html version of ASL reference in the sub-directory HTML.

This attempt is very preliminary

  1. Separation of latex and hevea configuration can be better. Using \usepackage with .sty and .hva versions would yield better control.
  2. They are many warnings to fix.
  3. Rendering of maths is bad.

Plus...

@maranget maranget force-pushed the doc-to-html branch 2 times, most recently from c382bd8 to f6c332c Compare January 16, 2026 15:38
maranget and others added 21 commits January 18, 2026 19:24
Prerequsite : install hevea (hevea.inria.fr) preferably from sources.

This attempt is very preliminary
  1. Separation of latex and hevea configuration can be better.
     Using \usepackage with .sty and .hva versions would
     yield better control.
  2. They are many warnings to fix.
  3. Rendering of maths is bad.

Plus...
We only run the first iteration of hevea,
using the new option `-fix0`.
Authored-by: Hrutvik Kanabar <[email protected]>
The local version typeset premises and conclusions in a
TR element with `middle` vertical-align property,
resulting in better rendering.
Prefixing the mathpartir "spacing" \\ and \\\\ commands
with \hva breaks the flow of premises, resulting in
narrower lines.
Replace some TeX code by more LaTeX-like source
for the sake or hevea compatibility.
Now, `sh zyva.sh fix` iterates hevea until fixpoint!
Avoid "A" elements with complex (_i.e._ table related) contents.
\overname calls \overbracked whose rendering as inline is not
achieveble simply. Replace by a combination of `text-decoration:overline`
and `vertical-align:1.5em`.
Normaly those underscores (inside a \label argument)
should not trigger a warning.
Fix hevea, remove those underscor as a workaround.
We render `\xrightarrow{lbl}` as `-(lbl)->`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants