MathematicaCellsToTeX icon indicating copy to clipboard operation
MathematicaCellsToTeX copied to clipboard

Convert Mathematica cells to TeX, retaining formatting.

Results 4 MathematicaCellsToTeX issues
Sort by recently updated
recently updated
newest added

The following code cannot be processed by `CellToTeX` ``` CellToTeX[ Cell[BoxData[ FormBox[FractionBox["1", TemplateBox[{"\"(\"", SuperscriptBox[ FormBox[FormBox[StyleBox["k", Bold, StripOnInput -> False], TraditionalForm], TraditionalForm], 2], "\"-\"", RowBox[{"\[ImaginaryI]", " ", "\"\[Eta]\""}], "\")\""}, "Row", DisplayFunction...

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#174630 ``` Derivative /: MakeBoxes[ Derivative[n_Integer?NonNegative, m_Integer?NonNegative][f_], form_ ] := SubscriptBox[...

Neither loading nor using the package seems still to work in current versions of Mathematica. Tested under Windows 10 with Mathematica 13.0, see the image below for the errors that...

After performing an export. The Latex file doesn't wrap the lines, nor present some output correctly.