All Questions

Tagged with
Filter by
Sorted by
Tagged with
13
votes
1answer
186 views

Safe alternatives to ToExpression

Background Conversion from string/boxes to expression is quite common. Very often the goal would be a simple switch from "1" to ...
2
votes
1answer
104 views

ToExpression and RowBox — orderings

With: ToExpression[RowBox[{"c", ToBoxes[Plot[Sin[x], {x, -2, 2}]], "a"}]] I get the three elements of the array, but with "a" and then "c" at the beginning. I ...
11
votes
1answer
155 views

TextString evaluation leak

Bug introduced in 10.4 or earlier and persisting through 11.3 [...] I checked and reproduced your issue, and have passed along a report to our developers on the same [...] CASE:3972929 ...
4
votes
1answer
311 views

How to convert TeXForm to String via ToExpression without it being evaluated in between?

I looked at similar questions, but could not find an answer. I need to convert Latex that represent pure mathematical expressions generated by Maple to Mathematica. I do not want to actually use ...
20
votes
2answers
468 views

Understanding evaluation and typesetting

Background So, one could be surprised by the fact that: Hold @ Grid[{{1, 2}}] (*or*) Hold @ Graphics @ Disk[] This issue and methods of prevention are ...
3
votes
1answer
70 views

An issue regarding the use of CopyToClipboard with dynamic content

Please, consider the following code: ...
8
votes
3answers
260 views

Graphics in Notebook Different from Graphics Expression?

Consider the expression TreeForm[a+b^2+c^3+d] which displays as This is a nice Graphics object, as I can prove by typing ...
1
vote
2answers
1k views

Converting expression into string without evaluating it

How can one convert a Mathematica expression into a string without the expression being evaluated first? I tried using Hold, but it returns ...