• =?UTF-8?B?UmU6IGNvbnZlcnQgdGhpcyBQb3N0U2NyaXB0IGZpbGUgdG8gb25lIHdoaWNo?= =?UTF-8?B?IHdvcmtzIHdpdGggXGluY2x1ZGVncmFwaGljcw==?=

    From helbig@helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) to comp.lang.postscript,comp.text.tex on Wed Jan 27 08:53:22 2021
    From Newsgroup: comp.lang.postscript

    In article <MPG.3a7b2d8488376b989898c2@usenet.plus.net>, ken
    <ken@spamcop.net> writes:

    Is it not encapsulated PostScript?

    No, it is not. It isn't an EPS file it's a straight-forward PostScript program.

    If that is the problem, can
    ghostscript create such a file from a PDF file.

    The version of Ghostscript you are using (9.02), no. There are any
    number of problems with what you are doing there, not least the poor
    quality of output of the pswrite device. Also (as Peter Flynn point out)
    the program includes a showpage which is not legal in an EPS program
    (which this isn't) and causes the page to be flushed leading to your problem.

    My advice would be to upgrade to a recent version of Ghostscript (9.02
    is fast approaching it's 10th birthday) and use the eps2write device to create an EPS file from the PDF instead of the (deprecated and now
    removed) pswrite device.

    That will produce a better quality PostScript output, and it will be an
    EPS file.

    I definitely plan to upgrade, probably before summer, but unfortunately
    don't have the time now.

    If someone can email me (how to remove the spam block should be
    obvious), I can send you a PDF file and you can send me a PostScript
    file back.

    I admit that I don't fully understand when showpage is needed and when
    not. Certainly \includegraphics does display some PostScript files with
    the showpage command.

    Or is there some online converter which would do what I want?

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From helbig@helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) to comp.lang.postscript,comp.text.tex on Fri Jan 29 12:45:48 2021
    From Newsgroup: comp.lang.postscript

    In article <63cd87bf-2f6f-e4b4-9f45-e46368c1d109@pakin.org>, Scott Pakin <scott+ctt@pakin.org> writes:
    On 1/27/21 1:53 AM, Phillip Helbig (undress to reply) wrote:
    I definitely plan to upgrade, probably before summer, but unfortunately don't have the time now.

    If someone can email me (how to remove the spam block should be
    obvious), I can send you a PDF file and you can send me a PostScript
    file back.

    Just to show off, here's a version of your file as run through my
    purifyeps script (https://www.ctan.org/tex-archive/support/purifyeps).
    This image can be included by both latex+dvips *and* pdflatex. (See purifyeps.pdf for the magic incantation needed to convince pdflatex that
    it can load an EPS file.)

    Thanks. I ran my PDF file through an online converter, which allegedly converts to EPS. After removing the showpage command, it works, but it appears that the bounding box is incorrect. Maybe your version is
    better; I'll check.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From helbig@helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) to comp.lang.postscript,comp.text.tex on Sat Jan 30 20:28:27 2021
    From Newsgroup: comp.lang.postscript

    In article <i7l80lFjr52U2@mid.individual.net>, Dr Eberhard W Lisse <nospam@lisse.NA> writes:

    If it was a PDF, whi not include the PDF in the first place?

    Because there are many PostScript files to be included. So convert one
    PDF to PostScript, or several PostScript to PDF.

    --- Synchronet 3.21d-Linux NewsLink 1.2