Questions tagged [conversion]

Questions on changing Mathematica expressions of one type or format to another, for example date formats, Boxes and other typesetting representations, or different units of measurements.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
260 views

Wolfram Data Framework specification?

Motivated by a recent question on the meaning of all sorts of W* acronyms, I would like to get more information about the Wolfram Data Framework (WDF). On its web page http://www.wolfram.com/data-...
8
votes
0answers
217 views

TeXToBoxes and BoxesToTeX BoxRules options

A recent question has gotten me to look more into the tex conversion rules. Consider the following latex string: ...
4
votes
0answers
60 views

Is it possible to access FrontEnd's own conversion rules for boxes?

Before sending its output to the FrontEnd the Kernel converts it into boxes by applying MakeBoxes. But it is not the whole story. FrontEnd not just displays the box ...
4
votes
0answers
139 views

Boxes in EPS output after PDF -> EPS conversion in Mathematica 11

When I used Mathematica 9, I used to Export to .eps using a .pdf Export, followed by import like the following: ...
3
votes
0answers
106 views

Notebook (.nb) → Jupyter (.ipynb) conversion without Mathematica?

Is there a way to convert Mathematica Notebook files (.nb) to Jupyter files (.ipynb) without using Mathematica?Is there a free online utility or other piece of software that can do this?
3
votes
0answers
38 views

Efficient conversion of a ByteArray object into a hexadecimal string

What is the best way to convert ByteArray objects into hexadecimal string representation? Although the following works, I find it questionably awkward (and likely ...
3
votes
0answers
393 views

Export Mathematica to $\LaTeX$ properly

I am simply trying to convert an existing sample in Mathematica to $\LaTeX$. For example, if I open a new Mathematica notebook using styled templates such as Journal article and save it as $\TeX$. ...
2
votes
0answers
24 views

Caching / extracting SemanticImport* settings. SemanticImportFunction?

Using an example from my recent answer: ...
2
votes
0answers
59 views

Is there a substitute for the “Show” function to use within the Mathematica kernel?

I needed to implement a function to convert an object from Graphics3D to Image3D, basically a 3D version of rasterisation (I need the geometry in a discretised form). I used the method suggested by R....
2
votes
0answers
386 views

Read in Bézier curve from SVG file

I am trying to do some calculation of some SVG file. After reading in with Import["filename", "XML"] and some easy operation, I can get the string of the Bézier ...
2
votes
0answers
83 views

Will aliasing the Quantity and UnitConvert functions to “in” and “to” create problems?

It seems that there is a lot of interest in enhancing the use of units in Mathematica; various solutions in the name of brevity, correctness, and general utility have been demonstrated. I've begun ...
1
vote
1answer
97 views

ToExpression interpreting typeset strings

Restatement of question, including code. ...
1
vote
0answers
55 views

How to convert `LogTicks[0, 2][[1, 2]]` to a regular number

I want to convert the $10^i$ tick labels generated by LogTicks of the CustomTicks package to regular numbers. The first tick ...
0
votes
0answers
22 views

Export HTML + MathML is skipping some math. Why? How to fix?

Using Mathematica's HTML export feature with MathML often skips some expressions, instead rendering them as plain HTML instead of MathML. Probably, in the options there is a way to force it, but how? ...
0
votes
0answers
32 views

Programmatically get InputText of box structure without spaces

I am looking for a way to get something similar to the "Input Text" form of an arbitrary box structure, but without the extra whitespaces. Before I explain the requirements in a bit more detail, let'...
0
votes
0answers
69 views

A way to calculate colour from wavelength?

I'm trying to create a script taking my experimental values of measured radiance and turn it into xyz and rgb colour values. I import table with colour matching functions from here -http://cvrl.ucl.ac....
0
votes
0answers
246 views

Convert Mathematica Code to R Code

I would like to convert Mathematica code to R code. For example, 4/(-1 + δ) + (-1 + δ) Subscript[P, R] The above is a copy version from Matematica. But I would ...
0
votes
0answers
64 views

Combine multiple ParametricPlot3D to export to stl file (w/o using Show[])

I have multiple ParametricPlot3D functions, that I am visualizing together using the Show[] operator. However, I cannot export this as an stl file Some of my functions: ...
0
votes
0answers
66 views

PARI to Mathematica conversion

I need to use the coefficients T(n,k) in my algorithm and I found a program in PARI Can anybody translate this code to mathematica? ...
0
votes
0answers
46 views

Possible bug of Exporting as HTMLFragment at Linux

This is the result of Mathematica 10.0.2 of Linux Version. There are two style inside one tag, and this fragment cannot be Imported as XML by Mathematica. This is the result of Mathematica 10.1 of ...
0
votes
0answers
44 views

Strange style conversion indicator appeared when type “a Pre”

I got the following strange style conversion indicator when I was typing a Pre(character a and ...