{ghostscript} concerns the Ghostscript PDF and Postscript interpreter and renderer.

learn more… | top users | synonyms

19
votes
2answers
506 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. ...
11
votes
3answers
4k 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 ...
8
votes
0answers
559 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 ...
7
votes
1answer
201 views

How can I optimize the arara password program?

I have written the following (runable) arara-program, which creates a password-locked pdf with adjustable prohibited access rights: secure.yaml !config # GhostScript-ps2pdf password-security rule ...
6
votes
1answer
2k 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
1answer
132 views

How can I use arara to get a graphics file?

In a standard TeX Live distribution Ghostscript is, to my knowledge, present; it is hidden, but it is there. Edit: Yes, it is under \Texlive\2013\tlpkg\tlgs So to my question: How can I use ...
5
votes
1answer
791 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} ...
5
votes
1answer
1k 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 ...
5
votes
1answer
2k 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 ...
5
votes
1answer
379 views

Error on including large videos with media9 [closed]

I am trying to include a video of 17MB using the media9 package in a beamer presentation (I am using MiKTeX 2.9 on Windows 7): \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{media9} ...
5
votes
2answers
1k 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
3answers
2k 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 ...
4
votes
2answers
3k 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, ...
4
votes
1answer
336 views

TikZ and auto-pst-pdf break Ghostscript

After profiting enormously from other people's questions here, I finally need to ask one myself: since I updated my MiKTeX 2.9 installation a week ago, I can't compile my PhD thesis anymore. I use ...
4
votes
1answer
128 views

Why does adding one more subtree make a cropped output?

\documentclass[preview,border=12pt]{standalone} \usepackage{pst-tree} \psset{treemode=R,edge=\ncline} \def\ABCD{% \psTree{\Tcircle{A}} \psTree{\Tcircle{B}} ...
4
votes
1answer
1k 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
765 views

pdflatex without ghostscript to preserve transparency of included pdfs

I'm trying to include a pdf with a transparent gradient using pdflatex from texlive installed with macports. Using the article class (not standalone), the transparency of the included pdf is lost when ...
4
votes
1answer
1k 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
1k views

Ghostscript 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 ...
3
votes
1answer
149 views

latex preview in emacs unable to run ghostscript

So, on Windows 8, emacs, trying to use preview-latex. Each time I get the same error: Preview-PDF2DSC finished at Mon Oct 13 12:55:42 PDF2DSC sentinel: Searching for program: permission denied, ...
3
votes
2answers
147 views

Installing Ghostscript and Convert-IM along with MacTex

Do someone of you know if the installation of Ghostscript and Convert-IM packages which come along with MacTex is mandatory? Are these packages useful or I can proceed without install them?
3
votes
1answer
4k 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
462 views

How to diagnose 'gs' failure converting eps to pdf as part of pdflatex

I'm creating a beamer presentation using a custom theme with company logos on the frametitle and footer of the pages. I've got these in EPS format and the resulting document does generate correctly ...
3
votes
0answers
351 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 ...
3
votes
0answers
1k 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 ...
2
votes
1answer
5k 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
2answers
260 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
418 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
2answers
2k 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
447 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
3k 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 ...
2
votes
1answer
385 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
2answers
83 views

merge many pdfs

I'm writing some kind of a notebook using \LaTeX. I have a lot of notes. (EDIT: Like, a lot. Almost one per day for the past couple years. They range from very short, single line, notes to very long ...
2
votes
1answer
45 views

How to make xelatex invoke my manually installed ghostscript instead of the one accompanying TeXLive?

In my investigation, TeXLive installer will automatically install GhostScript (32 bit version) as follows. I don't know whether xelatex depends on this GS. I prefer to use GS that I manually ...
2
votes
1answer
62 views

Xelatex has problem in generating pstricks tex file with colors [duplicate]

I have a piece of simple tex code which compiles on all of my computers. But it doesn't show properly on my laptop \documentclass{standalone} \usepackage{pstricks-add} \psset{gridcolor=green, ...
2
votes
1answer
426 views

Ghostscript error: ERROR -15 closing pdfwrite device

Consider the folllowing example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \newif\ifprint %\printfalse \printtrue \makeatletter \@ifpackageloaded{hyperref}{ ...
2
votes
1answer
229 views

How to install Ghostscript with the proTeXt download?

I've installed MikTex using the proTeXt Installation. Since the Ghostscript is already included in this big proTeXt file, how should I install it? Could I install from the package manager of the ...
2
votes
1answer
389 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. ...
2
votes
1answer
176 views

Animate package problem with Ghostscript version

I am using the animate package to make an animation in my beamer presentation. While compiling I use Latex -> dvi2ps -> ps2pdf When I do ps2pdf there is an error telling me that my Ghostscript ...
2
votes
0answers
302 views

XeLaTeX Ghostscript call for EPS to PDF conversion failing

Updated with properly minimalistic example.. I've been wrestling with this for a while now. I had a setup using pdfLaTeX with epstopdf that works nicely, but I need mathspec so I've moved to XeLaTeX. ...
2
votes
0answers
90 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
148 views

Ghostscript Error when doing multiple slices with pst-solides3d [closed]

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
4k 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
3k 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
3k views

Ghostscript 8.57: Unrecoverable error, exit code 1

I do have a problem in producing a pdf (latex -> dvips -> ps2pdf) with an error saying Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 ...
1
vote
2answers
397 views

How to configure WinEdt/MikTeX/ps2pdf to use a new version of Ghostscript when converting ps->pdf?

System: Win7, WinEdt 7.0, MikTeX 2.9 In order to include animations into my powerdot slide sets I was instructed to use the animate package. Installing that was no problem. Also I have my animation ...
1
vote
1answer
195 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
2answers
694 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 ...
1
vote
2answers
1k views

epstopdf / ghostscript can't find fonts

I have the following setup $ epstopdf --version epstopdf ($Id: epstopdf.pl 31784 2013-09-27 22:43:16Z karl $) 2.18 $ gs --version 9.10 $ tex --version TeX 3.1415926 (TeX Live 2014/dev) $ uname -a ...
1
vote
1answer
312 views

xdvi does not show eps files inline

When run from the command line xdvi gives the following errors $ xdvi text.dvi gs: Unknown device: x11alpha gs: Unrecoverable error: undefined in .uninstallpagedevice gs: Operand stack: gs: ...