Mathematica Export to PDF problem

  • Context: Mathematica 
  • Thread starter Thread starter amike1980
  • Start date Start date
  • Tags Tags
    Mathematica Pdf
Click For Summary

Discussion Overview

The discussion revolves around issues related to exporting documents and images to PDF format from Mathematica 7.0. Participants share their experiences and troubleshooting steps regarding character display problems and export failures, focusing on both theoretical and practical aspects of the software's functionality.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant reports issues with characters not displaying correctly in the exported PDF, despite appearing fine in the notebook.
  • Another suggests using a PDF printer instead of the "Save Selection As..." method for potentially better results.
  • A participant mentions that they previously used the Export function successfully but are currently unable to do so, raising a question about printing directly from a notebook.
  • There is a suggestion that the problem may relate to embedded fonts, with a reference to older versions of Mathematica not embedding fonts in PDFs.
  • One participant notes that changing regional settings has affected the display of certain characters but has not resolved the issue completely.
  • Another participant describes their inability to export to PDF or EPS formats while being able to export to JPG or PNG, speculating that using Mathematica over SSH might be a factor.

Areas of Agreement / Disagreement

Participants express a range of experiences with exporting to PDF, with no consensus on a single solution. Multiple competing views and unresolved issues remain regarding the best methods and potential fixes.

Contextual Notes

Some participants mention limitations related to operating systems (Windows vs. macOS) and the impact of regional settings on character display, indicating that solutions may depend on specific configurations.

amike1980
Messages
3
Reaction score
0
Hi guys,

I have a problem with exporting to PDF format from Mathematica 7.0.
As seen in the attachment PlotLabel is correctly displayed in the note book (test.nb), but when I try to export it, some characters just don't seem to be displayed correctly (plot.pdf).

I've tried the "Save Selection As..." -> PDF, function and get the same result as above.

I've tried to change the $CharacterEncoding variable with limited success, getting some of the letters to display correctly, but no all.

Here is where i ran out of ideas.
Does anybody have any thoughts?
 
Physics news on Phys.org
Hi amike1980,

I don't see any attached files...

In my experience, it's often hard to get what you want from "Save Selection As..." -> PDF. It's normally easier to print (the selection) to a PDF printer.

(The last time I used a windows computer, I used http://www.cutepdf.com/)
 
Hi,

I'm uploading attachments again, hope it works.

In the past I used Export function. And it worked fine, but I don't seem to be able to get it to work now. And I don't have the note book, where it worked any more...

thx for the suggestion I'll try it out.

Is it possible to print directly from a note book?
Since I'll need to export many plots for my Bachelor's degree.
 

Attachments

For exporting a figure, you probably do want to use Export rather just printing to a pdf. That said, both methods worked ok for me - but the pdf printed version had a capital instead of lowercase checked z. See attached.

It might be an embedded font issue... older versions of Mathematica did not embed fonts into pdfs, but I think that new versions do.

There's some discussion of similar problems at
http://pages.uoregon.edu/noeckel/MathematicaGraphics.html#MathematicaFonts
maybe something there will help.

If all else fails, you can always export high quality rasterized images...
 

Attachments

thx for the link, but it didn't work.
Well i was unable do apply one of the suggested fixes, because I using windows but the fix was for the mac OS.

However I found out that changing my regional settings, changes the number of correctly printed Hacke letters. But I could not get Mathematica to print all of them correctly.
Can you tell me your regional settings, so I can try it out?

If it will not work I'll use rasterezed images.
What raster size and format would you suggest?

thx
 
Hello, I am also having an export problem in Mathematica when trying to export pdf format. Namely, I can't get it to export pdf images at all!

Anything I try to export, such as the image:
sinplot=Plot[Sin[x],{x,0,1}]​
will export perfectly fine to .jpg or .png file types
Export["sinplot.jpg",sinplot]​
but does NOT produce anything if I try .eps or .pdf. I don't see any errors in Mathematica, it simply just doesn't create the file.
Export["sinplot.pdf",sinplot]​

I'm running Mathematica on an external computer through ssh, so maybe that has something to do with my problem. But I don't see why it can output one file type and not another.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
21K
  • · Replies 3 ·
Replies
3
Views
2K