[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gv] [bug #13200] pdf problems with gv
From: |
anonymous |
Subject: |
[bug-gv] [bug #13200] pdf problems with gv |
Date: |
Thu, 26 May 2005 15:57:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2) |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13200>
Summary: pdf problems with gv
Project: GNU gv
Submitted by: None
Submitted on: Thu 05/26/2005 at 11:57
Category: PDF rendering
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
Consider this latex code:
\documentclass[12pt]{article}
\begin{document}
hello there.
\end{document}
Compile the code and run gv on the resulting pdf file (assume gv "watches"
the pdf file so that the pdf file gets reloaded when it changes):
$ pdflatex blah.tex
$ gv blah.pdf &
Whenever you add or subtract text to the pdf document, gv displays an error
message. For example, if I added the line "goodbye":
\documentclass[12pt]{article}
\begin{document}
hello there.
goodbye.
\end{document}
and recompile:
$ pdflatex blah.tex
gv displays a pop-up window with the error message:
Error: /syntaxerror in --token--GPL Ghostscript 8.01: Unrecoverable error,
exit code 1
Operand stack:
--dict:5/5(L)-- false DefaultGray DefaultGray ColorSpace
--dict:5/5(L)-- Resources 162 1 0 1 -1.10b --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
%--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
%--nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1
%3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
%.runexec2 --nostringval-- --nostringval-- --nostringError:
%/syntaxerror in readxrefentry
Operand stack:
--dict:5/5(L)-- false DefaultGray DefaultGray ColorSpace
--dict:5/5(L)-- Resources 162 1 0 1 stream endobj
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
%--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
%--nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1
%3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
%.runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%%stopped_push --nostringval-- --nostringval-- --nostringval--
%--nostringval-- --nostringval-- %packedarray_continue
%--nostringval-- --nostringval-- --nostringval-- --nostringval--
%--nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1053/1123(ro)(G)-- --dict:0/20(G)-- --dict:74/200(L)--
--dict:100/127(ro)(GGPL Ghostscript 8.01: Unrecoverable error, exit code 1
)-- --dict:230/230(ro)(G)-- --dict:20/24(L)--
Current allocation mode is local
Click the pop-up's "dismiss" button. gv's main window is blank.
Now if I manually reload the document with "Right click | Reload", the pdf
document reloads and displays correctly!
It's wierd -- as if gv initially has a problem interpreting the pdf file, but
when it reloads the pdf, it parses everything correctly.
The problem happens even when gv isn't instructed to watch the pdf file. For
example:
1. Click "State | Watch File" to disable watching.
2. Remove "goodbye":
\documentclass[12pt]{article}
\begin{document}
hello there.
\end{document}
3. Recompile:
$ pdflatex blah.tex
4. Reload the pdf file with "Right click | reload"
5. A pop-up appears with the error message:
Current allocation mode is local
Error: /syntaxerror in readxrefentry
...
(stack output removed for brevity)
6. Click "Dismiss" to dismiss the pop-up. gv's main window is blank.
7. Again, click "Right click | reload"
8. The pdf file reloads and displays correctly.
This problem occurs on all my systems (Debian/testing, Debian/unstable).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13200>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug-gv] [bug #13200] pdf problems with gv,
anonymous <=