Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when a box has options #7

Closed
jkuczm opened this issue Jan 29, 2016 · 1 comment · Fixed by #8
Closed

Error when a box has options #7

jkuczm opened this issue Jan 29, 2016 · 1 comment · Fixed by #8
Labels
Milestone

Comments

@jkuczm
Copy link
Owner

jkuczm commented Jan 29, 2016

Bug reported by Matthew Galles.

When "formatting" boxes, like SuperscriptBox, have options, their conversion to TeX results in errors.

Minimal example is:

CellToTeX[SuperscriptBox["T", "1", MultilineFunction -> None], "Style" -> "Input"]
(* CellsToTeXException::unsupported: Box: MultilineFunction->None is not one of ...*)
(* Failure[...] *)
@jkuczm jkuczm added the bug label Jan 29, 2016
@jkuczm
Copy link
Owner Author

jkuczm commented Jan 29, 2016

Quick workaround is to remove options from affected boxes before conversion to TeX.
For example:

CellToTeX[something /. SuperscriptBox[x_, y_, ___] :> SuperscriptBox[x, y], ...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant