Questions tagged [ghostscript]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
38 views

`bad trailer dictionary` when processing PDF generated with lualatex

For several reasons, my workflow includes running my (Lua)LaTeX PDF through ghostscript like this: gs -o output.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress input.pdf Since recently (TeX Live 2021 ...
user avatar
  • 1,276
0 votes
0 answers
17 views

How to use Eskdx package and fill fields within pages?! I couldn't find any manual, please, help

%I tried to use this code but it doesn't work and the frames do not appear in the documentю \documentclass[russian,utf8,floatsection,equationsection,reduceheight=1mm,nocolumnsxix]{eskdtext} \...
user avatar
1 vote
1 answer
266 views

Override MiKTeX-bundled Ghostscript with a separate installation

It looks like https://miktex.org/packages/miktex-ghostscript-bin still uses a far outdated (more than 3 years old) GPL Ghostscript for Windows. This is tremendously annoying for certain ...
user avatar
0 votes
1 answer
85 views

epstopdf cannot open ghostscript

I am working on a configuration of the latex build process to use with Anki for compiling cards with latex content. I have some eps figures I want to include on some of my cards. The latest Anki ...
user avatar
  • 195
1 vote
1 answer
69 views

Transparency Issue on MacTex 2021, previous fix does not work anymore for XeLaTex

Recently there was a fix to the problem related to transparency issue on pstricks+ Mactex 2021, which is actually related to Ghostscript ver> 9.53. It modifies /usr/local/texlive/2021/texmf-dist/...
user avatar
  • 113
0 votes
0 answers
49 views

Legend missing when converting eps to pdf

I have a problem when importing a .eps file produced with tecplot in Texstudio with MikTeX2.9 on Windows10. As I save the .eps file the figure is right, including the legend. When I import it in ...
user avatar
1 vote
1 answer
81 views

using pst-all results in a warning in dvipdf

Feeding the file mwe.tex containing \documentclass{article} \usepackage{pst-all} \begin{document} test \end{document} to latex mwe && dvipdf mwe results in %%%% WARNING: Transparency ...
user avatar
0 votes
0 answers
51 views

Postscript File to Place Everything in a Layer

Would like a postscript file that will place original pdf content onto a layer. Everything in the original pdf goes on a layer. Don't know how to place the stream into the ocg... This is the start of ...
user avatar
  • 1
2 votes
0 answers
105 views

Problem with pst-pdf or auto-pst-pdf in texlive 2021

When using pst-pdf with texlive 2021, I get the error described below. The same example works fine with texlive 2020. First the latex source file pst-pdf-test.tex: \documentclass[12pt]{article} \...
user avatar
  • 21
1 vote
1 answer
61 views

Ghostscript Error with pst-vectorian

When trying to use pst-vectorian, I'm getting an error: GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1 Here's my code: \documentclass{report} \usepackage{psvectorian} \newcommand{\...
user avatar
1 vote
1 answer
65 views

Could arara detect the file size?

I have a large book with many chapters, lots figures and tikz pictures and some of them have really large file sizes (over 100MB). I utilize https://docs.google.com/viewer?url= to get the chapters ...
user avatar
2 votes
1 answer
522 views

Ghostscript requires -dALLOWPSTRANSPARENCY when compiling pstricks-figures

I tried compiling pstricks-based figures using either pdflatex --shell-escape or xelatex, but both fail with %%%% WARNING: Transparency operations ignored - need to use -dALLOWPSTRANSPARENCY Error: /...
user avatar
  • 1,657
0 votes
2 answers
1k views

GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1 when trying to draw pspicture inside tabular environment

Here is the code that is giving me this problem. Basically I'm trying to render inside a grid a couple of pictures plotting the beta probability density function for different values of the parameters ...
user avatar
3 votes
1 answer
148 views

asymptote error after upgrading to ghostscript 9.54

After system upgrade to ghostscript version 9.54 I get an error when compiling assymptote. The error seems to occur when the animate module is imported and and then the label function is used. ...
user avatar
0 votes
0 answers
234 views

Some sort of Ghostscript issue due to figure

I am encountering an error that I am very confused by. My usual method of googling and looking at other answers has not helped. I am trying to include some image files, and I get the following error. #...
user avatar
  • 101
2 votes
1 answer
68 views

Problems with lwarp and pstricks

My question is about packages lwarp and pstricks. I use to work in pstricks for exercises sheets and then converted to HTML page with a little help of lwarp. It worked perfectly. Two days ago I ...
user avatar
1 vote
0 answers
105 views

Problem with shadow in Beamer's blocks, via dvips and ps2pdf

When I compile that code: \documentclass{beamer} \usetheme[]{Madrid} \useinnertheme[shadow]{rounded} \setbeamertemplate{navigation symbols}{} \begin{document} \begin{frame}[plain] \frametitle{Question ...
user avatar
0 votes
0 answers
54 views

Title page bookmark suppressed by ghostscript

The MWE suggested below creates a pdf with two bookmarks, named "Title" [level 0] and below, "Section" [level 1]. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
user avatar
  • 15.8k
3 votes
2 answers
98 views

How to fix this \special{pdf: content ...} so it doesn't corrupt the resulting PDF?

I use a \special command to drive some diagonal lines as a part of a macro for drawing puzzles. While these work fine when compiling with XeTeX, they seem to corrupt the resulting PDF document when ...
user avatar
  • 2,354
1 vote
0 answers
99 views

auto-pst-pdf creates ghostscript error [duplicate]

I am using pdflatex (shell-escape is enabled) with auto-pst-pdf, psfrag and chemnum to replace tags in eps-files for auto-numbering molecules in my B.Sc. thesis. It went fine until this week, when I ...
user avatar
  • 31
2 votes
0 answers
162 views

Alternative to auto-pst-pdf for chemnum

Does anyone know what I could use instead of auto-pst-pdf combined with chemnum to replace tags in eps-files? Since this week it doesn't work anymore. Pstool (\usepackage[mode=nonstop,crossref=true,...
user avatar
  • 31
1 vote
1 answer
416 views

Sublime Text preview fail

I have some problems in converting pdf to png, in Sublime Text editor. It has an error message: ERROR: Failed to convert pdf to png to preview. To check the error report, it shows only one text as ...
user avatar
2 votes
0 answers
253 views

Invert colours of a PDF with Ghostscript [closed]

This question has been asked several times on StackExchange but I could not find a solution that really works. Is there a (desirably) pure ghostscript way to invert the colours of a PDF? The command ...
user avatar
  • 177
4 votes
2 answers
220 views

Ghostscript breakes TikZ shadows?

I use fancy TikZ shadows in my pdflatex document, it works fine. However, if I process the PDF document with ghostscript (or its ps2pdf frontend), the shadows get broken. The processing is aimed to ...
user avatar
3 votes
1 answer
566 views

Making dvisvgm and Ghostscript from MacTeX talk to each other

I am trying to use dvisvgm to convert pdf files to svg files. When I call dvisvgm --pdf test.pdf (for example), I get the response ERROR: Ghostscript is required to process PDF files. Both programs ...
user avatar
  • 31
1 vote
1 answer
171 views

How to fix ISO 19005-1 clause 6.1.9 check fail in veraPDF when generating PDF/A?

I am attempting to create a PDF/A document using LaTeX, pdfTeX. I need to conform to my university's profile, checked by veraPDF. In my .tex file before \begin{document} I use the package pdfx to ...
user avatar
1 vote
1 answer
198 views

Unable to view postscript files using psv in TeX Live on Windows

I installed TeX Live 2019 on Windows 10 last year and tried to use the built-in psv to read postscript files. It opened with an error message, which I cannot remember now. This year, I installed TeX ...
user avatar
2 votes
1 answer
2k views

ghostscript: mactex conflicts with homebrew

I am using auctex and previewing equations in emacs does not work for me. It seems that the problem is related to ghostscript. I tried to reinstall ghostscript using brew, but got the following error. ...
user avatar
0 votes
2 answers
279 views

Ghostscript text is not selectable on pages with images

After normal compiling, I am processing a PDF file with the following ghostscript command in order to produce a (hopefully) PDF/A compliant file. gs -dPDFA -sDEVICE=pdfwrite -...
user avatar
  • 101
0 votes
0 answers
1k views

Probable Latex error - Ghostscript 9.25: ERROR: A pdfmark destination page 2 points beyond the last page 1

I ran the Latex->Latex->DviPS->PS2PDF and I get the following error: MiKTeX GPL Ghostscript 9.25: Unrecoverable error, exit code 1 MiKTeX GPL Ghostscript 9.25: ERROR: A pdfmark destination page 2 ...
user avatar
1 vote
1 answer
151 views

Compile pdf/svg/eps image exported from LibreOffice Draw with latex

I want to include a .pdf, .svg or .eps image which I exported from LibreOffice Draw with \includegraphics and compile it with latex (cannot use pdflatex). The latex compile error message I get is ...
user avatar
  • 197
0 votes
0 answers
194 views

EPS images not showing in Latex (and EPS-to-PDF conversion failing)

A couple of days ago I posted an issue here (link: XeLaTeX unable to find fonts after reinstall of MiKTeX), where I was suddenly unable to compile a document after reinstalling windows+tex software. I ...
user avatar
1 vote
0 answers
567 views

Ghostscript PDF compression leads to "Output may be incorrect" errors [closed]

I'm following these instructions to compress PDFs generated from LaTeX. I run the commands: gswin64 -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=foo-compressed....
user avatar
  • 771
1 vote
1 answer
339 views

AUCTeX fails to generate previews

I am trying to generate previews using AUCTeX on Emacs GUI in my tex buffer but I get a "stop" sign error everywhere. See example below: When I click on the stop sign and select "View Error" I get ...
user avatar
2 votes
1 answer
133 views

Ghostscript error when using both pst-rputover & tcolorbox

I can compile (no errors) the following MWE (file.tex) on TL-2019 (linux) with both latex & pdflatex <-shell-escape>: \documentclass{article}% % \usepackage[on]{pstricks-pdf}% \usepackage{...
user avatar
  • 21
1 vote
1 answer
2k views

IguanaTeX in Powerpoint: problem computing bounding box

This question is essentially an exact duplicate of this one, which alas went unanswered. I am using IguanaTeX to format LaTeX in PowerPoint (not something I’ve ever done before), and obtain the ...
user avatar
4 votes
2 answers
167 views

ghostscript gives undefined in --execute-- when using color.tex with pstricks on plain tex

Assume the following plain TeX file: \input pstricks \input color \pscircle{1.5} \bye Compiling using eTeX works fine, dvips too. However the resulting PS file can't be processed using gs, I'll post ...
user avatar
2 votes
1 answer
122 views

Why does `convert=ghostscript` destroy equations on high density?

I want to create a high-resolution png to include it into a A0-poster. My Idea was to use the standalone package with the convert=ghostscript option. \documentclass[border=2pt,convert={ghostscript, ...
user avatar
  • 668
0 votes
0 answers
60 views

Asymptote: Ghostscript error with graph3

Here's a MWE: \documentclass{article} \usepackage{asymptote} \begin{document} \begin{asydef} settings.prc=false; settings.render=0; import graph3; \end{asydef} \begin{asy}[inline=true] size(200,0); ...
user avatar
  • 1,638
1 vote
1 answer
126 views

How to change image quality in a pdfTeX output and keep hyperlinks? [duplicate]

I am trying to get a small PDF output from pdftex. From pdftex reduce PDF size: reduce image quality? I found the useful command gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -...
user avatar
1 vote
1 answer
230 views

\includepdf command disappear the pdf's transparency information?

I have a pdf which has some transparent graphics and words. Like this:(of course it had more words ) then I use \includepdf command to insert this to a latex project . \documentclass[10pt,a4paper]{...
user avatar
1 vote
0 answers
175 views

MacTex 2019 graphics doesn't render properly [closed]

I just upgraded MacTex from 2018 to 2019 using HomeBrew, the graphics didn't render well(very blur compared with the earlier version, guess it is about some changes on the default graphics resolution ...
user avatar
  • 111
2 votes
1 answer
106 views

Conflict error when using \pstMarkAngle with XeLaTeX

I’m trying to produce a pspicture with marked angles, so I’m using the pstricks extention pst-eucl. Here is a minimal example: (I’m using MikTeX 9.25 together with TeXmaker on Windows 7) \...
user avatar
  • 21
3 votes
2 answers
3k views

ps2pdf is not working anymore - Macport upgrade on MacOS High Sierra 10.13.5

After an upgrading following a break dependency on my MacOS High Sierra 10.13.5, the command "ps2pdf" doesn't work anymore. I use it with latex to convert a ghostscript file .ps, generated from latex ...
user avatar
4 votes
2 answers
389 views

Avoiding overprinted outlines with pdfrender when converted by Ghostscript

In my document the pdfrender package is used to give some text with a special font a bold outline. Then the resulting file is converted into a PNG (for the website) as well as a PDF with all ...
user avatar
6 votes
2 answers
474 views

Incompatibility between pgfplots and xcolor since last MiKTeX update [duplicate]

Please consider the following MWE: \documentclass{article} \PassOptionsToPackage{prologue,usenames,dvipsnames,svgnames,table}{xcolor} \usepackage{xcolor} \usepackage{pgfplots} \pgfplotsset{...
user avatar
1 vote
0 answers
164 views

TikZ node text color not working with latest MiKTeX release [duplicate]

Please consider the following MWE: \documentclass{article} \PassOptionsToPackage{usenames,dvipsnames,svgnames,table}{xcolor} \usepackage{xcolor} \usepackage{tikz} \begin{document} \par Text before ...
user avatar
1 vote
0 answers
329 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 ...
user avatar
  • 39
2 votes
2 answers
564 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 ...
user avatar
  • 51
10 votes
1 answer
2k 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=...
user avatar