Results 110 comments of Michal Hoftich

In the MathJax mode, all content of math environments is passed unexpanded to the HTML output, and it is left to MathJax to render it. So it is important that...

Your code works pretty well when I save it as `siunitx.4ht`: ``` \ExplSyntaxOn \AtBeginDocument{% \cs_gset_protected:Npn \__siunitx_print_math_auxii:n #1 { \tl_set:Nn \l__siunitx_print_tmp_tl {#1} \exp_args:NNnx \tl_replace_all:Nnn \l__siunitx_print_tmp_tl { ^ } { \token_to_str:N ^...

For example the `\ifdefined\fixmathjaxtoc` is true only in the MathJax mode. It is definitely best to do any fixes in `siunitx.4ht`. Note that it is executed before `\AtBeginDocument', it seems...

@rlkamalapurkar you can configure [MathJax in TeX4ht](https://www.kodymirus.cz/tex4ht-doc/Configurations.html#x8-770007.19.3), so you can try to integrate it with the [MathJax Siunitx package](https://github.com/burnpanck/MathJax-siunitx).

@josephwright I've come with this solution: ``` \ExplSyntaxOn \ifdefined\fixmathjaxtoc \AtBeginDocument{% \cs_gset_protected:Npn \__siunitx_print_math_auxii:n #1 { \tl_set:Nn \l__siunitx_print_tmp_tl {#1} \exp_args:NNnx \tl_replace_all:Nnn \l__siunitx_print_tmp_tl { ^ } { \token_to_str:N ^ } % escape special...

@josephwright I've already put the code from my [previous post](https://github.com/josephwright/siunitx/issues/530#issuecomment-899589934) to TeX4ht sources. Will it need a modification for the new Siunitx code?

Thanks. We need to escape `&`, `` because they would end directly in the HTML code otherwise. As they are special HTML characters, it would result in rendering errors. What...

Yes, tex4ht support generally breaks with every release, because it redefines lot of internal macros (of `biblatex` and of LaTeX itself). It got little bit messy because we need to...

For the HTML conversion with TeX4ht, I need to be able to detect features like colspan, rowspan, cell alignment, colors and borders. It seems that most of these information (except...

Thanks for the report. Debugging issues with Xr and Hyperref is quite tricky, so finding a solution can take some time. What is the reason to reference the current file...