Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3618
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Wed, 27 Jan 2021 11:12:09 -0600 |
| From | ken <ken@spamcop.net> |
| Newsgroups | comp.lang.postscript, comp.text.tex |
| Subject | Re: convert this PostScript file to one which works with \includegraphics |
| Date | Wed, 27 Jan 2021 17:12:09 -0000 |
| Message-ID | <MPG.3a7baf409d5043ef9898c3@usenet.plus.net> (permalink) |
| References | <rupulf$11ao$1@gioia.aioe.org> <MPG.3a7b2d8488376b989898c2@usenet.plus.net> <rur9m2$jlb$1@gioia.aioe.org> |
| Reply-To | ken@spamcop.net |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="us-ascii" |
| Content-Transfer-Encoding | 7bit |
| User-Agent | MicroPlanet-Gravity/3.0.4 |
| X-Antivirus | Avast (VPS 210126-16, 26/01/2021), Outbound message |
| X-Antivirus-Status | Clean |
| Lines | 30 |
| X-Usenet-Provider | http://www.giganews.com |
| X-Trace | sv3-VqIYMPu3BBrCR3oskOHtp2dLbEj74UFd3YF66NpcZhlplBXDjaqj65s81aAMFXp6XUUxdk0cSgEvkCS!VAvpR5iDy3NRCveeL3cIp9p3l4+eKI1/RGaioSGqgUQP/0atAzherYcNZQgHCJdvTTXwXDhjxZl8!6U1s+S0bWfi5+N0= |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2471 |
| Xref | csiph.com comp.lang.postscript:3618 comp.text.tex:35336 |
Cross-posted to 2 groups.
Show key headers only | View raw
In article <rur9m2$jlb$1@gioia.aioe.org>,
helbig@asclothestro.multivax.de says...
> I admit that I don't fully understand when showpage is needed and when
> not. Certainly \includegraphics does display some PostScript files with
> the showpage command.
showpage 'shows' the page, transfers the accumulated marking operations
to the output device and erases the canvas ready for the next page.
It is possible in PostScript to define a 'showpage' procedure (and any
other operator) which will be used instead of the built-in operator, if
the lookup is managed properly.
/showpage {} bind def
defines a function called showpage in the current dictionary which does
nothing. As long as this dictionary is ahead of systemdict on the
dictionary stack, then that's the definition of showpage which will be
used. It's not an uncommon approach.
In your case, simply remove the line with 'showpage' in it from the
output PostScript file. It will still be a crappy level 1 PostScript
program, but it at least won't reset the page for you.
Provided you are placing it within another PostScript program (which is
what EPS files are for) then the enclosing program's showpage will show
the accumulated operations.
Ken
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar
convert this PostScript file to one which works with \includegraphics helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) - 2021-01-26 20:39 +0000
Re: convert this PostScript file to one which works with \includegraphics Peter Flynn <peter@silmaril.ie> - 2021-01-26 22:33 +0000
Re: convert this PostScript file to one which works with \includegraphics ken <ken@spamcop.net> - 2021-01-27 07:58 +0000
Re: convert this PostScript file to one which works with \includegraphics helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) - 2021-01-27 08:53 +0000
Re: convert this PostScript file to one which works with \includegraphics ken <ken@spamcop.net> - 2021-01-27 17:12 +0000
Re: convert this PostScript file to one which works with \includegraphics Scott Pakin <scott+ctt@pakin.org> - 2021-01-28 14:07 -0700
Re: convert this PostScript file to one which works with \includegraphics helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) - 2021-01-29 12:45 +0000
Re: convert this PostScript file to one which works with \includegraphics "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2021-01-27 11:53 -0800
Re: convert this PostScript file to one which works with \includegraphics Dr Eberhard W Lisse <nospam@lisse.NA> - 2021-01-30 16:15 +0200
Re: convert this PostScript file to one which works with \includegraphics helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) - 2021-01-30 20:28 +0000
Re: convert this PostScript file to one which works with \includegraphics Dr Eberhard W Lisse <nospam@lisse.NA> - 2021-01-31 16:07 +0200
csiph-web