Open vsht opened 4 years ago
Similarly to linked answer, workaround for this problem is to replace internal function, used by CellsToTeX
to convert TemplateBox
es, with builtin one:
CellsToTeX`Internal`templateBoxDisplayBoxes = BoxForm`TemplateBoxToDisplayBoxes;
I guess I was not aware of existence of BoxForm`TemplateBoxToDisplayBoxes
function, when I started this package, so I created my own imperfect version.
Great, many thanks for this fix. I really appreciate all your work on this package. Over the years it saved me a lot time in getting MMa output into LaTeX.
BTW, what would be the preferred way to cite CellsToTeX in a publication? Is there perhaps a Zenodo-DOI ? https://guides.github.com/activities/citable-code/
It appears that a
TemplateBox
containing a "RowDefault" tag cannot be processed properly. Cf. e.g. this typesetting code from https://mathematica.stackexchange.com/questions/174627/writing-partial-differentiation-in-a-subscript/174630#174630When trying to apply
CellToTeX
toas in
the function fails.
According to
https://mathematica.stackexchange.com/questions/55363/incompatibility-of-row-and-texform/182382#182382
"RowDefault" was introduced in Mma 9. Indeed I can workaround the issue if I generate my cells in Mma 8, where no such tags arise.