Date: Sun, 20 Aug 2017 19:52:52 +0200 From: Polytropon <freebsd@edvax.de> To: Antonio Olivares <olivares14031@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Imposing a pdf/postscript on top of another one Message-ID: <20170820195252.51ddf82b.freebsd@edvax.de> In-Reply-To: <CAJ5UdcNUfUqNRGNrmE8cYrd3-uqSLbQRqXmdy094gk7rWaWOeA@mail.gmail.com> References: <CAJ5UdcNUfUqNRGNrmE8cYrd3-uqSLbQRqXmdy094gk7rWaWOeA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Aug 2017 11:41:59 -0500, Antonio Olivares wrote: > Dear FreeBSD users, > > Using only commands like psmerge, psnup, from psutils and a customized > script with awk or sed is it possible to force a picture created using > gnuplot as the background and impose a ps/pdf document created by tex/latex > on top of it. No other packages/programs like background package in latex, > or pdftk, are available. It is an old machine that is offline running > 8.3-RELEASE amd64. > The command psmerge does not work correctly. The files can be combined > using ghostscript, but my goal is to use a graph from gnuplot output to > postscript not eps, then process a tex file and output it to postscript > with dvips. After this is done have a script that sets the postscript file > from gnuplot as the background and puts the one created by dvips on top of > that one. The postscript from gnuplot is fixed with fixbb and removes > unnessary space, the other file postscript file is in letter format. > Ideas, suggestions, advice are appreciated. I think what you're describing is a good task for pdftk. You just need to provide the components to overlay in PDF format, which is not a problem with pdflatex and ps2pdf or convert (from ImageMagick) for the GNUplot output. See "man pdftk" for the "background" keyword. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170820195252.51ddf82b.freebsd>