{ghostscript} conerns the Ghostscript PDF and Postscript interpreter and renderer
19
votes
2answers
357 views
Pros and cons: pdflatex+gs vs gs+pdflatex
I need to be producing two versions of documents I deal with: colour and grayscale. Of course the real issue are images. I'm not the author of the documents nor the images, I'm only the typesetter.
...
7
votes
0answers
224 views
How to deal with (probably bogus) errors from third party on my pdf? [closed]
I use a print-on-demand company (lulu.com) that has always been picky and inconsistent about the PDF files they accept. I'm giving them files produced by pdftex. They use various subcontractors to ...
5
votes
1answer
400 views
AUCTeX, preview-latex, and Ghostscript (Emacs)
I'll keep this short and sweet; Emacs can't find gs, which has been installed via brew and works fine.
Error
PDF2DSC sentinel: Searching for program: No such file or directory, gs
MWE
...
5
votes
2answers
470 views
Why can't I get pstricks with auto-pst-pdf (and cropping) running on MikTeX?
\documentclass{minimal}
\usepackage[pdf]{pstricks}
\begin{document}
\begin{pspicture}(-5.25,-5.25)(5.25,5.25)%
\pscircle*[linecolor=cyan]{5}
...
4
votes
1answer
394 views
\rput does rotate my whole document
When using \rputwith the rotation parameter it seems to rotate my whole document if the rotated text is longer then the non-rotated text.
See this minimal example:
\documentclass[dvips]{article}
...
4
votes
2answers
1k views
How to convert text in a PDF file from fonts/text to outlines?
I have PDF graphic in which I would like to have fonts removed. All other properties of the file should remain (such as size, etc). The output file should be in PDF as well. The text itself should be ...
4
votes
1answer
132 views
Ghostscript 9.07: Error: A pdfmark destination … points beyond the last page
I use gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=$2 -dLastPage=$3 -sOUTPUTFILE=$4 $1 in a script to extract pages from a pdf file with Ghostscript 9.07. I obtain a lot of warnings (as in ...
4
votes
1answer
503 views
RGB Colors in TikZ and conversion with ghost script to PNG
Since a few days I am trying to find a solution for the folowing problem:
I am creating a Tikz picture with a simple rectangele and fill the rectange with a special RGB color. The code looks like ...
4
votes
1answer
664 views
How to prevent GhostScript from rastering the font when converting PDF or EPS to EPS?
I want to convert PDF or EPS to EPS using the following commands, respectively.
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite -sOutputFile=output.eps input.pdf
or
gs -q -dNOPAUSE -dBATCH ...
4
votes
1answer
450 views
Separating and merging layers in pdf files [closed]
Does anyone know of a way to use the command line in Linux to separate and merge layers (optional content, section 8.11 of ISO 32000:2008) from a PDF file?
I am mostly interested in files created ...
3
votes
2answers
631 views
pdfcrop does not work
I have just updated to MiKTeX 2.9
I am using Emacs and I run
pdflatex --shell-escape -interaction=nonstopmode "\input" Instructions.tex
pdfcrop gives me the following error
PDFCROP 1.33, ...
3
votes
1answer
2k views
Convert from PDF to EPS while keeping/outlining fonts
Situation:
I have a PDF file which was generated by using a combination of tikz/pgf and Inkscape. It has all the correctly embedded fonts. It can be downloaded here. For example, using
pdffonts ...
3
votes
0answers
128 views
Convert PDF figures to PS figures without pixelation [closed]
I have a tex document (called foo.tex) that includes several PDF figures. I need to generate a PostScript version as well as a PDF version of the final document. Running pdflatex foo.tex works just ...
2
votes
2answers
204 views
Ghostscript questions [related: preview package to print standalone PDFs]
Using the preview package to generate individual PDFs of images within your document has been covered, for example, in this thread. However, I am trying to understand how you can use Ghostscript to ...
2
votes
1answer
320 views
Is it necessary to use GhostScript to compress pdf outputs of XeLaTeX?
I have tried to compress pdf outputs produced by XeLaTeX.
Is it necessary to use GhostScript to compress pdf outputs of XeLaTeX?
YES. It is necessary. See Benchmark: xelatex v.s. latex-dvips-ps2pdf, ...
2
votes
1answer
2k views
Why must I invoke ghostscript directly to convert PS to PDF?
My computer runs on Windows 7 with MikTeX 2.9 and GhostScript 9.02 installed.
I am still confused why do I have to invoke gswin64c.exe
rather than ps2pdf.exe to convert ps to pdf?
The switches I ...
2
votes
1answer
211 views
How to use latex to include EPS images with spaces in theirs names and paths?
I have EPS image files (with spaces in their names) in a directory ../../Images space bla bla bla/. The following MWE simulates the real scenario in a simplified way.
\documentclass{article}
...
2
votes
2answers
312 views
Weird message on dvi mode [closed]
I am getting the following message when I visualize in dvi mode:
MiKTeX Problem Report
Message: Some PostScript specials could not be rendered.
Data: Error: /undefined in H.S
Operand stack:
...
2
votes
1answer
281 views
Ghostscript error with a surface in pst-solides-3d
I'm discovering the extremely cool pst-solides-3d package.
The code
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(0,0)(3,5)
...
2
votes
0answers
49 views
Problem with pdflatex and dviopt [closed]
I just reinstalled my latex distribution: earlier I used MacTeX Basic with some extensions. Now I am using MacTeX full (comparable to TexLive Full). Since the switch, I suddenly have a different ...
2
votes
0answers
35 views
Ghostscript Error when doing multiple slices with pst-solides3d
I'm trying to represent a polytope, but it seems that GhostScript doesn't let me slice a cube more than once. In particular, I tried the following:
\psset{unit=0.6cm,labelsep=20pt}
...
1
vote
3answers
1k views
How does each of ps2pdf, pdfcrop, pdftops, epstool and epstopdf invoke GhostScript behind the scene?
I want to know the syntax to invoke GhostScript directly to get the same effect as each of the following command does.
ps2pdf input.ps
pdfcrop --hires input
pdftops -eps input.pdf
epstool --copy ...
1
vote
3answers
2k views
Latex and PDF: rangecheck error in pdfmark using ghostscript
I am trying to generate a pdf from a latex-generated ps document. (Note: I can not use pdflatex because of pstricks.)
In the tex file I load
\usepackage[dvips,
a4paper,
bookmarksopen=true,
...
1
vote
2answers
1k views
Is it possible to convert PDF to TXT file using GhostScript? [closed]
Someone wants to convert PDF to TXT as explained in C# GhostScript - Not able to successfully convert from PDF to TXT file.
I am not sure whether GhostScript can do that. Is it possible?
1
vote
2answers
2k views
Converting eps to png - dimensions [closed]
When I convert EPS to PNG using this command
gs -dSAFER -dBATCH -dNOPAUSE -r600 -sDEVICE=pnggray -sOutputFile=%1.png "%1.eps"
I get PNG picture with large dimensions, although the bounding box ...
1
vote
1answer
113 views
Preview in auctex on debian stable works in dvi mode, but fails on pdf mode
My auctex renders preview images on my debian stable system (6.0.6) if I set it to dvi mode, but it fails if I set auctex to pdf mode.
I assume there is either a mistake in my emacs configuration ...
1
vote
1answer
258 views
Compatible versions of AUCTeX and Ghostscript on Mac
When I run preview-at-point (in emacs), I get a minus (do not enter) sign rather than the figure.
I followed the suggestion here and downloaded the development version of AucTeX. The problem remains.
...
1
vote
1answer
249 views
How to make a single GhostScript call to do conversion, compression, and cropping?
I am using TeXLive 2010 and do my job using the following workflow with 6 steps. I want to reduce the number of steps as minimal as possible because I will apply the workflow to the web based system.
...
1
vote
0answers
78 views
Latex Error “undefined in H.S”
I downloaded a thesis proposal template. When I compile it no error appears, but to display dvi, I got the following error. So what is the problem and how to fix it?
Error: /undefined in H.S
Operand ...
1
vote
0answers
696 views
xdvi/ghostscript error on inserting a png into a LaTeX file [closed]
I'm trying to include a .png picture into my LaTeX .dvi file. I use Emacs on Debian, if that is of any importance.
I do this by
\usepackage{graphicx}
\graphicspath{{./dia/}}
and then
...
0
votes
1answer
365 views
Prerendering PostScript commands in EPS with GhostScript makes transparent objects opaque
Background
If the following PSTricks diagram
% Circle.tex
\documentclass{article}
\usepackage{pstricks}
\pagestyle{empty}
\begin{document}
\pspicture(-1,-1)(1,1)
\rput(0,0){$E\not=mc^2$}
...
0
votes
2answers
432 views
Ghostscript problem
I'm trying to submit a LaTeX paper to Wiley ISMRW but get the following error:
************************************************************************
command: dvipdf MRM3.dvi
Command Ok
dvips: ...
0
votes
1answer
306 views
How to set -dAutoRotatePages#/None in MikTeX
I'm using MikTeX 2.9 on Windows 7.
I understand one needs to tell GS explicitly not to auto rotate pages by supplying:
-dAutoRotatePages#/None
as parameter to ps2pdf (or gswin32c, as indicated ...
0
votes
1answer
422 views
GSView Open file's Error: /invalidfileaccess in /findfont
I use GSview to open a .ps file and got errors as:
GSview 5.0 2012-01-17
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO ...
0
votes
1answer
204 views
Ps2pdf: checking version on a Windows machine
I use TexLive 2011 and Ghostscript 9.05 on Windows XP. I see that my WinEdt when calling ps2pdf for the ps > pdf conversion is using Ghostscript 9.04 (which I do not have anymore on my machine).
...
0
votes
2answers
310 views
GhostScript and GhostView
I am about to install W32TeX on a flash drive. Among the files to be installed (via a vbs script) are GhostScript and GhostView.
My question is, do I really need GS and GV, because I only create very ...
0
votes
0answers
508 views
Where is refman.tex? [closed]
I am extremely new to tex ( a few days). I spent almost two days last week trying to get pdf output for my C# project using the Doxygen wizard and some tutorials online namely the one here
...
0
votes
0answers
226 views
pdfcrop for external pdf and colored background [closed]
This question is very close to pdfcrop fails to crop a PDF document with non-white background
However, that question (and answers) refers to a PDF created with LaTeX and my question is about cropping ...

