FS#64549 - [ghostscript] dvipdf produces blank pdf files
Attached to Project:
Arch Linux
Opened by Claudio Ebel (restore) - Sunday, 17 November 2019, 19:09 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 17 March 2020, 09:34 GMT
Opened by Claudio Ebel (restore) - Sunday, 17 November 2019, 19:09 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 17 March 2020, 09:34 GMT
|
Details
Description:
Using dvipdf in Version 9.50 produces – contrary to earlier uses – blank pdf files. The dvipdf manpage describes what the program is doing „in the background“. Manually repeating those steps produces *proper* pdf files. Steps to reproduce the bug as well as the expected behavior are given below. Installed latex suite is the group texlive-most. Additional info: dvipdf: 9.50 dvips: dvips(k) 5.999 Copyright 2019 Radical Eye Software ghostscript: GPL Ghostscript 9.50 (2019-10-15) latex: pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Arch Linux) (preloaded format=latex) Steps to reproduce: ––– Minimal latex file (main.tex) ––– \documentclass[]{scrartcl} \usepackage[utf8x]{inputenc} \usepackage[ngerman]{babel} \usepackage{lipsum} \begin{document} \lipsum[5] \end{document} ––– Steps to reproduce ––– $ latex main.tex $ latex main.tex # produces main.dvi file which has text $ dvipdf main.dvi # produces blank main.pdf file without any visible content ––– Steps to produce expected behavior ––– $ latex main.tex $ latex main.tex $ dvips -q main.dvi # produces main.ps file $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=main.pdf main.ps # produces expected pdf file (main.pdf) |
This task depends upon
$ cat main.ps | gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=main.pdf
$ cat main.ps | gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=main.pdf