delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/04/07:31:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=JyLMU7slFLZ9G5wJYjYJkcs/ACgHcY6coSl6aSReqPr
wu35rql/mLvEubNWgSpv0BAv2/E1fZRrgmofjh2awsTBkF1G8s1q+6oZ7350K2QG
XwZGI+h8OrqJzjbZPycjzO6DJDybIfcIc+KuVY2S82PaeZ62WwFdqERQUyq0bbU8
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=HH5g997EZqcTGjFelbcN6F6ic/Q=; b=K8tk3iVDovgHgBBAy
+hGIZC2UJhl3D1WqF58DYx4tlyvXBYbd5kVLM5f+nGdBgc+rzSeNKLy0QsvVdzu0
0+84t/BZYeSGCuYIqWvxdXKub4ZO1D98uzhThgDKNbiqp5WYdKcIsLsu8hoIFSay
8J7S9TgPH2Imx6f8frCyw1ztdM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <548053F8.8090801@cornell.edu>
Date: Thu, 04 Dec 2014 07:30:48 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: pdfnup ignores ~/.pdfjam.conf
References: <loom DOT 20141204T000104-319 AT post DOT gmane DOT org>
In-Reply-To: <loom.20141204T000104-319@post.gmane.org>
X-IsSubscribed: yes

On 12/3/2014 6:01 PM, Paul wrote:
> I'm using pdfjam that comes with 64-bit cygwin's
> texlive-collection-binextra package, dated 29 May 2013.  I have the
> following in my ~/.pdfjam.conf:
>
>     paper='letterpaper'
>     nup='1x2'
>     landscape='landscape'
>     frame='true'
>
> I invoke pdfjam using
>
>     pdfnup filename.pdf
>
> and the messages show that the ~/.pdfjam.conf is being read, as are
> the switches therein.
>
>    pdfjam: This is pdfjam version 2.08.
>    pdfjam: Reading any site-wide or user-specific defaults...
>                ##
>                ## From /home/User.Name/.pdfjam.conf:
>                ##
>                paper='letterpaper'
>                nup='1x2'
>                landscape='landscape'
>                frame='true'
>    pdfjam: Effective call for this run of pdfjam:
>            /bin/pdfjam --suffix nup --nup '2x1'
>               --landscape -- filename.pdf -
>    pdfjam: Calling pdflatex...
>    pdfjam: Finished.  Output was to
>               '/home/User.Name/tmp/filename-nup.pdf'.
>
> The "Effective call" above shows that ~/.pdfjam.conf is being ignored,
> even though the switch settings are being read.  The output confirms
> this.  However, if I specify the switch settings in the pdfnup
> statement itself, they are accepted.

I've never used pdfnup, but it's a shell script whose last line is

   exec pdfjam --suffix nup --nup 2x1 --landscape "$@"

So it's explicitly supplying options that will override the settings in 
~/.pdfjam.conf.  This is consistent with the documentation for pdfnup.  The 
latter doesn't mention ~/.pdfjam.conf; it says to supply command line options to 
override the defaults.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019