LaTeXML
LaTeXML copied to clipboard
LaTeXML: a TeX and LaTeX to XML/HTML/ePub/MathML translator.
This was quite difficult to pin down. Emitting a box apparently inherits the surrounding colour, overriding whatever happens in the box. ```latex \documentclass{article} \newbox\mybox \usepackage{xcolor} \begin{document} \color{black} \global\setbox\mybox=\vbox{The final word...
Example: ```latex \documentclass{article} \usepackage{keyval} \makeatletter \define@key{createvalue}{empty}{\def\myempty{#1}} \setkeys{createvalue}{empty={}} \begin{document} \ifx\myempty\@empty Empty.\else Not empty.\fi \end{document} ``` LaTeX returns 'Empty', LaTeXML gives 'Not empty'.
Beamer color names include spaces and periods (e.g. `alerted text.fg`). This won't be accepted by the xcolor binding because the regex is too restrictive: https://github.com/brucemiller/LaTeXML/blob/13018504e00ba934bc067357c372b72951227494/lib/LaTeXML/Package/xcolor.sty.ltxml#L263-L264
I'm assuming this is some texlive 2021 regression. ``` cd t/complex ; pdflatex si.tex ``` produces a number of "invalid number" errors, with my: ``` (/usr/local/texlive/2021/texmf-dist/tex/latex/siunitx/siunitx.sty Package: siunitx 2021-11-03 v3.0.35...
This is a feature request for support for the [aliascnt](https://www.ctan.org/pkg/aliascnt) package. My main use case for it is creating sibling theorems that work correctly with cleveref and hyperref's `\autoref`. Here's...
Splitting out the report in https://github.com/brucemiller/LaTeXML/issues/2441?notification_referrer_id=NT_kwDOAB3z6bMxMzU4MTA3MzA5MjoxOTYyOTg1#issuecomment-2508957714: if kpsewhich emits error messages for whichever reason, some tests fail because they expect output 'No obvious problem'. This may happen on Windows, where...
Recently I packaged a new texlive snapshot and noticed that the test "t/babel/page545" fails to run correctly: ``` # Failed test 't/babel/page545' # at /tmp/autopkgtest.ZoHYqs/build.Yxv/src/blib/lib/LaTeXML/Util/Test.pm line 120. Wide character in...
Minimal example: ```tex \documentclass[ aps, pra]{revtex4-2} \begin{document} Hello world. \end{document} ``` This leading `\par` in the options of `\documentclass` was the first encountered problem in a [recent arXiv report](https://github.com/arXiv/html_feedback/issues/2294), which...
The following code: ``` \documentclass{article} \usepackage{amsmath} \begin{document} System \eqref{eq:1} Equations \eqref{eq:1a} and \eqref{eq:1b} \begin{subequations} \label{eq:1} \begin{equation} \label{eq:1a} a = b +c \end{equation} \begin{equation} g = h + i \label{eq:1b} \end{equation}...