Conversion Tools ⇒ ps2pdf: $\Delta$ not displaying correctly in pdf
ps2pdf: $\Delta$ not displaying correctly in pdf
Hi all,
I've tried all the tricks I could find in the web to solve this but nothing worked.
I've produced a postscript document and everything is fine. Now, if I convert it in pdf with ps2pdf, capital delta (code: $\Delta$) displays as a different (wrong) symbol in the pdf file. Only this symbol is wrong! The same happens, in the same file, to capital delta written in eps image produced with gnuplot (postscript terminal with enhanced text) and included in the same document.
If I do pdflatex on the tex code, instead, the final pdf document is produced correctly.
Is there a way to fix the ps2pdf issue? What is it due to?
Thanks in advance,
w.
PS: if it can be useful, I'm using texmaker version 3.0.2 and I've used, among the others:
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
I've tried all the tricks I could find in the web to solve this but nothing worked.
I've produced a postscript document and everything is fine. Now, if I convert it in pdf with ps2pdf, capital delta (code: $\Delta$) displays as a different (wrong) symbol in the pdf file. Only this symbol is wrong! The same happens, in the same file, to capital delta written in eps image produced with gnuplot (postscript terminal with enhanced text) and included in the same document.
If I do pdflatex on the tex code, instead, the final pdf document is produced correctly.
Is there a way to fix the ps2pdf issue? What is it due to?
Thanks in advance,
w.
PS: if it can be useful, I'm using texmaker version 3.0.2 and I've used, among the others:
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 126
- Joined: Sun Feb 13, 2011 8:36 pm
Re: ps2pdf: $\Delta$ not displaying correctly in pdf
Please make a minimal working example and give detailed information about the package and program versions you're using. This is no normal behavior.
Best
Best
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
ps2pdf: $\Delta$ not displaying correctly in pdf
Ok, I've found that. The problem is due to package mathptmx which is required for the paper I'm writing.
about its version, this lines appears in mathptmx.sty file:
I'm using:
pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010)
ps2pdf (or ghostscript) version should be 8.71
As I said pdflatex works smoothly on that code and latex -> dvips make a good .ps file as well. How can I make the ps2pdf conversion work as well?
Regards,
w.
Thanks for your reply!!
Code: Select all
\documentclass[a4paper]{book}
\usepackage{mathptmx}
\begin{document}
$\Delta$
\end{document}
Code: Select all
\ProvidesPackage{mathptmx}%
[2005/04/12 PSNFSS-v9.2a
Times w/ Math, improved (SPQR, WaS)
]
pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010)
ps2pdf (or ghostscript) version should be 8.71
As I said pdflatex works smoothly on that code and latex -> dvips make a good .ps file as well. How can I make the ps2pdf conversion work as well?
Regards,
w.
Thanks for your reply!!
-
- Posts: 126
- Joined: Sun Feb 13, 2011 8:36 pm
ps2pdf: $\Delta$ not displaying correctly in pdf
This is indeed strange. I have exactly the same package and program versions and your code yields a nice Delta if compiled in either way. It shouldn't matter but have you been trying to change the font encoding to T1 with the fontenc package? Sorry, that's all I can think of at the moment.
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
ps2pdf: $\Delta$ not displaying correctly in pdf
Hi
I tried with
but it doesn't work either.
It's a pity because I prefer the latex-->dvips-->ps2pdf method.
I tried with
Code: Select all
\usepackage[T1]{fontenc}
It's a pity because I prefer the latex-->dvips-->ps2pdf method.
ps2pdf: $\Delta$ not displaying correctly in pdf
If the T1 font encoding didn't help, then the only other thing I can think of is that ps2pdf is not embedding the fonts, which means the PDF viewer has to do font substitution when opening the PDF. You can fix that like this:
That will force ps2pdf to embed the fonts in the resulting PDF, which is what pdflatex does by default.
Code: Select all
ps2pdf -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dPDFSETTINGS=/printer your_file.ps