From owner-freebsd-questions@freebsd.org Sun Aug 20 16:42:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C65EDDDEC26 for ; Sun, 20 Aug 2017 16:42:01 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8108E6B01F for ; Sun, 20 Aug 2017 16:42:01 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x22d.google.com with SMTP id k12so3206217uag.3 for ; Sun, 20 Aug 2017 09:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8YlWt6Dp3+aaypsdbMBcVbR9SuhH0Zkv0MzLeQrpM9w=; b=hORf9G7/kPXvJ++RgZvTH3lQferFXoZ2XxtWHeZomUaC0/fSRNvSe/li+eKQR04Ot3 llUsy8aECwm3awRwwA9wQ1a1aIzPj7BSdfZAsXBDPs/5FtzkXYWLUT4PWgVaehwT8/P4 OkcdaFs7tVJhbmmhrJ4AYBAB2bngGXA2d9HrqqWoZebuCnUPjjsWr5V3bfa/NmysFzUK sc0OtQJfgfh9kY53BBBsj5QDd+WUOmajrwgF38Yj5mn4ISZEqorY+lONqueHn/1r+J82 gOMruo08cbtj4Bq9fbGIelbpO1rEzZ12UQkO5GsDk5j6uHcqpodS2gwu/ylV6TW3idb9 ksiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8YlWt6Dp3+aaypsdbMBcVbR9SuhH0Zkv0MzLeQrpM9w=; b=bQgQvBhVZVpZj+3AQ2SCEFoAAcg1L0N29hwn6hNeqrGAjBoe8qMxAp8dM0EyAXejw1 /MWnySdzhPjQOYOypAcY43SdJzIgyrXkUJG2FTimS98H6CsCBjivXCKH89CgNGbqYRUG 66tpCiY/Z2MgZEqjfqM4cGGNuGlJcrPCDhGqcUGq28LLNChUJhodJh1STdhwGPfSqetv g3U4clEfkwwVxKi9RUirpOIOYLwTVESaLktA5X0cFJKnKCzxEFG0cF5NNMlZtkv7QUVs BSxeNkrsPSlG3SKGOr15dHXHP/W+AIndL21E3Rh1IujxSvINoyakeryGiU/XVcdqjlws qqcA== X-Gm-Message-State: AHYfb5h2DfR73vMMCSt2iHDaMRPwIbZjJQ14c5qwEH9YHbKqvZqlZIVa Qmrrs1FLIgpafeP9SYAMhiEMX/zVlQ== X-Received: by 10.159.57.82 with SMTP id i18mr928208uag.98.1503247320174; Sun, 20 Aug 2017 09:42:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.33.199 with HTTP; Sun, 20 Aug 2017 09:41:59 -0700 (PDT) From: Antonio Olivares Date: Sun, 20 Aug 2017 11:41:59 -0500 Message-ID: Subject: Imposing a pdf/postscript on top of another one To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 16:42:01 -0000 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. Best Regards, Antonio