mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Re: TeXmacs 1.0.7.7 generating bad PDF, unlike 1.0.7.3 ("Oh, help and bother!")


Chronological Thread 
  • From: address@hidden
  • To: address@hidden
  • Subject: Re: [TeXmacs] Re: TeXmacs 1.0.7.7 generating bad PDF, unlike 1.0.7.3 ("Oh, help and bother!")
  • Date: Sat, 13 Aug 2011 17:57:58 -0400 (EDT)

See http://savannah.gnu.org/bugs/?30120 for the cause of this bug: TeXmacs is being configured without access to ghostscript. Still, PDF export ought to be disabled instead of producing PS files.

On Fri, 12 Aug 2011, David G. Wonnacott wrote:

Hi Paul,

Many, many thanks for your quick reply. I now have a .pdf that even lulu.com
likes.

I think there is a "user interface bug" in TeXmacs 1.0.7.7, though ... I
checked-and I definitely get that ps-content-with-pdf-name file when I click on the disk
icon and choose "Export
as PDF". If I do "File->Export->PDF" I get the same thing.

Dave W

On 08/12/2011 08:53 AM, Paul Zarucki wrote:
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



--

Electronic Equipments Ltd.
101 Ridgeway Avenue, Dunstable, Bedfordshire, LU5 4QN, United Kingdom
T: +44 (0) 1582 511335 - F: +44 (0) 870 235 1877
E: address@hidden
W: www.electronic-equipments.co.uk

Technical Services




--
Russell O'Connor <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''


Archive powered by MHonArc 2.6.19.

Top of page