Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ghostscript]

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

1
vote
0answers
34 views

Ghostscript breaks the hyperlinks of my PDF [duplicate]

When I use Ghostscript on a PDF it breaks the PDF's hyperlinks. Why, and how can I retain hyperlink functionality after doing so? I have made a PDF named link.pdf with the text Hello World where ...
1
vote
2answers
104 views

Problems after installing Ubuntu 18.04 and EPS

After installing Ubuntu v. 18.04, I suppose that ghostscript does not work proper. It cannot convert eps-files to pdf. I suppose that the TeX-command epstopdf make use of it. Is that true? What ...
4
votes
1answer
207 views

Set the print flag on links with hyperref to preserve them with Ghostscript >= 9.25

To reduce the size of a PDF produced with pdflatex I usually run this command: $ gs -sDEVICE=pdfwrite \ -dCompatibilityLevel=1.4 \ -dPDFSETTINGS=/printer \ -dEmbedAllFonts=...
11
votes
2answers
407 views

pgf's and pstricks's opacity is not working

I've recently upgraded (on Ubuntu 18.04 LTS) TexLive 2016 to 2017. The problem that came up is that the opacity of tikz (pgf) and of pstricks pictures is not working in .ps and .pdf files after ...
2
votes
1answer
102 views

Latex: Ghostscript call for EPS to PDF conversion failing

