Skip to content

Commit 916d39d

Browse files
committed
adding the CellsToTeX package, and a basic pytest
1 parent 4be98fc commit 916d39d

File tree

4 files changed

+4151
-1
lines changed

4 files changed

+4151
-1
lines changed

mathics/builtin/box/layout.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ def to_boxes(x, evaluation: Evaluation, options={}) -> BoxElementMixin:
5959
return x_boxed
6060
if isinstance(x_boxed, Atom):
6161
return to_boxes(x_boxed, evaluation, options)
62-
return to_boxes(Expression(SymbolFullForm, x), evaluation, options)
62+
63+
return RowBox(
64+
String("BoxError: <<"),
65+
to_boxes(Expression(SymbolFullForm, x), evaluation, options),
66+
String(">>"),
67+
)
6368

6469

6570
class BoxData(Builtin):

0 commit comments

Comments
 (0)