Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3579
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ethan A Merritt <EAMerritt@gmail.com> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Supress page group (/Group) from pdf output |
| Date | Fri, 17 Mar 2017 09:19:28 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 41 |
| Message-ID | <oah258$khp$1@dont-email.me> (permalink) |
| References | <b1bf2d07-5643-45dd-9ca7-8df7d7229162@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| Injection-Date | Fri, 17 Mar 2017 16:16:40 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="16ba0070ecfd7fb464fd6f8dcb97f3a4"; logging-data="21049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183dUPw/Aw/RicWnJGjgSeD" |
| User-Agent | KNode/4.14.5 |
| Cancel-Lock | sha1:fPU5fr7Q/9rqFWB38u1bGoKqlU0= |
| Xref | csiph.com comp.graphics.apps.gnuplot:3579 |
Show key headers only | View raw
raonath@gmail.com wrote:
> Occasionally I use gnuplot to produce pdf files for inclusion into
> pdftex. Recently, I found out (from a pdftex warning) that gnuplot
> puts a page group in the pdfs it produces. This could potentially a
> problem if more than one such pdf is included in the same page of the
> final pdf file. Is there a way to get gnuplot to produce includable
> pdf files? [I suppose that I could generate eps or metapost, but that
> seems too roundabout.]
>
> The only place where the /Group directive appears seems to be here:
> /Group <<
> /Type /Group
> /S /Transparency
> /CS /DeviceRGB
> >>
> Are there any gnuplot settings that would make these unnecessary?
Inclusion of gnuplot pdf output in tex/latex documents has always
worked for me, barring some issues with UTF-8 character encoding.
One thing you need to realize is that gnuplot does not produce
line-by-line pdf output. Instead it requests conversion of the
entire internal graphics representation into pdf by calling an
external high-level library. E.g. the entire operation of saving
the current plot as a pdf file from gnuplot's wxt terminal boils down
to a single call:
surface = cairo_pdf_surface_create(
fullpathFilename.mb_str(wxConvUTF8),
panel->plot.device_xmax, panel->plot.device_ymax);
You might find relevant information in the documentation for the
relevant libraries (libcairo for output from gnuplot's wxt or
pdfcairo terminals, Qt for output from the qt terminal).
Ethan
>
> Thanks in advance
> Nath Rao
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Supress page group (/Group) from pdf output raonath@gmail.com - 2017-03-17 07:48 -0700 Re: Supress page group (/Group) from pdf output Ethan A Merritt <EAMerritt@gmail.com> - 2017-03-17 09:19 -0700
csiph-web