Re: How to edit postscript?
Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? I've not tried this myself but you might want to check out pstoedit and edit the result with xfig. According to the docs pstoedit will also produce Latex2e O/P. Tom. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:+44 (0) 1784 472794
Re: How to edit postscript?
Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? I've not tried this myself but you might want to check out pstoedit and edit the result with xfig. According to the docs pstoedit will also produce Latex2e O/P. Tom. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:+44 (0) 1784 472794
Re: How to edit postscript?
> Dear list, > > I have a document that is confidential, and I will export it when > finished into postscript. > > I would then like to take the postscript and either put black boxes over > the confidential stuff or remove it. But what remains must be > pixel-accurate compared to the uncencored version - if possible. > > I figure this is possible in ps, just subtract text and add box objects > - but I have no idea how to do it. > > Are there any editors I can get my hands on that will do that? I've not tried this myself but you might want to check out pstoedit and edit the result with xfig. According to the docs pstoedit will also produce Latex2e O/P. Tom. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:+44 (0) 1784 472794
How to edit postscript?
Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? Thanks heaps! Have fun, Darren Freeman
Re: How to edit postscript?
On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. -- L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Re: How to edit postscript?
On Tue, 2002-10-29 at 06:57, Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. Yes it would, and it wouldn't be something you could throw at a printer and get optimal resolution etc. Plus storing it would suck =) I'd have to carry it on CD if I rendered to 600 dpi times 60 pages =) What I really want is to edit the PS file itself, and save as PS without the text that was covered up - then I could post the result on the Web without people accessing the hidden text from the PS. It seems like such a simple request, too! I mean, I've seen people edit PS by hand to move things in figures, but never to the scale I'm talking about. But it should be possible... L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html BTW I read the link in your signature, and I agree. I'll make a similar (identical?) signature for myself shortly. Have fun, Darren
Re: How to edit postscript?
Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. You can then achieve your censoring effect by changing the background colour of the text to black while still in LyX (though of course this wouldn't work if you're distributing the .ps file rather than a printout, since anyone with a text editor could read the file directly). The only workaround I could think of in that case would be to convert it into some impenetrable binary format (even PDF is convertable to text, though the average non-UNIX, non-DTP professional probably won't know this). The problem with editing the .ps file is that unless you use a fixed-width font, it's virtually impossible to calculate the exact length of your blank. I said virtually - it depends on how much of yur life you want to spend learning PostScript. Robin -- A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind. - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: How to edit postscript?
On Tue, Oct 29, 2002 at 06:19:48AM +1030, Darren Freeman wrote: Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? Perhaps Adobe Illustrator can read/write arbitrary Postscript. Also pstoedit can convert from Postscript to other editable formats. But perhaps the best option is to put the text you want to omit inside \hidetext{} command, and add to the preamble \usepackage{soul,texpower} %\newcommand{\hidetext}[1]{#1} If you do want to show the hidden text, add a % before the first line, and remove the % before the 2nd one.
Re: How to edit postscript?
On Tue, 2002-10-29 at 08:15, Dekel Tsur wrote: On Tue, Oct 29, 2002 at 06:19:48AM +1030, Darren Freeman wrote: Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? Perhaps Adobe Illustrator can read/write arbitrary Postscript. Also pstoedit can convert from Postscript to other editable formats. Don't have it =( But perhaps the best option is to put the text you want to omit inside \hidetext{} command, and add to the preamble \usepackage{soul,texpower} %\newcommand{\hidetext}[1]{#1} Does that cause the hidden text to take up the same amount of space, or would formatting be altered by hiding it? Also would I need to go and look for that package or is it pretty much standard? If you do want to show the hidden text, add a % before the first line, and remove the % before the 2nd one. I'll try it later.. thanks Have fun, Darren
Re: How to edit postscript?
On Tue, 2002-10-29 at 09:04, Robin Turner wrote: Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. You can then achieve your censoring effect by changing the background colour of the text to black while still in LyX (though of course this wouldn't work if you're distributing the .ps file rather than a printout, since anyone with a text editor could read the file directly). Good idea, at the minimum I need the printout in a *hurry* to have it bound. The rest I can sit on if need be =) Robin Thanks
How to edit postscript?
Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? Thanks heaps! Have fun, Darren Freeman
Re: How to edit postscript?
On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. -- L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Re: How to edit postscript?
On Tue, 2002-10-29 at 06:57, Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. Yes it would, and it wouldn't be something you could throw at a printer and get optimal resolution etc. Plus storing it would suck =) I'd have to carry it on CD if I rendered to 600 dpi times 60 pages =) What I really want is to edit the PS file itself, and save as PS without the text that was covered up - then I could post the result on the Web without people accessing the hidden text from the PS. It seems like such a simple request, too! I mean, I've seen people edit PS by hand to move things in figures, but never to the scale I'm talking about. But it should be possible... L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html BTW I read the link in your signature, and I agree. I'll make a similar (identical?) signature for myself shortly. Have fun, Darren
Re: How to edit postscript?
Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. You can then achieve your censoring effect by changing the background colour of the text to black while still in LyX (though of course this wouldn't work if you're distributing the .ps file rather than a printout, since anyone with a text editor could read the file directly). The only workaround I could think of in that case would be to convert it into some impenetrable binary format (even PDF is convertable to text, though the average non-UNIX, non-DTP professional probably won't know this). The problem with editing the .ps file is that unless you use a fixed-width font, it's virtually impossible to calculate the exact length of your blank. I said virtually - it depends on how much of yur life you want to spend learning PostScript. Robin -- A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind. - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: How to edit postscript?
On Tue, Oct 29, 2002 at 06:19:48AM +1030, Darren Freeman wrote: Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? Perhaps Adobe Illustrator can read/write arbitrary Postscript. Also pstoedit can convert from Postscript to other editable formats. But perhaps the best option is to put the text you want to omit inside \hidetext{} command, and add to the preamble \usepackage{soul,texpower} %\newcommand{\hidetext}[1]{#1} If you do want to show the hidden text, add a % before the first line, and remove the % before the 2nd one.
Re: How to edit postscript?
On Tue, 2002-10-29 at 08:15, Dekel Tsur wrote: On Tue, Oct 29, 2002 at 06:19:48AM +1030, Darren Freeman wrote: Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? Perhaps Adobe Illustrator can read/write arbitrary Postscript. Also pstoedit can convert from Postscript to other editable formats. Don't have it =( But perhaps the best option is to put the text you want to omit inside \hidetext{} command, and add to the preamble \usepackage{soul,texpower} %\newcommand{\hidetext}[1]{#1} Does that cause the hidden text to take up the same amount of space, or would formatting be altered by hiding it? Also would I need to go and look for that package or is it pretty much standard? If you do want to show the hidden text, add a % before the first line, and remove the % before the 2nd one. I'll try it later.. thanks Have fun, Darren
Re: How to edit postscript?
On Tue, 2002-10-29 at 09:04, Robin Turner wrote: Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. You can then achieve your censoring effect by changing the background colour of the text to black while still in LyX (though of course this wouldn't work if you're distributing the .ps file rather than a printout, since anyone with a text editor could read the file directly). Good idea, at the minimum I need the printout in a *hurry* to have it bound. The rest I can sit on if need be =) Robin Thanks
How to edit postscript?
Dear list, I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. I figure this is possible in ps, just subtract text and add box objects - but I have no idea how to do it. Are there any editors I can get my hands on that will do that? Thanks heaps! Have fun, Darren Freeman
Re: How to edit postscript?
On Monday 28 October 2002 1349 pm, Darren Freeman wrote: > I have a document that is confidential, and I will export it when > finished into postscript. > > I would then like to take the postscript and either put black boxes over > the confidential stuff or remove it. But what remains must be > pixel-accurate compared to the uncencored version - if possible. > The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. -- L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Re: How to edit postscript?
On Tue, 2002-10-29 at 06:57, Les Denham wrote: > On Monday 28 October 2002 1349 pm, Darren Freeman wrote: > > > I have a document that is confidential, and I will export it when > > finished into postscript. > > > > I would then like to take the postscript and either put black boxes over > > the confidential stuff or remove it. But what remains must be > > pixel-accurate compared to the uncencored version - if possible. > > > The Gimp -- but it would be rather fiddly if you have a lot of black boxes to > put in. Yes it would, and it wouldn't be something you could throw at a printer and get optimal resolution etc. Plus storing it would suck =) I'd have to carry it on CD if I rendered to 600 dpi times 60 pages =) What I really want is to edit the PS file itself, and save as PS without the text that was covered up - then I could post the result on the Web without people accessing the hidden text from the PS. It seems like such a simple request, too! I mean, I've seen people edit PS by hand to move things in figures, but never to the scale I'm talking about. But it should be possible... > L. R. Denham > -- > Please avoid sending me Word or PowerPoint attachments. > See http://www.fsf.org/philosophy/no-word-attachments.html > BTW I read the link in your signature, and I agree. I'll make a similar (identical?) signature for myself shortly. Have fun, Darren
Re: How to edit postscript?
Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. You can then achieve your censoring effect by changing the background colour of the text to black while still in LyX (though of course this wouldn't work if you're distributing the .ps file rather than a printout, since anyone with a text editor could read the file directly). The only workaround I could think of in that case would be to convert it into some impenetrable binary format (even PDF is convertable to text, though the average non-UNIX, non-DTP professional probably won't know this). The problem with editing the .ps file is that unless you use a fixed-width font, it's virtually impossible to calculate the exact length of your blank. I said "virtually" - it depends on how much of yur life you want to spend learning PostScript. Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: How to edit postscript?
On Tue, Oct 29, 2002 at 06:19:48AM +1030, Darren Freeman wrote: > Dear list, > > I have a document that is confidential, and I will export it when > finished into postscript. > > I would then like to take the postscript and either put black boxes over > the confidential stuff or remove it. But what remains must be > pixel-accurate compared to the uncencored version - if possible. > > I figure this is possible in ps, just subtract text and add box objects > - but I have no idea how to do it. > > Are there any editors I can get my hands on that will do that? Perhaps Adobe Illustrator can read/write arbitrary Postscript. Also pstoedit can convert from Postscript to other editable formats. But perhaps the best option is to put the text you want to omit inside \hidetext{} command, and add to the preamble \usepackage{soul,texpower} %\newcommand{\hidetext}[1]{#1} If you do want to show the hidden text, add a % before the first line, and remove the % before the 2nd one.
Re: How to edit postscript?
On Tue, 2002-10-29 at 08:15, Dekel Tsur wrote: > On Tue, Oct 29, 2002 at 06:19:48AM +1030, Darren Freeman wrote: > > Dear list, > > > > I have a document that is confidential, and I will export it when > > finished into postscript. > > > > I would then like to take the postscript and either put black boxes over > > the confidential stuff or remove it. But what remains must be > > pixel-accurate compared to the uncencored version - if possible. > > > > I figure this is possible in ps, just subtract text and add box objects > > - but I have no idea how to do it. > > > > Are there any editors I can get my hands on that will do that? > > Perhaps Adobe Illustrator can read/write arbitrary Postscript. > Also pstoedit can convert from Postscript to other editable formats. Don't have it =( > But perhaps the best option is to put the text you want to omit inside > \hidetext{} command, and add to the preamble > \usepackage{soul,texpower} > %\newcommand{\hidetext}[1]{#1} Does that cause the hidden text to take up the same amount of space, or would formatting be altered by hiding it? Also would I need to go and look for that package or is it pretty much standard? > If you do want to show the hidden text, add a % before the first line, and > remove the % before the 2nd one. I'll try it later.. thanks Have fun, Darren
Re: How to edit postscript?
On Tue, 2002-10-29 at 09:04, Robin Turner wrote: > Les Denham wrote: > > On Monday 28 October 2002 1349 pm, Darren Freeman wrote: > > > > > >>I have a document that is confidential, and I will export it when > >>finished into postscript. > >> > >>I would then like to take the postscript and either put black boxes over > >>the confidential stuff or remove it. But what remains must be > >>pixel-accurate compared to the uncencored version - if possible. > >> > > > > The Gimp -- but it would be rather fiddly if you have a lot of black boxes to > > put in. > > You can then achieve your censoring effect by changing the background > colour of the text to black while still in LyX (though of course this > wouldn't work if you're distributing the .ps file rather than a > printout, since anyone with a text editor could read the file directly). Good idea, at the minimum I need the printout in a *hurry* to have it bound. The rest I can sit on if need be =) > Robin Thanks