Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package causets (TikZ based) #2470

Open
c-minz opened this issue Jan 1, 2025 · 0 comments
Open

Package causets (TikZ based) #2470

c-minz opened this issue Jan 1, 2025 · 0 comments

Comments

@c-minz
Copy link

c-minz commented Jan 1, 2025

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 version 1.5 of the causets package is left "in development" so that I can modify the package before sending it to CTAN again. Let me know if there is some part that I could implement in the package to resolve the conversion errors, or if I can add further support with the alt keyword feature.

test_causets.latexml.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants