delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/03/22/20:31:01

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=content-transfer-encoding:content-type
:date:from:in-reply-to:message-id:mime-version:references
:reply-to:subject:to:x-me-proxy:x-me-proxy:x-me-sender
:x-me-sender:x-sasl-enc; s=fm2; bh=3yzKpFK+GpCkw81PiQJd784zZp22a
WJ70gVV6rekGOQ=; b=LV7nxOJ2U0hrXzO+N88KAq7kKw4wcJ2n0/h0//hGC7QtZ
+lWKM3mRGAua8Q04cE6542IFjj8dH3Ts9yMffcNeqGD8jZqptnhHENwTZheINRUy
Z3UuDB0TvLNhgjbcT0KBQlQ2PwB4BsEL36ddT5/F5hv3Bj83iwOxSBgQPFVqGkrm
RY+/q+9eaGKy+fKzXOHFCJZYNtT/Mq/t5NUJ3bPgckddWkyLn71VMsbpMhQ85fhB
DaO2L1C8QcdHEbBjOxLjFhBTA91Ry62Q66ilnmOz9uqw1tbTG0VsjU64JOQsDuC2
3tzX8R404MEfHAYTDS3B+7rFzZPJaBwIN1Fz93axg==
X-ME-Sender: <xms:bTZZYHFb7mu2RJzJiY5bgpvuz2Geqg-G5M_Lq7gMNktZoqUaNUf9Qg>
<xme:bTZZYAekcr0eW-CougmNot1UTPgHaOQYS9MxEPiwvYO7kJ4BqWAb5Tapo16Bz1JlT
EqdzddHKtk_-04IBQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeghedgvdegucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
uceurghilhhouhhtmecufedttdenucenucfjughrpehruffvfhfhkffffgggjggtgfesth
ekredttdefjeenucfhrhhomhepifhirhhvihhnucfjvghrrhcuoehghhgvrhhrlhesfhgr
shhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeegudfhhfelleelffegjedtff
dvleegvefhfeeigeekfefhvdejkedtgeelieeufeenucfkphepuddtkedrvdduhedrudel
hedrvddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh
hmpehghhgvrhhrlhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:bTZZYE9t7Bmsg7z_VWbIH_HReIAXWLNt_r2V_gcQAIr_Am5-y5S-7g>
<xmx:bTZZYOYfEE7ujICcPU1fFElnJZ9IbPyLc-5kGutQtm62vtDbRMf4og>
<xmx:bTZZYNfpjJJ-wuHMyBadT0ZAqu-6wZLMQLwML67YjhWiIgod2mT4tQ>
<xmx:bTZZYC9XZvgx-fqd4rleYOWBE-MnBSE_ngWpJ6HA_xAfIX4PzOmceQ>
Subject: Re: [geda-user] gaf export --layout does not allow an argument
To: geda-user AT delorie DOT com
References: <fd1877c7-62c0-d644-5fe2-8a87ce0179f7 AT fastmail DOT com>
<563cd890-f025-6cd5-2b09-73dabe4be742 AT epilitimus DOT com>
From: "Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <25711910-b869-e153-829d-dac2f05bbfc7@fastmail.com>
Date: Mon, 22 Mar 2021 17:30:34 -0700
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101
Thunderbird/68.12.0
MIME-Version: 1.0
In-Reply-To: <563cd890-f025-6cd5-2b09-73dabe4be742@epilitimus.com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Glenn,

Thanks for the quick reply and the work-around. It works.

Take care.
Girvin


On 3/22/21 2:59 PM, Glenn (glimrick AT epilitimus DOT com) [via 
geda-user AT delorie DOT com] wrote:
> Confirmed it is a bug.
> line 890 of gaf/export,c should read:   {"layout", required_argument,
> NULL, 'l'},
>
> The short version doesn't have the problem.
>
> Girvin: until it is fixed use -l instead of --layout
> Glenn
>
> Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com] wrote:
>> Greetings,
>>
>> gaf version 1.10.2 (g5a69d90) under Slackware Linux 14.2 (32-bit
>> k4.4.240).
>>
>> I am using "gaf export" as one step to convert some of my .sch files
>> to dxf for qcad. The B-size (11x17) option in my script produces a
>> portrait output when I need landscape, so I tried using
>> "--layout=landscape" as an argument to "gaf export" but it responds
>> with an error:
>>
>>      export: option '--layout' doesn't allow an argument
>>
>> The help ("gaf export --help") says:
>>
>>        -l, --layout=ORIENT    page orientation
>>
>> The gaf manpage says:
>>
>>         -l, --layout=(auto | landscape | portrait)
>>                 When  using  a paper size, set the orientation of the
>> output.  If `auto' layout is
>>                 used, the orientation that best fits the drawing will
>> be used.
>>
>> Bug? Is this argument position dependent? I have it at the end of the
>> arguments, just before the input file spec. Here is my script line for
>> gaf:
>>
>> PSIZE="na_ledger"
>>
>> PLAYOUT="--layout=landscape"
>>
>> gaf export -o ${TEMPFILE} -f ps --paper=${PSIZE} --no-color ${PLAYOUT}
>> ${INFILE} || exit
>>
>> To be complete, gaf is converting to PostScript and that file is
>> subsequently input to pstoedit to convert the PostScript file to dxf.
>>
>> Thanks.
>> Girvin
>>
>>
>>

- Raw text -


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