Skip to content

Package causets (TikZ based) #2470

Open
@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 feature on arXiv to convert papers to HTML using LaTeXML when using the causets package. As instructed in the Wiki, I have tested it with the option --includestyles on my end but I encountered errors, which I could only partially resolve.

The package version v1.5 (in development) is available at the repository https://github.com/c-minz/LaTeX-causets. It includes:

  • a new version of the style file causets.sty that solves some issues with LaTeXML, and a new keyword attribute alt={...} to provide an alternative text for HTML (which is not yet supported by the base package tikz to my knowledge)
  • a new file test_causets.tex to test main features of the package
  • its pdflatex compiled output as test_causets.pdf and
  • its latexmlc compiled output as test_causets.html currently with errors
  • the issue tracker Compatibility with ArXiv c-minz/LaTeX-causets#3 for the LaTeX package

Any of the main macros of the package sets up a number of nodes called (E#) where # is a dynamically assigned integer. Since these shape names are dynamically composed (in line 336 \node[causets/.cd, #1] (E\causet@E@i) of causets.sty), LaTeXML seems to have trouble to pick up these names and thus causes a sequence of errors. My log file is below.

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 v1.5.1. Let me know if there are changes to be implemented.

test_causets.latexml.log

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions