Skip to main content

Questions tagged [ghostscript]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
606 views

Where to get SymbolMT and how to use it once obtained?

Upon launching dvips or dvipdf on a certain DVI file generated today with a standard latex-bibtex loop from the current Debian-stable TeX Live, I get dvips: Font SymbolMT used in file some_diagram....
AlMa1r's user avatar
  • 541
1 vote
1 answer
83 views

'dvisvgm' doesn't detect 'libgs' with MacTex 2023 and 'libgs' installed - MacOS 12.7.2 (Monterey)

I want to convert my LaTeX file using package 'tikz' into a HTML file using 'make4ht', which itself runs 'dvisvgm', which itself needs 'libgs'. Everything should run automatically as given by auto-...
flpo's user avatar
  • 41
1 vote
0 answers
38 views

Asymptote cannot label in 3d graphs

I have an updated Asymptote (version 2.86) and Ghostscript (version 10.02), but cannot get Asymptote to label 3-dimensional graphs. For example, settings.outformat="pdf"; import three; size(...
Matt's user avatar
  • 41
0 votes
1 answer
48 views

Asymptote returns errors with labels

When trying to run a simple Asymptote example I get errors with creating labels. My Ghostscript version is 10.02, Asmptote v2.86 in Windows 10. For example, running import three; currentprojection=...
Matt's user avatar
  • 41
0 votes
0 answers
108 views

ps2pdf produces MiKTeX GPL Ghostscript 9.25: Unrecoverable error, exit code 1 \includegraphics

Cannot include any image in my LaTeX document. My code: \documentclass{article} \usepackage{graphicx} \usepackage[utf8]{inputenc} \begin{document} \begin{figure} \includegraphics[width=0.5\...
Finn's user avatar
  • 21
2 votes
0 answers
120 views

sending pdf to a printer / binder service

I wrote my thesis in LaTeX using overleaf. I compile the pdf and open with adobe acrobat pro. I then apply pdf/x standards and make sure all my fonts are embedded. Everything checks out and no errors ...
AliasNyquist's user avatar
1 vote
0 answers
88 views

Asymptote with Ghostscript 10 does not produce pdf or png

I am running Asymptote version 2.86 on Windows 10. I have installed Ghostscript 10.04 and have a confi.asy file saved in .asy\ directory that specifies the location of Adobe Reader and ImageMagick: ...
Ted Black's user avatar
  • 495
2 votes
1 answer
358 views

Asymptote Code Generates .asy Files, But Asymptote Execution Fails

Update Per the advice of a user on stack overflow, https://stackoverflow.com/questions/77449192/issue-with-asymptote-execution-in-latex-failed-to-create-directory-asy, I upgraded all of my MikTeX ...
user avatar
0 votes
0 answers
110 views

Asymptote: Shipout to SVG not working on MacOS

Running on 2023 M2 Pro Macbook pro, running MacOS Ventura 13.2.1 Hello, I'm unable to export any of my asymptote diagrams as an svg file, although I was able to easily on my old windows machine. This ...
bahab's user avatar
  • 1
1 vote
1 answer
30 views

Data outside canvas not removed when using fadings with pgfplots

I have a weird problem and was able to track it down to the use of fadings in my plot. My workflow uses pgfplots for plotting my data and after compilation I use gs to convert the pdf file with some ...
John Miller's user avatar
2 votes
1 answer
49 views

tex4ht converts included eps graphics to png with wrong dimensions

I recently updated my Ubuntu environment from 18.04 to 22.04 and I noticed that the default behavior of tex4ht (or htlatex) with respect to included graphics significantly changed. Consider the basic ...
wynlatex's user avatar
0 votes
0 answers
609 views

Integrating Ghostscript with TeX

Making this copy of my original question on SuperUser was closest this question could be in the intersection of the two websites. I performed the following steps: Reinstalled macOS Ventura 13.4 on ...
Atom's user avatar
  • 665
0 votes
0 answers
22 views

latex+dvips+gv: the left vertical bar of the frame of mdframe vanishes at certain magnifications [duplicate]

Feeding \documentclass{article} \usepackage{mdframed} \begin{document} \begin{mdframed} Test \end{mdframed} \end{document} to latex followed by dvips results in the left vertical bar (and, with ...
user avatar
1 vote
1 answer
82 views

Any 3D issues with latest versions of Asy and Ghostscript?

I just would like to submit this question: I have recently updated the versions of asymptote (2.85 now) and ghostscript (gs10.01.1) and since, I'm totally unable to compile my .tex file that used to ...
mxnc baud's user avatar
  • 501
0 votes
0 answers
54 views

gv: the outputs of pdflatex, latex+dvipdf, and latex+ps2pdf are slightly shifted upwards compared to the output of latex+dvips

Let's create mwe.tex containing \documentclass{article} \usepackage[paperwidth=1cm,paperheight=1.25cm,margin=0cm]{geometry} \pagestyle{empty} \usepackage{tikz} \begin{document}\noindent \begin{...
user avatar
1 vote
1 answer
96 views

pstricks causes the output of xdvi to turn gray

Feed mwe.tex containing \documentclass{article} \usepackage{pstricks} \begin{document} Test \end{document} to latex, then issue xdvi mwe from an xterm under X11+gnome, and finally observe On the ...
user avatar
1 vote
1 answer
164 views

postscript hyperlink url auto-open

I'm trying to add a hyperlink to a PDF by modifying the PostScript. Any possible to open this action link automated or opening postscript or pdf. it will be executed the link. [/Rect [ 0 425 295 445 ] ...
alex's user avatar
  • 11
1 vote
0 answers
118 views

Downgrade PDF version with Ghostscript 8.70: A pdfmark destination page 34 points beyond the last page 22 [closed]

Background My requirement is a feature to watermark PDF docs on demand within a LAMP stack (PHP 7.3). The webapp has a collection of PDF docs loaded into a MySQL table. The docs originated as PDF ...
badams's user avatar
  • 11
0 votes
0 answers
106 views

Right placement in `.pdf` file but wrong after `pdf2ps mergeS.pdf mergeS2.ps`

I've asked a related question elsewhere: I have now good placed pdf together with the right rotation: However, after pdf2ps mergeS.pdf mergeS2.ps gs -sDEVICE=ps2write -o A22.ps -r120x120 mergeS2.ps ...
user2925716's user avatar
  • 1,960
0 votes
1 answer
128 views

How to get precise lengths (e.g., 5 cm) on the screen with tikz, pstricks, evince, and gv?

Let's feed the file mwe.tex containing \documentclass[a4paper]{article} \pagestyle{empty} \usepackage{pstricks,tikz} \begin{document}\noindent \begin{pspicture}(-1,0)(1,5) \psline(0,0)(0,5) \end{...
user avatar
0 votes
0 answers
427 views

Problem with MikTex imposing an old version of Ghostscript

I have installed the Ghostscript (v9.55.0), Ghostview, and installed Miktex a couple of months ago on a new computer (and updated MikTeX whenever I could). I am working on Texmaker mainly lately have ...
mstarsup5's user avatar
1 vote
1 answer
282 views

TeX4ht and Tikz missing Ghostcript

I'm trying to use TeX4ht with Tikz and running into problems. Here's my minimal example \documentclass{article} \ifdefined\HCode \def\pgfsysdriver{pgfsys-dvisvgm4ht.def} \fi \usepackage{tikz} \begin{...
Ethan Duckworth's user avatar
1 vote
0 answers
156 views

Autoref and TOC links lost due to Ghostscript compression (-dPrinted = false already set)

I built a latex document and compress it afterwards with Ghostscript (gs). While some links are retained, e.g. urls, the links in the TOC and links created with autoref are not retained. Adding the ...
moschmdt's user avatar
6 votes
1 answer
275 views

My legacy PSTricks code is not compilable anymore

The following code worked several years ago but it does not now. I lost my conscious and I might be in a generation gap. I attempted to compile with either lualatex or latex->dvips->ps2pdf ...
Display Name's user avatar
  • 47.2k
3 votes
1 answer
348 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 ...
Archange's user avatar
  • 1,378
1 vote
1 answer
602 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 ...
Michael Nüsken's user avatar
0 votes
1 answer
667 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 ...
Selena's user avatar
  • 195
1 vote
1 answer
199 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/...
Ajat's user avatar
  • 137
0 votes
0 answers
188 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 ...
Federica Tonti's user avatar
1 vote
1 answer
190 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
138 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 ...
KeWe's user avatar
  • 1
2 votes
0 answers
576 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} \...
Paul's user avatar
  • 21
1 vote
1 answer
129 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{\...
Jon Arnold's user avatar
1 vote
1 answer
76 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 ...
Tarso Boudet Caldas's user avatar
3 votes
1 answer
1k 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: /...
arc_lupus's user avatar
  • 1,781
0 votes
2 answers
3k 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 ...
Baffo rasta's user avatar
3 votes
1 answer
434 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. ...
Hafid Boukhoulda's user avatar
0 votes
0 answers
497 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. #...
A. S.'s user avatar
  • 101
2 votes
1 answer
89 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 ...
JOSE JESUS ROSELL ESCOLAR's user avatar
1 vote
0 answers
171 views

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

When I compile that code: \documentclass{beamer} \usetheme[]{Madrid} \useinnertheme[shadow]{rounded} \setbeamertemplate{navigation symbols}{} \begin{document} \begin{frame}[plain] \frametitle{Question ...
François Pétiard's user avatar
0 votes
0 answers
234 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[...
pluton's user avatar
  • 16.5k
3 votes
2 answers
135 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 ...
FUZxxl's user avatar
  • 2,414
1 vote
0 answers
101 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 ...
Chris's user avatar
  • 31
2 votes
0 answers
301 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,...
Chris's user avatar
  • 31
1 vote
1 answer
779 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 ...
Caenorhabditis Elegans's user avatar
2 votes
0 answers
679 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 ...
220284's user avatar
  • 209
5 votes
2 answers
300 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 ...
Oleg Lobachev's user avatar
5 votes
3 answers
2k 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 ...
Paige's user avatar
  • 51
1 vote
1 answer
365 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 ...
davnovak's user avatar
2 votes
1 answer
348 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