I am using eps graph for my work. Latex version is TeXstudio 2.12.10, Miktex 2.9. Code to include graph \begin{subfigure}{.48\textwidth} \includegraphics*[width=\linewidth,keepaspectratio=false]{...
2
votes
0answers
53 views

White tikz pictures in IguanaTex

I'm trying to use IguanaTex to include some TikZ pictures in a presentation, but I'm finding that if I'm drawing in white (or even a colour really close to white), the picture won't show. So \...
2
votes
1answer
106 views

How to convert pgfplots to high quality PNG file with Ghostscript?

Note: This is not a duplicate of How to save a figure produced by tikz save/export as JPG/PNG file. This question deals with Ghostscript and quality concerns. The other question does not deal with ...
2
votes
0answers
61 views

How to flatten or postprocess a Latex generated PDF to crop image outside of viewport? [closed]

I have a large PDF document that includes lot of complex figures. To build these figures I used the viewport feature of the \includeGraphics command from Graphics package extensively. I am aware that ...
6
votes
1answer
318 views

Is it possible to improve legibility of an old (La)TeX document with problematic fonts?

(Edit: Somehow an addition I made to this question got lost before I pressed the bounty button. Apologies to whoever already answered partially.) I occasionally come across old(ish) papers written in ...
0
votes
0answers
159 views

How to use pdfcrop in Latex? Thanks

I am new to Latex and I use Latex to produce exam papers and homework. Recently when I want to pdfcrop to delete the margin in PDF, I failed. I have been stucked here for several days. Thanks for ...
2
votes
1answer
232 views

auto-pst-pdf : Error: /undefined in pst@angleunit, MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1

I'm using the package auto-pst-pdf and the package pst-labo. Everthing goes well with latex->dvips->ps2pdf but I got an error when i want to use it with pdflatex with -shell-escape \...
4
votes
2answers
774 views

Can not generate Preview by AUCTeX

I try to generate preview by AUCTeX (on Emacs GUI), but it displays I click on the red sign, choose View error and get /usr/bin/rungs -dOutputFile\=\(_region_.prv/tmp5971SJc/pr1-5.png\) -q -...
0
votes
0answers
37 views

Sidewaysfigure changing pixel aspect ratio

I'm using sidewaysfigure to insert a landscape-oriented full-page map into a 2-column, 8.5x11in pdflatex document. The original image (jpeg, submitted by author with no way to get a proper image ...
0
votes
0answers
260 views

Pdfcrop: Cannot call ghostscript `mgs' in Command Prompt

On Windows 10, I am attempting to call pdfcrop a.pdf from the command prompt, but I get the following error: !!! Error: Cannot call ghostscript `mgs.exe' (No such file or directory/The system cannot ...
3
votes
0answers
335 views

LaTeXiT: increase resolution

I'm using LaTeXiT to embed equations in my Evernote notebook. The complete package that I have includes LaTeXiT, BasicTex and GhostScript, and I configured it to produce PNG bitmap images, as ...
1
vote
3answers
86 views

Dangling symlinks in MacTeX 2017 ghostscript install

There’s a strange (semi-?) bug in my installation of MacTeX-2017: there are a whole bunch of incorrectly symlinked fonts in the following directories: /usr/local/share/ghostscript/9.21/Resource/...
3
votes
0answers
361 views

error: PDF2DSC sentinel: Wrong type argument: arrayp, nil

I am trying to get AUCTeX on Emacs to preview formulas but it doesn't seem to work and when I click preview, it produces the following error: PDF2DSC sentinel: Wrong type argument: arrayp, nil I ...
4
votes
1answer
839 views

U+2234 not set up for use with LaTeX

I am using Doxygen to document my C code project. My C source files are saved with UTF-8 encoding. Within some of the files I have mathematical symbols, such as this line: ∴ ∀ FOO ∈ ℕ ≤ BAR The ...
0
votes
0answers
171 views

Ghostscript or dviout error? / dviout does not work with qtree-package?

For some reason I have a problem with the combination of dviout and the qtree package. Example: \documentclass[BCOR5mm,paper=a4,twoside,fleqn,pagesize,parskip,headsepline,toc=bib, numbers=noenddot,...
1
vote
0answers
345 views

ps2pdf not working in TextStudio

System information: Windows XP Professiona (Service Pack 3), 32 bit TexStudio 2.11.2 MikTex 2.9 GPL Ghostscript 9.20 (32 bit) I have configure TexStudio's "Build & View" to DVI>PS>PDF Chain....
4
votes
0answers
118 views

Avoiding transparency [closed]

While trying to create a plot with pgfplots, I noticed that the output created by ghostscript with gs -o main_opt.pdf -sDEVICE=pdfwrite main.pdf to optimize the PDF (size is reduced to ~50%) is ...
1
vote
0answers
412 views

Putting LaTeX Equations in MS Word

I want to put LaTeX equations in MS Word 2010. @Werner suggested IguanaTeX to convert it in PowerPoint then paste it into Word. I downloaded and installed the plug-in, but I keep getting this error ...
1
vote
2answers
374 views

EPS to PDF error using AucTeX

After updating TeX Live Utility (version 1.26) and some of the Emacs packages, my EPS to PDF conversion does not work any more when I do the following: \documentclass{beamer} \usepackage{pgfpages} \...
5
votes
10answers
4k views

Lyx, Error Converting to Loadable Format for PDFs

I'm using Lyx 2.2 on windows 10 and ghostscript 9.19. When I have pdfs images embedded in my document they don't display in the Lyx window (they appear in the final PDF however). Where the images ...
0
votes
0answers
435 views

embed fonts into eps figure with ghostscript

I have a figure (EPS format), that I include in a large tex file. I would like to embed the fonts into the eps figure before including it. How can I do this with ghostcript on windows?
0
votes
1answer
234 views

Preview-Ghostscript replaces equations with triangles in Emacs in LaTeX mode

I am using auctex in Emacs, and upon running Preview->Buffer (C-c C-p C-b), what happens is: Triangles with red borders and white interiors replace every math formula A white and empty Ghostscript ...
1
vote
2answers
123 views

error while drawing a pspicture in latex

I get the following error while trying to draw a pspicture in LaTeX GPL Ghostscript 9.15: **** Could not open temporary file '' What I write inside the compiler is \documentclass{article} \...
1
vote
0answers
331 views

How to use Ghostscript on Debian to view a PS file?

I am learning to use LaTeX from lshort.pdf. I am using a Debian 8.3 system with texlive package installed. I am using the Xfce Desktop Environment. X is nalso running. $ ps -ef | grep -E "X|xfce4-...
0
votes
0answers
236 views

Lower than screen resolution pdf

I created a 55-page book using Lyx and requested a price quotation from a publisher. The publisher replied that they need to know how many pages have full-color pages and a combination of text and ...
2
votes
1answer
931 views

Pdftex.def Error, Cannot open Ghostscript for piped input: gs

I can compile my latex document from mac terminal using pdflatex mydocument.tex However, Texshop fails to compile my file. More precisely, Texshop cannot convert .eps files to pdffile. The minimal ...
4
votes
0answers
511 views

Gnuplottex and Texshop — Cannot open Ghostscript for piped input! [closed]

I'm trying to compile the following file using latex and the gnuplottex package. For some reason I'm getting this error, even though I have already enabled shell escape and /usr/local/bin/gnuplot is ...
0
votes
0answers
565 views

Dvi-ps-pdf Unrecoverable error, exit code 1 (/stackunderflow in --begin--)

I'm trying to compile a tex file via tex-dvi-ps-pdf, in a MacOS X. I've seen: Ghostscript 8.57: Unrecoverable error, exit code 1 auto-pst-pdf throws 'MiKTeX GPL Ghostscript 9.05: Unrecoverable ...
5
votes
1answer
490 views

Local hyperlinks broken after PDF processing with Ghostscript

I usually compress my tex PDFs with ghostscript: pdflatex -shell-escape file.tex gs -sDEVICE=pdfwrite \ -dCompatibilityLevel=1.4 \ -dPDFSETTINGS=/prepress \ -dNOPAUSE -dQUIET -...
7
votes
1answer
101 views

Export PDF for two printer - one PDF with just the pictures, the other one with the text

Do you know a possibility how to export a PDF, that has just blank space where the graphics should be? (And the other way round) Why do I need this? I have a black and white laser printer and an ...
3
votes
0answers
1k views

No PDF output after updating Ghostscript to version 9.16 [closed]

I use TeXnicCenter 2.02 64bit, MikTeX 2.9 64bit and I produce pdf files with gswin64c.exe. My command line in TeXnicCenter is -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%...
7
votes
0answers
562 views

Using Ghostscript to compress pdf with 3D content

I have used Ghostscript to compress the pdf output of some large files as it seems to do a better job of getting rid of duplicate font information than Adobe Acrobat (which sometimes loses certain ...
2
votes
0answers
3k views

No visible images in PDF: MiKTeX GPL Ghostscript 9.05: Unrecoverable error, exit code 1

Recently, I was forced to reinstall my MikTeX distribution. Now, in documents that compile without an actual tex error, there are missing graphics that I have included as eps-files. The following ...
2
votes
2answers
2k 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
3answers
7k 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 ...
2
votes
1answer
430 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 ...
3
votes
1answer
1k 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, ...
1
vote
0answers
114 views

htlatex define proper bounding box dvi

Is there a way to define the proper bounding box size inside latex files so that htlatex and then dvips make the right size graphics? Right now it is cutting off the graphics too short. I am using ...
2
votes
1answer
478 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
319 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 ...
8
votes
1answer
248 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
2answers
255 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 arara,...
2
votes
1answer
2k 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. ...
6
votes
1answer
832 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 ...
3
votes
2answers
4k 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 ...
2
votes
0answers
644 views

How to fix set the environment variable Asymptote Ghostscript?

I have problem about install Asymptote and I fail to running file .asy like this error: How to fix location specifies the of Ghostscript and there are simple way to fix it ?