[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lenny. How to join multiply Postscript files into one document?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Goldshtein wrote:
> On Fri, Apr 10, 2009 at 9:53 AM, Stefan Monnier
> <monnier@iro.umontreal.ca> wrote:
>>> Would you, please, help me to join multiple Postscript files into one
>>> document? I have several *.ps files  with formatted text and
>>> illustrations and want to collect them into a single document.
>> Not sure what the resulintg document should look like, but if by
>> "collect" you mean "append the pages", then "cat" might do the trick
>> (the resulting document should be proper Postscript but will not follow
>> the "Document Structuring Conventions").
> 
> Yes, thank you, I do mean "append the pages", but 'cat' also do not
> produces a good result. Probably, all pages from all files are there,
> but I can not see them. Only pages from the first document in a row. I
> am using 'evince' to display the pages.
> 
> As you have mentioned, resulting file is not follow the "Document
> Structuring Conventions".

*.ps files are source code of an interpreted language Postscript.
Usually they contain quite a bit of definitions, fonts etc. before pages
themselves are described. In general PS files can't be just concatenated
and still expected to make sense for the interpreter. The way to join PS
files should incorporate a Postscript interpreter. Ghostscript perhaps?.

- --
Sarunas Burdulis
Systems Administrator
Department of Mathematics, Dartmouth College
http://math.dartmouth.edu/~sarunas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknfW+UACgkQejaFVltl6E/y9ACgrMi9GqBC2uOsNWl6GMhEuWbO
JosAnjUFynO4xlsIXc2XkJWA9O9jHSFn
=rQUV
-----END PGP SIGNATURE-----


Reply to: