Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3578 > unrolled thread
| Started by | raonath@gmail.com |
|---|---|
| First post | 2017-03-17 07:48 -0700 |
| Last post | 2017-03-17 09:19 -0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
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
| From | raonath@gmail.com |
|---|---|
| Date | 2017-03-17 07:48 -0700 |
| Subject | Supress page group (/Group) from pdf output |
| Message-ID | <b1bf2d07-5643-45dd-9ca7-8df7d7229162@googlegroups.com> |
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?
Thanks in advance
Nath Rao
[toc] | [next] | [standalone]
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Date | 2017-03-17 09:19 -0700 |
| Message-ID | <oah258$khp$1@dont-email.me> |
| In reply to | #3578 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web