Help,
I am trying to debug an error that I get using textogif. I have run textogif
only to find that it makes it to the Ghostscript stage only to fail. So I
resolved to running each stage independently to find out what happens. The file
below is the one I'm trying to process.
-- math.tex --
\documentstyle[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{displaymath}
\bf
\zeta(s) = \sum_{n=1}^\infty {1\over n^s}
= \prod_{p \rm\ prime} (1 - 1/p^s)^{-1}
\end{displaymath}
\end{document}
-- end math.tex --
What's below are the indiviual stage outputs. The error occurs in the
Ghostscript stage. The versions that I am using are
Perl: This is perl, version 5.004_04
Tex: This is TeX, Version 3.1415 (C version 6.1)
LaTeX2e: LaTeX2e <1994/12/01> patch level 1
DVIPS: This is dvipsk 5.55a Copyright 1986
GS: Aladdin Ghostscript 5.50 (1998-9-16)
pstoppm: version with GS 3.53
version with GS 4.03
-- LaTeX --
% /usr/local/bin/latex math
This is TeX, Version 3.1415 (C version 6.1)
(math.tex
LaTeX Version 2.09 <25 March 1992>
(/afs/eos.ncsu.edu/contrib/tex/lib/texmf/tex/latex/base/article.sty
Document Style `article' <16 Mar 88>.
(/afs/eos.ncsu.edu/contrib/tex/lib/texmf/tex/latex/base/art12.sty))
No file math.aux.
[1] (math.aux) )
Output written on math.dvi (1 page, 704 bytes).
Transcript written on math.log.
-- end LaTeX --
-- DVIPS --
% /usr/local/bin/dvips -f math > _temp_test.ps
This is dvipsk 5.55a Copyright 1986, 1994 Radical Eye Software
' TeX output 1999.02.16:2122' ->
<texc.pro>. [1]
-- end DVIPS --
-- Ghostscript --
% /afs/eos.ncsu.edu/contrib/gnu/bin/gs -q -sDEVICE=ppmraw \
/afs/eos.ncsu.edu/contrib/gnu/src/gs3.53/pstoppm.ps
Usage: (file) ppmNrun
converts file.ps to file.ppm (single page),
or file.1ppm, file.2ppm, ... (multi page).
N is # of bits per pixel (1, 8, or 24).
Examples: (golfer) ppm1run ..or.. (escher) ppm8run
Optional commands you can give first:
horiz_DPI vert_DPI ppmsetdensity
horiz_inches vert_inches ppmsetpagesize
(dirname/) ppmsetprefix
page_num ppmsetfirstpagenumber
GS>300 300 ppmsetdensity
GS>(_temp_test) ppm1run
Writing _temp_test.ppm
Error: /undefined in writeppmfile
Operand stack:
--nostringval-- --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
%loop_continue 2 3 %oparray_pop --nostringval-- --nostringval--
false 1 %stopped_push .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1
3 %oparray_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 0
4 %oparray_pop --nostringval-- 0 4 %oparray_pop --nostringval--
--nostringval-- --nostringval--
Dictionary stack:
--dict:904/941(G)-- --dict:0/20(G)-- --dict:62/200(L)--
--dict:99/250(L)-- --dict:24/30(L)--
Current allocation mode is local
Current file position is 7299
GS>quit
-- end Ghostscript --
Notice that the offending line is GS>(_temp_test) ppm1run. Any help on this
would be greatly appreciated. I've attached all of the intermediate files if
they are of any help. _temp_test.ppm contains no data.
Sincerely,
Ben Heard
--
Benjamin Heard email: [EMAIL PROTECTED]
.-------------------------------------------------------------------------.
| Contact Info: 232 Daniels Hall _( )_ |.
| Box 7911 NCSU |_ _| ||
| Raleigh, NC 27695-7911 / " \ ||
| (ph) 919 512 1318 _/ /_\ \_ ||
| (fx) 919 515 5523 |___ ___| ||
| Instructor: ECE214 Fundamentals of Logic Design |_| ||
`-------------------------------------------------------------------------'|
`-------------------------------------------------------------------------'
postscript document
\relax
binary file
This is TeX, Version 3.1415 (C version 6.1) (format=lplain 94.4.29) 16 FEB 1999 21:37
**math
(math.tex
LaTeX Version 2.09 <25 March 1992>
(/afs/eos.ncsu.edu/contrib/tex/lib/texmf/tex/latex/base/article.sty
Document Style `article' <16 Mar 88>.
(/afs/eos.ncsu.edu/contrib/tex/lib/texmf/tex/latex/base/art12.sty)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
)
No file math.aux.
[1
] (math.aux) )
Here is how much of TeX's memory you used:
144 strings out of 11977
1435 string characters out of 87034
26061 words of memory out of 262141
2104 multiletter control sequences out of 9500
18996 words of font info for 72 fonts, out of 100000 for 255
14 hyphenation exceptions out of 607
12i,4n,15p,145b,54s stack positions out of 300i,40n,60p,3000b,4000s
Output written on math.dvi (1 page, 704 bytes).
\documentstyle[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{displaymath}
\bf
\zeta(s) = \sum_{n=1}^\infty {1\over n^s}
= \prod_{p \rm\ prime} (1 - 1/p^s)^{-1}
\end{displaymath}
\end{document}