Postscript-Problem
Marcus Glöder (via tex-d-l Mailing List) <[email protected]>
| Newsgroups | gmane.comp.tex.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo alle zusammen,
ursprünglich hatte ich das Problem, dass Yap keine DVI-Dateien angezeigt
hat, sondern mit der Meldung, die Datei modes.mf sei nicht zu finden,
abbrach. (Die Windows-App ModernDvi hat dagegen alles richtig
angezeigt.) Da die Erzeugung von DVI-Dateien sowieso Geschichte ist, ist
das eigentlich kein großes Problem. Es kann sogar sein, dass das schon
länger so war, ohne dass mir das aufgefallen ist, weil ich schon lange
meine Dokumente entweder mit PDFLaTeX oder mit XeTeX erzeuge und in
beiden Fällen keine DVI-Dateien entstehen. Geärgert hat mich das
trotzdem. Ich habe die Fehlermeldung kopiert und eine Google-Suche damit
gemacht. Dabei bin ich auf den folgnden Thread gestoßen:
https://github.com/MiKTeX/miktex/issues/462
Da hat jemand mit demselben Problem fpolgendes geschrieben:
»I also tried it on my wife's computer, which was absolutely clean
concerning miktex. No automatic install of modes there either. Manual
install 'solves' the issue.«
›solves‹ steht in Anführungszeichen, weil das natürlch keine echte
Lösung ist, sondern eher ein Notbehelf, ein Workaround. Daraufhin habe
ich die Datei modes.mf in einer MiKTeX-Installation auf einem anderen
Computer von mir gesucht und dann an die entsprechende Stelle kopiert.
Außerdem hbe ich in der MiKTeX Console als Admin nach Metafont gesucht
und zwei Pakete (die als lokales Installtionsdatum 31.08.2022 hatten,
also wohl beim letzten Update mitgupdated wurden) deinstalliert und neu
installiert. Yap zeigt jetzt DVI-Dateien wieder richtig an (evtl. muss
ich zunächst den Vollbildmodus aktivieren). Soweit die Vorgeschichte.
Nun habe ich ein spezifischeres Problem, nämlich mit diesem LaTeX-Dokument:
\listfiles
\documentclass{scrartcl}
\usepackage{mathpazo}
\usepackage[utf8]{inputenc}
\usepackage{color}
\usepackage[ngerman]{babel}
\usepackage{varioref}
\usepackage[unicode=true,pdfusetitle,
bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=1,pdfborder={0
0 0},pdfborderstyle={},backref=false,colorlinks=true]
{hyperref}
\hypersetup{
pdfstartview={XYZ null null FitBH},linkcolor=blue, urlcolor=blue}
\usepackage{capt-of}
\begin{document}
Die erste binomische Formel ist in Formel \vref{eq:binom} angegeben.
\begin{equation}
\left(a+b\right)^{2}=a^{2}+2ab+b^{2}\label{eq:binom}
\end{equation}
In rechtwinkligen Dreiecken ergibt die Summe der Flächen der beiden
Kathetenquadrate die Fläche des Hypotenusenquadrats (siehe Formel
\vref{eq:pytagoras}).
\begin{equation}
a^{2}+b^{2}=c^{2}\label{eq:pytagoras}
\end{equation}
\end{document}
Mit PDFLaTeX ergeben sich keinerlei Probleme. \listfiles erzeugt die
folgende Filelist:
*File List*
scrartcl.cls 2022/07/04 v3.37 KOMA-Script document class (article)
scrkbase.sty 2022/07/04 v3.37 KOMA-Script package
(KOMA-Script-dependent bas
ics and keyval usage)
scrbase.sty 2022/07/04 v3.37 KOMA-Script package
(KOMA-Script-independent b
asics and keyval usage)
scrlfile.sty 2022/07/04 v3.37 KOMA-Script package (file load hooks)
scrlfile-hook.sty 2022/07/04 v3.37 KOMA-Script package (using LaTeX
hooks)
scrlogo.sty 2022/07/04 v3.37 KOMA-Script package (logo)
keyval.sty 2022/05/29 v1.15 key=value parser (DPC)
tocbasic.sty 2022/07/04 v3.37 KOMA-Script package (handling toc-files)
scrsize11pt.clo 2022/07/04 v3.37 KOMA-Script font size class option
(11pt)
typearea.sty 2022/07/04 v3.37 KOMA-Script package (type area)
babel.sty 2022/07/20 3.78 The Babel package
bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared"
options of b
abel
ngerman.ldf 2021/02/27 v2.13 German support for babel (post-1996
orthograph
y)
babel-ngerman.tex
inputenc.sty 2021/02/14 v1.3d Input encoding file
fontenc.sty 2021/04/29 v2.0v Standard LaTeX package
palatino.sty 2020/03/25 PSNFSS-v9.3 (SPQR)
t1ppl.fd 2001/06/04 font definitions for T1/ppl.
l3backend-pdftex.def 2022-08-23 L3 backend support: PDF output (pdfTeX)
***********
Wenn ich in TeXMaker den Weg latex --> dvi --> ps --> pdf gehe (also old
style), dann wird durch zwei LaTeX-Läufe zunächt eine stimmige DVI-Datei
erzeugt, die von Yap auch angezeigt wird. Allerdings gibt Yap die
folgende Meldung aus:
Some PostScript specials could not be rendered.
Wird das kopiert, dann wird der folgende Bericht erzeugt:
MiKTeX Problem Report
Message: Some PostScript specials could not be rendered.
Data:
Source: Libraries\MiKTeX\Dvi\Ghostscript.cpp
Line: 279
MiKTeX: 22.8.28
OS: Windows 10.0.19044
Invokers: non-existing/explorer/TOTALCMD
SystemAdmin: no
Root0: C:\Users\pili-gloeder\AppData\Roaming\MiKTeX\2.9
Root1: C:\Users\pili-gloeder\AppData\Local\MiKTeX\2.9
Root2: C:\ProgramData\MiKTeX\2.9
Root3: C:/Program Files (x86)/BeamerColor
Root4: C:\Program Files\miktex29
UserInstall: C:\Users\pili-gloeder\AppData\Roaming\MiKTeX\2.9
UserConfig: C:\Users\pili-gloeder\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\pili-gloeder\AppData\Local\MiKTeX\2.9
CommonInstall: C:\Program Files\miktex29
CommonConfig: C:\ProgramData\MiKTeX\2.9
CommonData: C:\ProgramData\MiKTeX\2.9
Außerdem muss ich erst den Full-Screen-Modus aktivieren, damit die
DVI-Datei korrekt angezeigt wird. ModernDvi macht keine Probleme.
Es ist auf dieser Stufe bereits eine Postscript-Datei erzeugt worden,
die eine Art doppelte Endung trägt (.out.ps). Das 32-Bit-Programm GSView
5.0 zeigt ein vollkommen weißes Blatt, Evince und GSView 6.0 (64 Bit)
ebenso.
Die Filelist sieht in diesem Fall so aus:
*File List*
scrartcl.cls 2022/07/04 v3.37 KOMA-Script document class (article)
scrkbase.sty 2022/07/04 v3.37 KOMA-Script package
(KOMA-Script-dependent bas
ics and keyval usage)
scrbase.sty 2022/07/04 v3.37 KOMA-Script package
(KOMA-Script-independent b
asics and keyval usage)
scrlfile.sty 2022/07/04 v3.37 KOMA-Script package (file load hooks)
scrlfile-hook.sty 2022/07/04 v3.37 KOMA-Script package (using LaTeX
hooks)
scrlogo.sty 2022/07/04 v3.37 KOMA-Script package (logo)
keyval.sty 2022/05/29 v1.15 key=value parser (DPC)
tocbasic.sty 2022/07/04 v3.37 KOMA-Script package (handling toc-files)
scrsize11pt.clo 2022/07/04 v3.37 KOMA-Script font size class option
(11pt)
typearea.sty 2022/07/04 v3.37 KOMA-Script package (type area)
mathpazo.sty 2020/03/25 PSNFSS-v9.3 Palatino w/ Pazo Math (D.Puga, WaS)
inputenc.sty 2021/02/14 v1.3d Input encoding file
color.sty 2022/01/06 v1.3d Standard LaTeX Color (DPC)
color.cfg 2016/01/02 v1.6 sample color configuration
dvips.def 2017/06/20 v3.1d Graphics/color driver for dvips
dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR)
mathcolor.ltx
babel.sty 2022/07/20 3.78 The Babel package
bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared"
options of b
abel
ngerman.ldf 2021/02/27 v2.13 German support for babel (post-1996
orthograph
y)
babel-ngerman.tex
varioref.sty 2021/07/07 v1.6f package for extended references (FMi)
hyperref.sty 2022-06-20 v7.00s Hypertext links for LaTeX
ltxcmds.sty 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
iftex.sty 2022/02/03 v1.0f TeX engine tests
pdftexcmds.sty 2020-06-27 v0.33 Utility functions of pdfTeX for
LuaTeX (HO)
infwarerr.sty 2019/12/03 v1.5 Providing info/warning/error messages (HO)
kvsetkeys.sty 2019/12/15 v1.18 Key value parser (HO)
kvdefinekeys.sty 2019-12-19 v1.6 Define keys (HO)
pdfescape.sty 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
hycolor.sty 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
letltxmacro.sty 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
auxhook.sty 2019-12-17 v1.6 Hooks for auxiliary files (HO)
nameref.sty 2022-05-17 v2.50 Cross-referencing by name of section
refcount.sty 2019/12/15 v3.6 Data extraction from label references (HO)
gettitlestring.sty 2019/12/15 v1.6 Cleanup title references (HO)
kvoptions.sty 2022-06-15 v3.15 Key value format for package options (HO)
pd1enc.def 2022-06-20 v7.00s Hyperref: PDFDocEncoding definition (HO)
intcalc.sty 2019/12/15 v1.3 Expandable calculations with integers (HO)
etexcmds.sty 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
puenc.def 2022-06-20 v7.00s Hyperref: PDF Unicode definition (HO)
url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc.
bitset.sty 2019/12/09 v1.3 Handle bit-vector datatype (HO)
bigintcalc.sty 2019/12/15 v1.5 Expandable calculations on big
integers (HO)
atbegshi-ltx.sty 2021/01/10 v1.0c Emulation of the original atbegshi
package with kernel methods
hdvips.def 2022-06-20 v7.00s Hyperref driver for dvips
pdfmark.def 2022-06-20 v7.00s Hyperref definitions for pdfmark specials
rerunfilecheck.sty 2022-07-10 v1.10 Rerun checks for auxiliary files (HO)
atveryend-ltx.sty 2020/08/19 v1.0a Emulation of the original
atveryend packa
ge
with kernel methods
uniquecounter.sty 2019/12/15 v1.4 Provide unlimited unique counter (HO)
capt-of.sty 2009/12/29 v0.2 standard captions outside of floats
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
l3backend-dvips.def 2022-08-23 L3 backend support: dvips
formeltest_2022-08-29.out
formeltest_2022-08-29.out
bookmark.sty 2020-11-06 v1.29 PDF bookmarks (HO)
bkm-dvips.def 2020-11-06 v1.29 bookmark driver for dvips (HO)
omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/zplm.
omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/zplm.
omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/zplm.
ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/zplm.
***********
Wenn mittels dvips in TeXMaker eine Postscript-Datei mit der einfachen
Endung .ps erstellt wird,dann gibt TeXmaker die Meldung »Process exited
normally« aus. Die erzeugte Postscript-Datei lässt sich in GSView 5.0
allerdings nicht öffnen. Stattdessen wird der unten wiedergegebene
Bericht ausgegeben. Evince kommt bei dem Versuch, die Postscript-Datei
zu laden, in eine Endlosschleife und GSView 6.0 gibt schlicht die
Meldung »Ghostscript failed to distill PS« aus.
Auf dem Computer existieren zwei Ghostscript-Installationen nebeneinander:
Ghostscipt 9.05 (32 Bit)
Ghostscript 9.65.1 (64 Bit)
gs9.05 wird von GSView 5.0 und gs 9.65.1 von GSView 6.0 verwendet.
Nach der Erzeugung einer PDF-Datei mit ps2pdf in TeXMaker gibt TeXMaker
die Meldung »Process exited normally« aus. Im Adobe Acrobat Reader DC
(64 Bit) ist dann ein vollkommen leeres Blatt zu sehen.
Alle erzeugten Dateien bis auf die .tex-Datei selbst habe ich dann
wieder gelöscht und mit latex und dvipdfm in zwei Schritten aus TeXMaker
heraus eine PDF-Datei erzeugt. Das funktioniert ohne Probleme.
In den Einstellungen von TeXMaker gibt es die folgenden relevanten
Befehls- und Pfadangaben:
dvips:
dvips -Pdownload35 -o %.ps %.dvi
ps2pdf:
ps2pdf %.ps
dvipdfm:
dvipdfm %.dvi
GhostScript:
"C:/Program Files/gstools/gs9.56.1/bin/gswin64.exe"
External Viewer:
"C:/Program Files/Adobe/Acrobat DC/Acrobat/Acrobat.exe" %.pdf
Alle Schritte habe ich auch in Kile 3 beta 3 auspobiert. Die Ergebnisse
sind in jedem Schritt identisch.
Insgesamt ist das schon ziemlich schräg. Es scheint keine Probleme mehr
mit DVI zu geben (oder fast keine), dfür aber welche mit Postscript und
zwar bereits bei der Datei mit der Doppelendung .out.ps. Ich frage mich,
woran das liegen könnte.
Viele Grüße
Marcus
--- Beginn Bericht GSView 5.0 ---
GSview 5.0 2012-01-17
Unknown in Comments section at line 8:
%%DocumentFonts: URWPalladioL-Roma PazoMath CMR10 PazoMath-Italic
Unknown in Comments section at line 9:
%%+ URWPalladioL-Ital
Unknown in Prolog section at line 66:
%%
Unknown in Prolog section at line 67:
%% This is file `l3backend-dvips.pro',
Unknown in Prolog section at line 68:
%% generated with the docstrip utility.
Unknown in Prolog section at line 69:
%%
Unknown in Prolog section at line 70:
%% The original source files were:
Unknown in Prolog section at line 71:
%%
Unknown in Prolog section at line 72:
%% l3backend-header.dtx (with options: `header,dvips')
Unknown in Prolog section at line 73:
%%
Unknown in Prolog section at line 74:
%% Copyright (C) 2019-2022 The LaTeX Project
Unknown in Prolog section at line 75:
%%
Unknown in Prolog section at line 76:
%% It may be distributed and/or modified under the conditions of
Unknown in Prolog section at line 77:
%% the LaTeX Project Public License (LPPL), either version 1.3c of
Unknown in Prolog section at line 78:
%% this license or (at your option) any later version. The latest
Unknown in Prolog section at line 79:
%% version of this license is in the file:
Unknown in Prolog section at line 80:
%%
Unknown in Prolog section at line 81:
%% https://www.latex-project.org/lppl.txt
Unknown in Prolog section at line 82:
%%
Unknown in Prolog section at line 83:
%% This file is part of the "l3backend bundle" (The Work in LPPL)
Unknown in Prolog section at line 84:
%% and all files in that bundle must be distributed together.
Unknown in Prolog section at line 85:
%%
Unknown in Prolog section at line 86:
%% File: l3backend-header.dtx
Unknown in Prolog section at line 468:
%%
Unknown in Prolog section at line 469:
%%
Unknown in Prolog section at line 470:
%% End of file `l3backend-dvips.pro'.
Unknown in Prolog section at line 758:
%%CreationDate: Wed Dec 22 1999
DSC Information
At line 769:
/Notice ((URW)++,Copyright 1999 by (URW)++ Design & Development. See
the file COPYING (GNU General Public License) for license conditions. As
a special exception, permission is granted to include this font program
in a Postscript or PDF file that consists
Lines in DSC documents must be shorter than 255 characters.
Unknown in Prolog section at line 1262:
%%CreationDate: Wed Dec 22 1999
Unknown in Prolog section at line 1429:
%%Title: CMR10
Unknown in Prolog section at line 1431:
%%CreationDate: Mon Jul 13 16:17:00 2009
Unknown in Prolog section at line 1432:
%%Creator: David M. Jones
Unknown in Prolog section at line 1438:
%%EndComments
Unknown in Setup section at line 1689:
%%BeginPaperSize: a4
Unknown in Setup section at line 1694:
%%EndPaperSize
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file
C:/Users/pili-gloeder/Documents/Test/formeltest_2022-08-29.ps
Displaying page 1
Error: /undefined in FitBH
Operand stack:
--nostringval-- PageMode UseOutlines Page 1 View
--nostringval-- XYZ --nostringval-- --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
false 1 %stopped_push 1926 1 3 %oparray_pop 1925 1
3 %oparray_pop 1909 1 3 %oparray_pop 1803 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2
--nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
--nostringval--
Dictionary stack:
--dict:1176/1684(ro)(G)-- --dict:0/20(G)-- --dict:110/200(L)--
--dict:180/300(L)-- --dict:34/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
--- Begin offending input ---
%%Page: 1 1
TeXDict begin 1 0 bop 0 0 a
SDict begin [/Producer (dvips + Distiller)/Title ()/Subject ()/Creator
(LaTeX with hyperref)/Author ()/Keywords () /DOCINFO pdfmark end
0 0 a 0 0 a
SDict begin /product where{pop product(Distiller)search{pop pop pop
version(.)search{exch pop exch pop(3011)eq{gsave newpath 0 0 moveto
closepath clip/Courier findfont 10 scalefont setfont 72 72 moveto(.)show
grestore}if}{pop}ifelse}{pop}ifelse}if end
0 0 a 0 TeXcolorgray
136 -217 a
SDict begin H.S end
136 -217 a 136 -217 a
SDict begin H.R end
136 -217 a 136 -217
a
SDict begin [/View [/XYZ H.V]/Dest (page.1) cvn /DEST pdfmark end
136 -217 a Black Black Black 144 102 a
SDict begin [/PageMode /UseOutlines/Page 1/View [/XYZ null null FitBH]
/DOCVIEW pdfmark end
144 102 a 144
102 a
SDict begin [ {Catalog}<<>> /PUT pdfmark end
144 102 a 144 102 a
SDict begin H.S end
144 102 a 144 102 a
SDict begin 13.6 H.A end
144 102
a 144 102 a
SDict begin [/View [/XYZ H.V]/Dest (Doc-Start) cvn /DEST pdfmark end
144 102 a 235 193 a Ff
--- End offending input ---
file offset = 85768
gsapi_run_string_continue returns -101
--- Ende Bericht GSView 5.0 ---
--
PMs an: [email protected]
--
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l