RE: [xep-support] Rendering DocBook sets as multiple documents

From: Kevin Yank (
Date: Mon Sep 08 2003 - 17:37:09 PDT

  • Next message: Bob Stayton: "Re: [xep-support] Rendering DocBook sets as multiple documents"

    Thanks to both Ken and Bob for their insights. I should have mentioned that
    I don't need a fully automated solution. This is an occasional, fully
    monitored process that must result in standard PostScript files destined for

    Not having an intimate knowledge of the PostScript format (I generally
    convert them to PDF with Acrobat Distiller for viewing), I didn't know how
    easy it would be to split two documents out of a single file. Although I'm
    not opposed in principle to hand editing the PostScript files, I'll probably
    go in search of a tool that I can use to perform the document splitting in a
    less error-prone manner.

    -Kevin Yank.


    [] On Behalf Of Bob Stayton
            Sent: Monday, 8 September 2003 5:41 PM
            Subject: Re: [xep-support] Rendering DocBook sets as multiple

            On Sun, Sep 07, 2003 at 09:22:12PM -0400, G. Ken Holman wrote:
    > Would you accept a single PostScript file with both volumes, the
    second one
    > starting at page 1, and splitting the resulting file in two? Or
    creating a
    > PDF from the PDF and then splitting the PDF into two using a
    > available PDF library like iText?
    > [...]
            You don't need a library. Properly structured PostScript
            like XEP's is trivial to split up. I've used Perl or even
            awkward awk. First, There is the prolog at the beginning
            of the file that needs to get stuffed into both of the
            output files:

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Mon Sep 08 2003 - 17:41:56 PDT