Questions on converting data, graphics, sound etc. from Mathematica into other file formats.

learn more… | top users | synonyms

40
votes
0answers
925 views

Numbered equations/formulas

How do you number equations in Mathematica notebooks so that they are exported correctly into latex? In case you don't know how to put numbered equations here is quick review. Open a new notebook ...
9
votes
0answers
192 views

Setting non-standard ImageResolution for EMF export as default

Mathematica has a bug in that BarCharts and ListPlots with Filling will export as a ...
7
votes
0answers
58 views

Is there a way to stop Export if the file size is too big?

I've got code that's exporting a file, but the file might be so big that it will take up too much space on the cluster I'm using and crash other users' processes. Is there anything like ...
7
votes
0answers
211 views

What are the known differences between Save and DumpSave, and how to account for them?

Edit: I changed the title and (slightly) the wording of this question in order to make it more easily answerable. If I evaluate this in Mathematica 9: ...
7
votes
0answers
372 views

How can I export aligned equations to $\LaTeX$?

Using Palettes -> Writing Assistant -> Math Cells, you can enter aligned equations such as: ...
5
votes
0answers
42 views

How to export a text into eps without splitting

I want to use MathPSFrag in Mathematica to export graphics to EPS for inclusion in LaTeX files. However, with recent versions of Mathematica this does not seem to work very well anymore. I have fixed ...
5
votes
0answers
123 views

How to fix a PDF line rendering problem in V9

If I run this in V8 ...
5
votes
0answers
291 views

Mathematica inserts extra \left and \right for absolute values in LaTeX output

Type the following in a Mathematica DisplayFormula cell(other styles may also encounter this problem): Esc+l+|+Esc and Esc+r+|+Esc, and save as LaTeX. Note: See the difference of the character ...
5
votes
0answers
153 views

Exporting large numbers in WDX format

I have a list of 10 000 3×3 matrices in Mathematica. The entries are rational numbers. I would like to write this to a file so I can load it again in the future. After some fussing with file formats, ...
5
votes
0answers
335 views

Export matrix to $\LaTeX$ with style

Is it possible to export a matrix to $\LaTeX$ with style? For example this code will create a matrix with equal spacing matrix and with background colors in some cell, is it possible to export that ...
5
votes
0answers
158 views

Can styles be exported in EPS as simple text tags for use by LaTeX's psfrag?

Is there a way to export graphics as EPS so that LaTeX can perform style substitutions or modifications on them? I know that it is possible to replace simple text elements in imported EPS files using ...
4
votes
0answers
55 views

Does PrivateFontOptions -> {“OperatorSubstitution” ->False} fail in version 10?

Please consider the following, version 10.0.1, OS X Mavericks: ...
4
votes
0answers
187 views

Strange behavior of undocumented RawArray and ArrayObject expressions

I discovered several strange results and inconsistencies while trying to understand what undocumented RawArray and ArrayObject ...
4
votes
0answers
95 views

How to export to .html .nb file together with links «in» and «out»

If use «File > Save As > HTML» lines «in» and «out» are lost To save a document without loss of these lines/links?
3
votes
0answers
73 views

How can I export graph as PDF with metadata such as Title and Author fields

I want to export a figure from Mathematica in PDF format. Moreover, I want to fill Author and Title fields of the PDF. For example, to fill Author field, I use the following code: ...
3
votes
0answers
100 views

Bug report: Attempting to Save Selection As… in a magnified Notebook fails with errors

I have found that attempting to Save Selection As... in a magnified Notebook fails with errors. On my system it can be easily reproduced by: opening any documentation page setting Notebook ...
3
votes
0answers
94 views

Problem importing individual frames from QuickTime file

I am having difficulties with a code I am trying to run. Essentially I want to Read in a large .mov video file (60000+frames). ...
3
votes
0answers
124 views

Problem with exporting a plot with a legend to PDF

I've found a simple example that illustrates my problem: ContourPlot[x^2 - 1 == y, {x, -1, 1}, {y, -1, 1}, PlotLegends -> "Expressions"] When I try to export ...
3
votes
0answers
261 views

How can I create jpeg images of a given file size?

Cross-posted at Wolfram Community I would like to have a function makeJPG[megabytes_] that generates random jpg images of given file sizes with itf filesize (in megabytes) watermarked on the image ...
3
votes
0answers
121 views

Exporting multiple arrays in a single HDF5 file in Mathematica 7

I am using Mathematica 7 and I need to export a table of data and the corresponding x and y arrays. I would like to format them ...
2
votes
0answers
49 views

Frame text is cropped while exporting as EPS

I have generated an eps file with using Export["filename.eps", figure, "eps"], but the text on the frame labels and tick numbers are cropped like this: Screenshot ...
2
votes
0answers
53 views

Exporting BSplineSurface to STL

I have encountered some difficulties getting BSplineSurface to export to STL. The following code works and generates a triangulated polygon mesh from the NURBS ...
2
votes
0answers
54 views

Export Notebook causes an INTERNAL SELF-TEST ERROR: Files2|c|1713 message

On my machine (Windows 8.1) and M10 the following two lines, that must be run on an already saved notebook, ...
2
votes
0answers
65 views

Antialiased text in manipulate constantly re-evaluated, ignores TrackedSymbols

I am trying to display antialiased text (using the ImportString[ExportString[]] method shown here) but inside a manipulate so that the text can be changed interactively. I have found a way to do this, ...
2
votes
0answers
65 views

Add content to an existing .zip file

