unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Brian Blackmore <blb8@po.cwru.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Splitting 2 pages/page landscape postscript file into two single page portrait pages
Date: Sat, 13 Oct 2007 19:27:39 +0000 (UTC)	[thread overview]
Message-ID: <fer67a$mfg$1@gnus01.u.washington.edu> (raw)
In-Reply-To: 1192140899.043658.176980@50g2000hsm.googlegroups.com

In comp.text.tex Ross Presser <rpresser@gmail.com> wrote:
> On Oct 10, 4:30 pm, vasan...@hotmail.com wrote:
> > Hi, I am a newbie.
> >
> > I have a book.ps file which has all the pages, having two facing pages
> > per portrait page like this:
> >
> > +---------------+--------------+
> > |                 |               |
> > |                 |               |
> > +---------------+--------------+
> >
> > I want to split the two pages. I dont want to scan the pages and then
> > make bulky images out of compact pdf file. The file was generated from
> > a dvi and latex that are no longer available. The
> > author has died. The ps was made to save the number of printed
> > pages in an era before pdf.
> >
> > So there are two problems:
> > (1) split the ps into single pages
> > (2) split each page in the center to to two successive pages.
> > (3) then combine all the ps
> > (4) I would like the ps to be converted to pdf so that it is
> > searcheable, if possible.
> >
> > Steps 1-2 are the most important.
> >
> > Vasantha

> I can't help but think that all the solutions proposed so far are
> overthinking the problem. There are only a few good ways to 2-up a
> document in postscript, and it seems likely that a suitable perl
> script (or, if you're insane like Don Lancaster, a postscript program)
> could do the job without having to go through a PDF phase.

It's easy to think this because you're correct.  It would be nice to see
the first few pages, as was requested, simply so we could discern what
2-upper was used.  If the document was created through a reasonable
process like latex->dvips->psnup, then the data should nicely be in
unmunged form whence all that is required is to remove the two-up stuff,
which is easily found after the %%EndSetup as the PStoPS stuff.  In this
case, the pages are preserved (TeXDict begin ... bop ... eop end) so
removing the PStoPS rotation/scaling is all that's required.

Incidentally, I'm sure it would be fairly easy to right a postscript
header that would disable the PStoPS commands and create the same
effect.  :)

It seems to me that going through PDf, etc., is way overkill, and likely
to cause more problems.  The ability to search PDf is, of course,
somewhat dependent on the fonts used; the more steps you carry out, the
more likely it is that it becomes bitmapped.

If you just want to search, I suggest ps2ascii or a more capable
document (postscript) viewer.

-- 
Brian Blackmore
blb8 at po dot cwru dot edu

  reply	other threads:[~2007-10-13 19:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 20:30 Splitting 2 pages/page landscape postscript file into two single page portrait pages vasan999
2007-10-11 11:41 ` Helge Blischke
2007-10-11 12:25   ` Hector C
2007-10-11 12:28 ` J.S.Milne
2007-10-11 22:14 ` Ross Presser
2007-10-13 19:27   ` Brian Blackmore [this message]
2007-10-12 11:01 ` Alexey Pustyntsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fer67a$mfg$1@gnus01.u.washington.edu' \
    --to=blb8@po.cwru.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).