From: John Culleton <john@wexfordpress.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Flaky pdf file.
Date: Fri, 26 Sep 2008 14:00:46 -0400 [thread overview]
Message-ID: <200809261400.46983.john@wexfordpress.com> (raw)
Recent texlive 2008 installed on Linux Slackware 12.0 system.
I have a file that I can process via texexec and which shows up fine
on my Acrobat Reader, kpdf or xpdf. However another person using
(probably) Windows keeps getting corrupt file errors when he tries
to read it. And when I try to run the output pdf through pdf2ps it
blows up with this message:
---------------------------------------------------------------------------------
**** Warning: An error occurred while reading an XREF table.
**** The file has been damaged. This may have been caused
**** by a problem while converting or transfering the file.
**** Ghostscript will attempt to recover the data.
ERROR: /undefined in /BXlevel
Operand stack:
1 --dict:6/6(ro)(G)-- 8¬ÎµÈ¶dm
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 --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
false
1 %stopped_push --nostringval-- %loop_continue --nostringval--
Dictionary stack:
--dict:1119/1686(ro)(G)-- --dict:0/20(G)-- --dict:107/200
(L)-- --dict:107/200(L)-- --dict:104/127(ro)
(G)-- --dict:241/347(ro)(G)-- --dict:18/24(L)--
Current allocation mode is local
ESP Ghostscript 815.04: Unrecoverable error, exit code 1
---------------------------------------------------------------
Other pdf files on my system, built on other computers etc. process
fine through pdf2ps. I took out all the advanced stuff, such as
bookmarks, interaction and urls but I still get the same kind of
error. An old pdf version of the file, dating back to February, also
blows up.
The preamble to the file plus dummy text looks like this:
--------------------------------
\setupoutput[pdftex]
\setupindenting[none]
\setupwhitespace[medium]
\frenchspacing
\setupcolors[state=start]
\setuphead[chapter][head=nomarking,number=no]
\setuphead[section][number=no,textcommand=\bf]
\setuphead[subsection][number=no]
\setuphead[subsubsection][number=no]
%\setupinteraction[state=start,color=blue]
\setuplist[section][alternative=f,style=bold,interaction=no]
\setuplist[subsection][alternative=f,interaction=no]
\setuplist[subsubsection][alternative=c,interaction=no]
\starttext
foo
\stoptext
--------------
This blows up on pdf2ps also.
I just created a dummy pdftex file, compiled it, then converted it
with pdf2ps with no problem.
Either there is an error in my preamble or something fishy with
Context. Thoughts?
--
John Culleton
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2008-09-26 18:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 18:00 John Culleton [this message]
2008-09-26 18:45 ` luigi scarso
2008-09-26 21:29 ` John Culleton
2008-09-26 21:47 ` luigi scarso
2008-09-26 21:53 ` Taco Hoekwater
2008-09-26 22:15 ` luigi scarso
2008-09-26 23:10 ` John Culleton
2008-09-26 23:49 ` John Culleton
2008-09-27 7:30 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809261400.46983.john@wexfordpress.com \
--to=john@wexfordpress.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).