I have been looking over the .zip documentation from Mathematica (http://reference.wolfram.com/mathematica/ref/format/ZIP.html). It seems pretty straighforward to export and import from/to a .zip ...
2
votes
0answers
33 views

The value of PageWidth doesn't work for saving as HTML?

CellPrint@Cell["Test","Text",PageWidth->300,Background->Red] And I got this snippet of HTML code: ...
2
votes
0answers
124 views

Tooltip in Listplot - Export to PDF

I would like to export a listplot as a PDF document without loosing the tooltip information on the single points. It kind of works with hyperlinks. Nevertheless this workaround is pretty limited and ...
2
votes
0answers
58 views

The “right” way to define a custom Encoding format?

I have implemented an Import|Export format for xz that behaves like gzip and other encoding formats: ...
2
votes
0answers
98 views

How do I incorporate metadata using Export?

I have Export["file.png",codeThatMakesAGraphicsObject[],"PNG"]; and want to embed some specific metadata information. Is there a simple way to do that? Note ...
2
votes
0answers
203 views

Exported PDF figure looks different in Apple's Preview than in Adobe PDF Reader

I'm trying to export figures into pdf, and the results looks good in Preview, but very bad in Adobe pdf reader. I'm using Mathematica version 8 on Mac 10.8.5. The Preview version is 6.0.1 (765.6) and ...
2
votes
0answers
159 views

Controlling page breaks

I'm writing a bunch of cells to a new notebook nb and am trying to control the pagebreaks. That is, I want a pagebreak after each Length[listOef] number of cells. ...
2
votes
0answers
107 views

How can I set id attribute of elements when I export an SVG file?

Suppose I have a Mathematica graphic such as g = Graphics[{Disk[{-1, 0}, 1/2], Rectangle[]}] I would like to be able to export this graphic from Mathematica ...
2
votes
0answers
172 views

Exporting Specific Cells of Many Workbooks into One using Mathematica

I currently have a large number of detailed files from which I would like to extract certain cells' information to make an Archive spreadsheet. There are approximately 9 parameters of each ...
2
votes
0answers
156 views

Exporting plots

I want to export a plot which includes curve fitted to a multiple data set. shortly ( I use autolegend function Here ) ...
2
votes
0answers
673 views

Automatically sending to Print (using CutePDF Writer)

I use CutePDF for creating PDF output, but this requires manually selecting Print (Ctrl+P), with CutePDF Writer as the printer, and pressing OK. Can this be automated?
2
votes
0answers
84 views

What exactly does AddTeX2Eps do and how does one use it?

What exactly is Janko Slavic's addon package AddTeX2Eps supposed to do, and exactly how does one get it to work? I do understand it's supposed to allow one to use TeX ...
1
vote
0answers
45 views

FITS metadata problem

Looks to me that the FITS Export is borged. Here is the problem: When I export out images with accustom metadata into a FITS file, Mathematica truncates and overwrites it. Here is the metadata I ...
1
vote
0answers
62 views

Bug? Side effects when exporting to .mx

I seem to have encountered a bug when exporting to .mx, at least on OS X. Can anyone reproduce this? I am on MMA 10, OS X 10.9.4. ...
1
vote
0answers
26 views

Is equation numbering in exported HTML considered deprecated for built in stylesheets?

So I've been tinkering around with the built in stylesheets and the Export command and I've noticed that in principle equation numbering should work. When you look ...
1
vote
0answers
51 views

Georeferenced bitmaps

The command Export["filename.jpg", graphic] will export the graphic object graphic to the file ...
1
vote
0answers
226 views

How to Export Data from Mathematica into Excel specific cell

for import,we can do like this Import["XXX.xlsx", {"Data",1,2,3}],Mathematica will get the cell {2,3} of the "sheet1" in "XXX.xlsx". But if we want to export data from Mathematica to one Excel ...
1
vote
0answers
93 views

Problem in exporting a plot with background to pdf

Just wondering if someone could help me for this problem. I have utilised prolog to use a jpg image as the background of my plot in order to compare my results with ...
1
vote
0answers
132 views

Exporting graphics to PDF results in destroyed fonts on Windows 8

Executing plot = Plot[x^2, {x, 0, 100}, PlotLabel -> "Plot"]; SetDirectory[NotebookDirectory[]]; Export["plot.pdf", plot, "PDF"]; results in Is this a bug? ...
1
vote
0answers
195 views

Script with command line argument

As a test I want a simple script to take a command line argument and print it to a file: ...
1
vote
0answers
129 views

problem with exporting transparent object to pdf in version 9

Here is the code: Export["~/Downloads/1234.pdf", Graphics3D[{Lighter[Black], Opacity[0.5], Polygon@Table[{Cos[x], Sin[x], 0}, {x, 0, 2 \[Pi], 0.01}]}]] in ...
1
vote
0answers
231 views

CharacterEncoding failed when Import or Export as pdf

folowing is the content my test nb File: pdfTest.nb, contain some chinese characters: SampleCode1:pdf输入不正常。 After Save as or Export, pdf file looks well for the ...
1
vote
0answers
132 views

Mathematica does not export Turkish characters in a Graphics expression

When I export the following Graphics expression as a PDF (or EPS) file, the Turkish characters ü and ç do not appear. ...
1
vote
0answers
86 views

Exporting CellFrameLabels to HTML

I have a notebook that has several cells with CellFrameLabels and I'd like to export the notebook to HTML. However, the CellFrameLabels are lost during export. Here's an example of what I'm working ...
0
votes
0answers
33 views

Apply StyleBox ConversionRule while using ExportString

The following: ...
0
votes
0answers
58 views

Export command in Mathematica trial version

Mathematica trial version does not support Export[] command. Is there a command equivalent to Export[] in order to export, say, ...