Hi,
Your file list-in-fig-TeXmacs1_0_7_7.pdf is, in fact, a PostScript
file. Rename it to "...ps" and it opens correctly. Run it through
ps2pdf and the size comes down to 23K.
Regards,
Paul.
On 12/08/11 13:37, David G. Wonnacott wrote:
I
am working my way through my work-arounds ... evince refuses to print
the document. The "gv" previewer on Linux is more descriptive of
errors, and says of the errors:
$ gv list-in-fig-small.pdf
Warning: translation table syntax error: Unknown keysym name:
apLineDel
Warning: ... found while parsing '<Key>apLineDel:
GV_Page(page+5) '
Warning: String to TranslationTable conversion encountered errors
Warning: Cannot convert string
"-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type
FontStruct
Warning: Cannot convert string
"-*-Helvetica-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type
FontStruct
Warning: Cannot convert string
"-*-Helvetica-Medium-R-Normal--*-100-*-*-P-*-ISO8859-1" to type
FontStruct
Warning: Cannot convert string
"-*-Helvetica-Bold-R-Normal--*-120-*-*-P-*-ISO8859-1" to type
FontStruct
I'm going to switch to MacOS and try some stuff...
My last-ditch workaround (before giving up and going with last year's
notes) is to try to back-port to TeXmacs 1.0.7.3, but when I tried this
a while ago, it was tricky. Among other things, all things marked
"<postscript" in the old version are now "<image"; I could put
those back in "view source" mode, but I'm not sure if there are other
things I'd need to do too.
Dave W
On 08/12/2011 08:27 AM, David G. Wonnacott wrote:
Hi fellow TeXmacs users,
I am in the last stages of preparing course notes for the fall and find
I cannot upload them to lulu.com because of complaints about corrupted
pdf. "evince" on Ubuntu 11.04 also complains (see below), so I think
this is not a problem at lulu.com. With TeXmacs 1.0.7.7, I have this
problem; with 1.0.7.3 both evince and lulu like my PDF.
I have several ideas for possible workarounds (load and print it from
evince or Apple Preview or Adobe Distiller, or export to LaTeX from
TeXmacs and see how that does, or save from TeXmacs as postscript and
use ps2pdf), but I've not yet had a chance to try these and I'm not
*sure* any of them will work. This seems to me the sort of thing that
might be higher priority than my previous problems.
I have attached PDF files from the file "list-in-fig.tm", which was the
subject of a question days (weeks?) ago. I have the PDF from both
1.0.7.7 and 1.0.7.3, as well as one (list-in-fig-small.pdf) in which I
took out the list is a figure that was causing margin overruns, in case
that was the source of the problem. According to evince and lulu,
everything I submit from TeXmacs 1.0.7.7 is bad.
Here is what evince has to say:
$ evince list-in-fig-small.pdf
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
Note also that the new TeXmacs produces PDF files about 1/2M in size,
whereas the old produced about 22K.
Thanks for any help you can provide,
Dave Wonnacott
|