Skip to content

Commit 25fb554

Browse files
committed
Contents of "latex" field in preview function debugged
1 parent c52b6ae commit 25fb554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preview.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
]
3535
];
3636

37-
latexString = ToString[parsedResponse, TeXForm];
37+
latexString = ToString[ToExpression[ToString[parsedResponse],TraditionalForm]/.activeFunctionRules, TeXForm];
3838
wolframString = ToString[ToExpression[ToString[parsedResponse],TraditionalForm]/.activeFunctionRules];
3939

4040
<|

0 commit comments

Comments
 (0)