Skip to content

Package causets (TikZ based) #2470

@c-minz

Description

@c-minz

Thanks for the nice work.
I'm the maintainer of the LaTeX package causets, which is based on TikZ. I have been asked for support with the experimental arXiv feature that converts submissions to HTML using LaTeXML (issue tracker: c-minz/LaTeX-causets#3). While I had encountered errors in version 0.8.6, these are now resolved in LaTeXML version 0.8.8.
Here is an update.

Log files of test runs

The following logs are from test runs of the file test_causets.tex with latexmlc --dest=test_causets.html --includestyles test_causets.tex:

In LaTeXML v0.8.6: test_causets.latexml.log --- previous run with errors

In LaTeXML v0.8.8: test_causets.latexml.log --- updated run without errors

The PDF and HTML files (for the last run) are included in the package repo.

Remaining minor issues

The alt-text for diagrams

The latest package version v1.5 of causets has a new key-value alt={description} which stores a "description" of a diagram in the macro \causetAltText. The key (and the value stored in the macro) is for future support of alternative text with LaTeXML. To my knowledge, this key-value is currently not implemented in TikZ either.
The package version v1.5 has been released (and is available on CTAN) so that package users may already start utilizing the alt keyword. If the package needs to be updated to work with LaTeXML, then I will release a patch or new version. Let me know if there are changes to be implemented.

Baseline adjustment

The diagrams are rendered sufficiently well in HTML, but their alignment within inline text and mathematical expressions is not perfect. This seems to be solved (at least partially) with the TikZ baseline bugfix.

Spacing in mathematical expressions

When diagrams are used in mathematical expression (see example 5 in the test file), the generated figures are not treated as symbols --- i.e. the leading and trailing whitespace may have to be adjusted. Since this should also affect other TikZ-based packages (and TikZ in general), I could open a new issue for that.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions