Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!uunet!mcsun!ukc!edcastle!lfcs!ajcd From: ajcd@lfcs.ed.ac.uk (Angus Duggan) Newsgroups: comp.windows.news Subject: Re: BLowing up Psview Summary: I've done it, and will post or mail if anyone wants it. Keywords: psview dvi dvilaser/ps Message-ID: <439@castle.ed.ac.uk> Date: 19 Sep 89 11:21:43 GMT References: <4349@emory.mathcs.emory.edu> Sender: root@castle.ed.ac.uk Reply-To: ajcd@lfcs.ed.ac.uk (Angus Duggan) Followup-To: comp.windows.news Organization: Laboratory for the Foundations of Computer Science, University of Edinburgh Lines: 28 In-reply-to: km@mathcs.emory.edu (Ken Mandelberg) Yes, I've not only thought about it, I've done it. The local version of psview has scroll bars, enlarge and reduce (by a fixed factor, but multiple enlargements/reductions are possible), European page sizes specifiable from the command line (by the -a[0-6] switch), and a hack to allow previewing of postscript files produced by ArborText's DVILASER/PS (version 4.0.6) dvi converter. There is also a box facility, which you can use to draw a frame around any part of the picture, and the dimensions and offset of the frame will be displayed in inches, centimetres, or PostScript points (1/72 in). The dvi hack requires an altered prologue for DVILASER/PS, and a simple program (called psmung) to make the output PostScript closer to conforming PostScript (however, ArborText has said that the latest version of DVILASER/PS will produce conforming files). If there is enough interest, I will post diffs to psview, and the other required parts for dvi previewing. I am prepared to mail this stuff out to individuals also, but please be patient, I am very busy just now. Warning: altering psview was the first time I used LiteItems, or tried to do anything much with overlay canvases, so the code is probably pretty grotty. I had one problem with overlay canvases, which was that I couldn't reshape them, and had to create a new one each time they needed reshaping. Is this a known problem, or am I just doing it wrong? Angus Angus Duggan, Department of Computer Science, | (C) AJCD 1989 University of Edinburgh, JCMB, | USENET: ajcd@lfcs.ed.ac.uk The King's Buildings, Mayfield Road, | JANET: ajcd@uk.ac.ed.lfcs Edinburgh, EH9 3JZ, Scotland. | OR: ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk